Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

How to get order number from payment request

How to get order number from payment request

K_M2
Visitor
2 0 5

In the data sent as part of payment processing (https://shopify.dev/apps/payments/processing-a-payment), the order number is not included. 

 

Is there any way to obtain the order number for a payment request, before processing the payment. Seems quite an omission to make in the data, and for that to be missing seems like it was a deliberate decision.

 

This means it's impossible to show the order number in the transaction information in the payment gateway reports, and makes any form of reconciliation between systems for the merchant a lot harder than it should be.

 

Reply 1 (1)

jakejaylee123
Shopify Partner
3 0 2

Agreed. The gateway of the payment app I am developing actually requires the order number, so that's kind of going to be an issue. The authorization requests for the gateway also make use of promotion codes that depend on what items the user ordered too, so that would also be a problem. 😞

 

Hopefully there is a good reason behind this...