#ravelens

1 messages · Page 1 of 1 (latest)

humble perchBOT
#

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.

drowsy quiver
#

Which conversion rate are you referencing? When is the payment converted? At presentment or settlement?

cobalt dirge
#

So i did charged from customer using conversion rate EUR to USD
And when i want to do transfer, i want to use the charged currency to transfer it to other connect accounts
Does it a way to stored the conversion rate exchange

#

I want to use it for transfering to the connect account later

drowsy quiver
#

Can you share the pi_xxx ID?

cobalt dirge
#

I am still on test mode
And this is the PI id
pi_3Ok1HrAHQOXKizcu1rEMyqOI

drowsy quiver
#

OK, so you accepted a EUR payment. Where was the FX?

cobalt dirge
#

What do you mean by FX ?

drowsy quiver
#

I guess it settled in your acocunt in USD as you're a US merchant

drowsy quiver
cobalt dirge
#

Should we configure the FX ?
Can't we just take this rate ?

drowsy quiver
#

That should give you the details you need

cobalt dirge
drowsy quiver
#

Yes, that field will only be populated if there was a conversion

cobalt dirge
#

Okay, thanks

#

So at first, i need to retrieve details of latest_charge first
Then get the txn id
Then can retrieve it using balance transction object right ?

drowsy quiver
#

See first code snippet

#

Note the expand parameter

#

The response will then contain the full Balance Transaction object under the latest_charge[balance_transaction] hash

cobalt dirge
#

$stripe->paymentIntents->retrieve([
'id' => $paymentIntendId,
'expand' => ['latest_charge.balance_transaction'],
]);

#

It's possible to make it like this right ?

#

Or i must use this :
$paymentIntent = \Stripe\PaymentIntent::retrieve ?

drowsy quiver