Using Shopify Flow with Downpay
Downpay officially integrates with Shopify Flow to provide ways to automate workflows and actions such as partial payment collection, authorization, and other triggers.
Shopify Flow is generally available to all Shopify merchants, regardless of their plan.
On this page:
- Payment collection failure
- Payment collection success
- Payment authorization failure
- Payment authorization success
- Payment due in
- Downpay order created
- Collect remaining payment
- Authorize remaining payment
- Void authorization
- Update due date
- Add product to purchase option
- Add variant to purchase option
- Remove product from purchase option
- Remove variant from purchase option
Downpay Flow downloadable workflows
- Customer notifications
- Order management
- Payment collection
- Payment authorization
- Collect payment once tag has been added to an order
- Update due date based on event date
Downpay triggers
Downpay's triggers can be found in Shopify Flow when creating a new workflow under the Triggers menu.
Payment collection failure
The payment collection failure trigger can be used when collecting remaining payment and wanting to take action if payment fails. This trigger also contains a field that states the reason for the failure which can be used as a condition to have different actions based on the state.
Payment collection success
The payment collection success trigger can be used when collecting remaining payment and wanting to take action on payment collection success.
Payment authorization failure
The payment authorization failure trigger can be used to take action if payment authorization fails. This trigger also contains a field that states the reason for the failure which can be used as a condition to have different actions based on the state.
Payment authorization success
The payment authorization success trigger can be used to take action on payment authorization success.
Payment due in
Each order placed through Downpay has an associated due date for the remaining balance. Downpay comes with triggers for when orders are due. There are triggers for 24 hours, 48 hours, and 7 days before payments are due. These triggers, in addition to the default Payment Schedule is Due trigger, can be used to collect the remaining payment, or take another action depending on your use cases. For example, you could place a hold on a customer's card 48 hours before the order is due, and then fulfill the order knowing that payment is secured.
Downpay order created
The Downpay order created trigger starts Flows when an order is created that contains items using a Downpay purchase option.
Downpay actions
Collect remaining payment
This action will collect the remaining balance to the card on file on a Downpay processed order.
Authorize remaining payment
This action will authorize the remaining balance to the card on file on a Downpay processed order.
Authorization, also known as pre-authorization or a credit card hold, is an approval from the credit card issuer that confirms that the cardholder has sufficient funds to cover the cost of a transaction. The length of the authorization varies based on the payment provider and Shopify Plan. Learn more about authorization on Shopify.
Void authorization
This action voids an authorization on a Downpay order, ahead of it's expiry date.
Update order due date
This action changes the due date of an open Downpay order with a deferred balance remaining.
Add product to purchase option
This action adds a product to a purchase option.
Add variant to purchase option
This action adds a variant to a purchase option. The Variant ID can be added as a variable through Liquid code that outputs the ID, as well as by using the Flow variable picker.
Remove product from purchase option
This action removes a product from a purchase option.
Remove variant from purchase option
This action removes a variant from a purchase option. The Variant ID can be added as a variable through Liquid code that outputs the ID, as well as by using the Flow variable picker.
Downpay Flow downloadable workflows
Customer Notifications
Send an invoice to the customer if payment fails
Use the action Send invoice under Shopify to customize an invoice and let customers know payment has failed and that they should pay their remaining balance to avoid delays.
Recipient email address variable: {{order.customer.email}}
Sender email address variable: {{shop.email}}
Order number: {{order.name}}
Email customers before the remaining balance due date
If you want to remind customers to pay their order, or that you will be automatically collecting payment soon, use this flow. Their are several trigger options in Downpay including Payment due in 1, 2, or 7 days
Send payment reminder
. We recommend using Send order invoice
and adding a custom message. The Order invoice template can be customized in your Shopify notifications - customer notifications settings.Order management
Send an email to internal teams if payment collection fails
Use the action Send internal email under Shopify Flow to send an email to a staff member if payment collection fails.
Send an email to internal teams when order is fully paid
When using deposits as a layaway payment option for customers, an email can be sent to an internal team when the final payment has been made to begin fulfillment.
Release fulfillment hold when order is fully paid
When using deposit plans with Downpay with the Days after checkout due date type, orders will have an on hold status. A workflow can be created to check for fully paid status and automatically release the fulfillment holds in order to display Unfulfilled as an order's status.
Release fulfillment hold when order is created
When using deposit plans with Downpay with the Days after checkout due date type, orders will have an on hold status. If you are shipping products out before full payment is received, you can release the hold on fulfillments automatically with this flow. This is a useful workflow for using Downpay for try before you buy.
Payment collection
Collect payment on due date
This workflow uses the Shopify trigger Payment schedule is due
which is the date listed on the order payment details card.
Collect payment on fulfillment
This workflow uses the Order fulfill
trigger and the Collect payment
Downpay action.
Send payment reminder with invoice 7 days before due date, then 1 day before due date, then collect payment on due date
Send payment reminder with invoice then automatically collect payment 48 hours later
This workflow will trigger on releasing a fulfillment hold. This flow is only compatible with Downpay purchase options that use days after checkout
as the balance due date. It will then:
- Send a reminder to customers that you will be collecting payment automatically from their card on file in 2 days
- Wait 2 days
- Attempt a charge on the credit card on file for the order
Payment authorization
Authorize payment when order is created
This workflow will authorize the remaining balance when an order is created. This may be useful for brand who ship products before collecting full payment, for example as a trial.
Void authorization
This workflow voids authorization on orders tagged with void
.
- This workflow runs once a day and looks at the last 100 orders.
- The
trigger schedule
can be adjusted to suit the timing that works for you. - The
Get order data
query can be adjusted for a different tag name or you can use it for specific orders with the query name:ordernumber (ex: name:1104)
Collect payment once tag has been added to an order
This workflow will collect payment once a tag has been added to an order.
For example, using Proofer app for sending your customers a proof before buying will append a tag to the existing order.
In this particular scenario, Flow is checking for a tag named "proof_accepted" which indicates that the customer has accepted the proof.
After that, it will attempt to collect the remaining balance.
One thing to note is that it is using the Wait block which will wait 1 day before collecting the payment since we do not know when exactly the customer will accept the proof.
If the customer does not accept it within 24 hours, an email will be sent indicating that the proof has not been accepted yet.
You can put different email title and body and adapt a real email address to which you want to receive the email to.
Update due date based on event date
This flow looks at the tags on an order—specifically for one that starts with "Due Date:" (for example, "Due Date: 2025-06-14"). The event date tag is currently being set through Zapier for every Downpay order upon creation. Once it finds that, it calculates a new date that’s 21 days earlier. This is helpful if you want to trigger something like production, fulfillment prep, or a reminder three weeks before the order is due. If the due date tag isn’t there or isn’t formatted correctly, the system will return an error message so you know what’s missing.
This code can be updated up to your requirements and needs.
Updated on: 23/06/2025
Thank you!