Skip to content

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

Merged
azane-code merged 4 commits intomasterfrom
DEV-6955/capture-on-invoice-pay
Mar 6, 2026
Merged

Send TaxCloud capture on invoice pay instead of order place#18
azane-code merged 4 commits intomasterfrom
DEV-6955/capture-on-invoice-pay

Conversation

@azane-code
Copy link
Copy Markdown
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

@azane-code azane-code force-pushed the DEV-6955/capture-on-invoice-pay branch from 137d6c1 to 47f6442 Compare March 6, 2026 20:05
@azane-code azane-code merged commit a7f0ced into master Mar 6, 2026
4 of 7 checks passed
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.

3 participants