Tags: Fulfillment, Payment
Upon the fulfillment of an authorized or partially paid order, this task attempts to capture all open authorized payments for that order. (Multiple authorizations can exist on edited orders or with post-purchase upsells.)
- View in the task library: tasks.mechanic.dev/capture-order-payment-upon-fulfillment
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
shopify/orders/fulfilled
Learn about event subscriptions in Mechanic
Upon the fulfillment of an authorized or partially paid order, this task attempts to capture all open authorized payments for that order. (Multiple authorizations can exist on edited orders or with post-purchase upsells.)
If any items are removed from the order before fulfillment, then this task will reduce the amount captured by the subtotal of the removed line items (including their discounts and taxes, as calculated by Shopify). It will not reduce any shipping costs on the order.
For expected results, be sure to enable "Manually capture payment for orders" in Shopify, using this guide.
Please note: You are responsible for ensuring that fulfillment occurs within the order payment's authorization period.
Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!