Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Auto-tag new orders based on payment method

Tags: Auto-Tag, Orders, Payment

This task checks the payment gateways for new orders immediately upon order creation, and tags the order accordingly.

Default options

{
  "payment_gateway_names_and_tags__keyval_required": null,
  "run_when_orders_are_paid_instead_of_created__boolean": null
}

Learn about task options in Mechanic

Subscriptions

{% if options.run_when_orders_are_paid_instead_of_created__boolean %}
  shopify/orders/paid
{% else %}
  shopify/orders/create
{% endif %}

Learn about event subscriptions in Mechanic

Documentation

This task checks the payment gateways for new orders immediately upon order creation, and tags the order accordingly.

Configure the "Payment gateway names and tags" fields with the payment gateway name on the left, and the associated tag on the right.

Tip: to tag orders paid with a gift card, fill in "Payment gateway name" with "gift_card".

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!