Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hi there,
In the Admin API /orders/#{order_id}/transactions.json, we can pass in_shop_currency=true to have it return amount in shop currency. Any one knows if it is possible to have the order_transactions/create webhook to send amount in shop currency?
Thanks
Sam
Hey @Zapfor_Apps,
Currently the orders_transaction webhook only sends amounts in the currency the transaction was actually processed in (presentment_currency). If you're looking for the amount in shop currency, have you considered using the tender_transactions/create webhook? If you're only interested in the webhook for reporting purposes, tender_transactions is recommended since it fires anytime a transaction is created where money changes hands, it uses shop currency, and it includes information for the related order in the payload.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi @_JB,
Unfortunately, I need other information available in OrderTransaction that are not available in TenderTransaction 😞
I notice the currency_exchange_adjustment field in OrderTransaction, is it possible to workout the transaction amount in shop currency with this field? If so how? It has original_amount and final_amount. What do they actually mean?
Thanks,
Sam