Skip to content

Send TaxCloud capture on invoice pay instead of order place#18

Open
azane-code wants to merge 3 commits intomasterfrom
DEV-6955/capture-on-invoice-pay
Open

Send TaxCloud capture on invoice pay instead of order place#18
azane-code wants to merge 3 commits intomasterfrom
DEV-6955/capture-on-invoice-pay

Conversation

@azane-code
Copy link
Contributor

@azane-code azane-code commented Feb 25, 2026

Added configurable "When to send order to TaxCloud" setting

  • Added admin option: On order creation, On payment, or On shipment (default: On order creation).
  • Registered observer for sales_order_place_after, sales_order_invoice_pay, and sales_order_shipment_save_after; run authorizeCapture only when the current event matches the selected option.
  • Added Model/Config/Source/CaptureTrigger and default in etc/config.xml.
  • Only send on first invoice pay or first shipment when those options are selected.
  • Update README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants