Tags: Payment, Shipping
This task auto-captures payment if the customer has selected a certain shipping method. Useful for expedited order fulfillments.
- View in the task library: tasks.mechanic.dev/auto-capture-order-payment-based-on-shipping-method
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"allowed_shipping_methods__required_array": []
}
Learn about task options in Mechanic
shopify/orders/create
Learn about event subscriptions in Mechanic
This task auto-captures payment if the customer has selected a certain shipping method. Useful for expedited order fulfillments.
To use this task, populate the "Allowed shipping methods" list with shipping method titles (e.g. "Economy"). In Shopify, shipping method titles are configured as "rates"; you can find yours by navigating to Settings > Shipping and delivery, and then looking at the rates within each shipping zone.
For expected results, be sure to enable "Manually capture payment for orders" in Shopify, using this guide.
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!