How can I retrieve the order number from the app?

AsiaPay
Shopify Partner
10 0 3

Hi,

 

Is there a way to get the order number from the app?

 

during payment, the id and gid received are below and is the id used when calling mutation PaymentSessionResolve:

id: "-fPpX3YQBqbl4nZV6wgG3qSo"

gid: "gid://shopify/PaymentSession/-fPpX3YQBqbl4nZV6wgG3qSo"

 

But on order details and email sent to customer it shows "#1005"

 

Order Details:

AsiaPay_0-1640685747125.png

 

 

Email Received by customer:

AsiaPay_1-1640685775160.png

 

And right now, the only way to relate the order number and the id is on the order details timeline:

AsiaPay_2-1640685853908.png

 

 

Regards,

Christian

 

Replies 7 (7)

KetanKumar
Shopify Partner
36854 3637 11976

@AsiaPay 

sorry for that issue 

can you please check this list its give you all object 

https://www.shopify.in/partners/shopify-cheat-sheet

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
AsiaPay
Shopify Partner
10 0 3

Hi, 

 

Is there a REST or GraphQL to get the order number?

 

Regards,

Christian

KetanKumar
Shopify Partner
36854 3637 11976

@AsiaPay 

you have fine customer order number or just order number object

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
adiputra22
Shopify Partner
7 0 1

hi @KetanKumar , that seem not order number or customer number. That number is payment session number. That number created partner setup payment app.

hi @AsiaPay let me know if solved this issue. I still have not sure how to get order from that payment session number.

Thank you

KetanKumar
Shopify Partner
36854 3637 11976

@adiputra22 

can you check all object here 

https://www.shopify.in/partners/shopify-cheat-sheet 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
barbashari
Shopify Partner
3 0 0

HI, IF I WANNA SEND TO SHOPIFY "PaymentSessionResolve" API , SOME INFORMATION FROM THE GATEWAY, HOW CAN I DO IT? THANKS.

 

צילום מסך 2022-12-25 125155.png

mtaiyab
Shopify Partner
1 0 1

Researching and Reading Documentation Carefully found a solution that could help to get the details.

After getting the payment Details Payload or Redirect Url, we will get and cart_id in the url 

checkouts/cn/c1-df7de58e9642a2ae286d10526b39a1/processing?completed=true"


Pass the ID in order Detail Url 
admin/api/2022-07/orders.json?cart_token=c1-df7de58e9642a2ae286d10526b39a1