order_transactions/create webhook currency

Zapfor_Apps
Shopify Partner
85 1 10

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

SimplyCost - Track profit and expenses
(https://apps.shopify.com/simplycost)
Replies 2 (2)

_JB
Shopify Staff
836 100 222

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

Zapfor_Apps
Shopify Partner
85 1 10

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

SimplyCost - Track profit and expenses
(https://apps.shopify.com/simplycost)