Reorder and Rename payment methods on draft orders

RevitalTrax
New Member
1 0 0

Hi all, 

I am working with a bundles app, which creates draft orders. Due to this, my rename & reorder payment gateways script in the script editor app, is not working, because they don't execute on draft orders. Do you maybe have a workaround?

Thanks!

0 Likes
achieveapplabs
Shopify Partner
470 36 74

Hi @RevitalTrax ,


Welcome to the community! Workaround is subscribe to DraftOrders webhooks draft_orders/createdraft_orders/update

An app can receive and respond to DraftOrders webhooks. You can manipulate the order at that point. 

Best,

Achieve Team

Install Approovly to create and track order approvals | We want to hear from you hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | Custom Shopify Apps achieveapplabs.com