#cnguyen-paymentintent-conversion

1 messages · Page 1 of 1 (latest)

grave copper
#

No, the refund UI will always be in the currency of the PaymentIntent, so if you charge in EUR, the refund is in EUR

severe wharf
#

not possible to add the a property like currency : GBP ?

grave copper
#

No it's not possible, all the amounts for the PaymentIntent and its refunds are in the same original currency

severe wharf
#

So I have to display the price in EUR and make the refund in EUR

#

And I ave a problem because, when I create the PI in EUR. Then the transfer is in GBP (transfer to a connected account)

#

And in the connect accound dashboard, I display the list of transfer. And It's from this that he can make the refund.

#

But the transfer is in GBP and not in EUR

#

can I have the transfer in EUR (at list the info) ?

grave copper
#

That's not possible either. You likely want to read through https://stripe.com/docs/connect/currencies carefully. Currency conversion and Connect can be really complex

But all the refunds are priced in the currency of the original payment because what matters is what you send back to the customer

severe wharf
#

What is the best solution according to you ?

For now, user pay with a PI in EUR.
There is an automatic transfer (destination: acct_XXX) to the connected account in GBP.

And the merchant can make refund. But there is no PI for him, it's only transfer.

That's why I display him all the payment in GBP.

grave copper
#

And the merchant can make refund. But there is no PI for him, it's only transfer.
The merchant can't refund, they have no access to any of this, you do as the platform

#

and you have all the information

severe wharf
#

Maybe I can convert the pound to eur if I see that the PI associated to the transfer in in EUR ?

severe wharf
#

Is there a way to display the price in EUR and not in GBP ? For example, I fetch the transfer and check if the PI associated is in EUR.

#

OR

I display all in GBP. And when he makes the refund, I convert the price in EUR if I see that the transfer has a PI associated in EUR ?

grave copper
#

For example, I fetch the transfer and check if the PI associated is in EUR.
yes you should do this

severe wharf
#

And how can I find the PI (currency) according to the tr_XXX ? Need to make an expand ? With the charge ?

grave copper
#

yes, the Charge has the currency too so you don't need the PI, but you can expand both

#

usually you would store all of this in your own database

severe wharf
#

ok

#

And there is a "Stripe currency converter" if I ask the price in GBP and I want to translate it in EUR ?

grave copper
#

no there isn't, it doesn't really work that way

#

you really need to think in the currency of the customer here, so EUR

severe wharf
#

OK so the best is to display in EUR directly

grave copper
#

yes for refunds that's what I would do, because the customer wouldn't talk in GBP to them either

severe wharf
#

And there is a way to expand the charges, with the request await stripe.transfers.list(params) ?

#

Ah yes I see. data.source_transaction