Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

shopify_payments receiptJson in cents

sasha17
New Member
5 0 0

Hi, I noticed that GraphQL receiptJson data for shopify_payments are in cents unlike for other payment methods. Is there any way to change them to euros? Or change other payment method receipts to cents? So we have all receipts in the same units

Reply 1 (1)

Liam
Shopify Staff
2677 288 734

Hi Sasha,

 

Unfortunately, there is no built-in way to directly change the units of the receiptJson data in GraphQL responses or to standardize all receipts to a specific unit like euros within the API itself. If you want to standardize everything to euros, you would need to convert the payment amount from cents to euros within your own app.

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