#eoghanobrien_best-practices
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1261023511946989668
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
Hi 👋
This is pretty tough to describe properly in abstract terms. Do you have some example Payment Intents where FX is occurring?
Our intent is to charge the fx at the time we create to payment intent
Okay, that's not what I asked but it's good to know
Can you re-phrase your question as I'm not grokking what you need from me
Please provide IDs of actual Payment Intents that have already been processed so we can review them
Sorry I’m asking about best practices on how to implement. We have haven’t implemented this functionality yet
Ah. In that case, you cannot currently know beforehand what the FX will be at the time the payment is processed. FX rates are determined by Stripe partner institutions and we don't know them until the payment is processed.
So would I check the charge endpoint or is it more likely to live in a txn once payment is processed?
Once the payment is processed you will want to look at the associated Balance Transaction. That will have the exchange_rate which was applied: https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-exchange_rate
Okay great. That makes sense. Thank you. Does it matter whether or not I use on behalf of for the connected account?
on_behalf_of changes the Merchant of Record for each transaction so yes this would change what currency the charge is settled in.
I recommend reviewing this doc to help clarify things further: https://docs.stripe.com/connect/currencies
It’s most likely always going to be USD but I guess I would need to be sure. Since we’re currently not using on_behalf_of - what would be the recommended approach?
You would need to figure that out based on your business needs. I recommend you review the doc to understand the trade-offs