Custom payment gateway - Set to Pending + Draft orders?

ravvv
Shopify Partner
11 0 0

Hi we are using a custom payment gateway. However when the customer clicks 'Pay Now' it automatically adds an order in the backend and marks it as paid.

Since the user actually needs to complete a step on the thank you page we don't want to do this.

How can we mark the order as 'Pending' and should we be adding the order as a draft or live order?

Thanks!

Reply 1 (1)
ravvv
Shopify Partner
11 0 0

Should we use a different option other than manual payment method here? Or is there a setting in Shopify to determine original status of orders which we can later change via API?