Skip to content

Latest commit

 

History

History
 
 

capture-all-authorized-payments

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Capture all authorized payments

Tags: Payment

This task will scan for all orders that have a financial status of "authorized", and will capture payment for them. This task can be scheduled to run daily, and can be run on demand.

Default options

{
  "include_partially_paid_orders__boolean": false,
  "run_daily__boolean": false,
  "hours_to_wait_after_midnight_when_running_daily__number": null
}

Learn about task options in Mechanic

Subscriptions

{% if options.run_daily__boolean %}mechanic/scheduler/daily{% if options.hours_to_wait_after_midnight_when_running_daily__number %}+{{ options.hours_to_wait_after_midnight_when_running_daily__number | times: 60 | round }}.minutes{% endif %}{% endif %}
mechanic/user/trigger

Learn about event subscriptions in Mechanic

Documentation

This task will scan for all orders that have a financial status of "authorized", and will capture payment for them. This task can be scheduled to run daily, and can be run on demand.

This task will scan for all orders that have a financial status of "authorized", and will capture payment for them. Enable "Run daily" to perform this every day at midnight, or use the "Run task" button to perform this scan on demand.

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!