Tags: Orders, Payment, Risk
This task runs when an order is created and captures any authorized transactions, based on the configured risk levels. Optionally choose to filter orders for capture by a tag.
- View in the task library: tasks.mechanic.dev/auto-capture-payments-when-an-order-is-created
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"minutes_to_wait_before_capturing__number": null,
"filter_orders_by_this_tag": null,
"capture_orders_with_a_high_risk_level__boolean": false,
"capture_orders_with_a_medium_risk_level__boolean": false,
"capture_orders_with_a_low_risk_level__boolean": true
}
Learn about task options in Mechanic
shopify/orders/create+{{ options.minutes_to_wait_before_capturing__number | at_least: 0 }}.minutes
Learn about event subscriptions in Mechanic
This task runs when an order is created and captures any authorized transactions, based on the configured risk levels. Optionally choose to filter orders for capture by a tag.
If you have additional apps or tasks informing an order's risk levels, increase the "Minutes to wait before capturing" to make sure they have time to contribute their data.
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!