Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Tracking paid Draft Order

Solved

Tracking paid Draft Order

xavier-redcod
Shopify Partner
33 1 2

Hey everyone!

We have a Shopify app helping merchants to create discounts.

To be able to apply discounts at checkout, we use draft orders.

To track the usage of the discounts, we need to link paid orders to the original draft orders.

Until now, we did this using the orders/paid webhook and the field "landing_site", which contained the invoice id of the draft order. But it seems that, for a few weeks, this field doesn't contain the invoice id anymore.

 

Is there another solution to link paid orders to their original draft order?

Accepted Solution (1)

gr_trading
Shopify Partner
1943 145 203

This is an accepted solution.

Hi @xavier-redcod 

 

You can pass your invoice value in note_attribute [cart attribute].

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee

View solution in original post

Replies 2 (2)

gr_trading
Shopify Partner
1943 145 203

This is an accepted solution.

Hi @xavier-redcod 

 

You can pass your invoice value in note_attribute [cart attribute].

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
xavier-redcod
Shopify Partner
33 1 2

 Hey, thanks for the advice! I had tried with the metadata but they were not added to the order. With note_attribute it works 🎉

 

Thank you!