Payment properties on the order in 2023-04

development1
Shopify Partner
3 0 0

Hello,
due to the Shopify API changelog 2023-04, I see that these fields have been removed:

-gateway

-payment_details

-processing_method

Did Shopify provide any other resource to get these fields or any alternative to get these values in new APIs?
Thanks!

Replies 2 (2)
Liam
Shopify Staff
Shopify Staff
1882 199 574

Hi Development1,

 

While these fields are deprecated on the REST API, it's still possible to get payment details via the GraphQL API

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

development1
Shopify Partner
3 0 0

I found that gateway and payment_details are available in the transaction object. However, one order can be associated with up to 100 transactions. Can you share which transactions were associated with the order object until the deprecation of these fields?

photo_2023-11-20 12.17.14.jpeg