Skip to content

Latest commit

 

History

History

auto-capture-payments-when-an-order-is-created

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Auto-capture payments when an order is created

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.

Default options

{
  "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

Subscriptions

shopify/orders/create+{{ options.minutes_to_wait_before_capturing__number | at_least: 0 }}.minutes

Learn about event subscriptions in Mechanic

Documentation

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.

Installing this task

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.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!