#danl-connect-currencyconversion

1 messages · Page 1 of 1 (latest)

cinder helmBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

south frost
#

danl-connect-currencyconversion

#

The Invoice/Charge have the currency originally asked (what the customer paid). What you want is to look at the BalanceTransaction which would show the converted amount.
There are many objects involved in a Destination Charge as you can see on the picture here and each of those will have its own BalanceTransaction so you have to look at each and figure out which ones are in which currency

#

We have this diagram internally as an example, but it depends on your situation (on_behalf_of, which currencies you support, etc.) but it kinda helps paint a picture

lunar stump
#

Hmm okay, so can I get the BalanceTransactions ID back from a checkout.session? As we are using the webhook on that to tell when the checkout is completed

#

Ah I see its in the Charge

south frost
#

Checkout Session -> PaymentIntent -> Charge -> BalanceTransaction

lunar stump
#

Okay great, I will test with the balance transaction which should resolve our issue, thanks!