#anoch-jeyakanthan_code

1 messages · Page 1 of 1 (latest)

calm emberBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1272742153755430924

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

polar terraceBOT
#

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.

opal rampart
#

Which is the country of the connected account?

lapis socket
#

Canada I think

opal rampart
#

When you transfer the fund to connected account in CAD, what is the error you received?

#

Which charge types are you using? (1) Direct Charges, (2) Destination Charges or (3) Separate Charges and Transfers?

lapis socket
#

#1272577511972143107 message this

Error creating transfer for vendor acct_1PmjLAIARny5XvyV: StripeInvalidRequestError: The currency of source_transaction's balance transaction (cad) must be the same as the transfer currency (usd)
opal rampart
#

With source_transaction, the currency in the original transaction must be the same as the transfer currency. Can you share the request ID (req_xxx) of the error, so that I can take a look how your integration works? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request

lapis socket
#

req_nHqXPWUlzUc8Re this is for the checkout

#

do you want the transfer one as well?

#

req_3qzcU0zhTtvkjP one for the transfer

opal rampart
lapis socket
#

ohhh i think it's because i put the actual items in CAD and left a processing fee in USD

opal rampart
#

If you wish to accept the payment in CAD, all the items has to be in CAD

lapis socket
#

let me re try rq

#

okay changing the processing fee currency to CAD as well fixed it

#

but adaptive pricing still doesn't work

#

i'm not sure how'd i even test adaptive pricing, but I changed the currency to eur and it didn't convert to CAD, it stayed as eur

opal rampart
#

The adaptive pricing is based on IP address. Are you in the US for USD?

For testing purpose, you can prefill the email address in the with +location_XX suffix in customer_email to view the adaptive pricing. Here's the guide of testing adaptive pricing in test mode: https://docs.stripe.com/payments/checkout/adaptive-pricing#testing-checkout

Let customers pay in their local currency with Adaptive Pricing (formerly Automatic Currency Conversion).

lapis socket
#

no im in canada

opal rampart
#

Can you share the Checkout Session (cs_xxx) that you expect to have adaptive pricing, but it doesn't work even with customer_email prefilled?

lapis socket
#

here's the log for it req_39YEM7pcxGQzFU and the ceckout session cs_test_b1V9gaHs2gCmnGwELyobDnfWMnoY3h5uzno7KNBVwoahEnCIVt4Ux1C2j

opal rampart
#

This Checkout Session URL has expired. Could you share one that is not expired yet?

lapis socket
#

here's a new one: cs_test_b1WQcrdNUoEIVmxhi4FcRpmKjVDrKSITGPn1vcrEumVFjFGMRmdM24cI9G

#

wait if i complete the session does it expire?

opal rampart
#

Yes! Once the payment is completed, the Checkout Session will be expired

lapis socket
#

oh sorry, i'll send it again then

opal rampart
#

No worries!

lapis socket
#

cs_test_b1qMm7oXS0kNPBD3loXcgUIoaySI6ccTJU7KHXmnF8HDZyOevB2DOR2yj4

opal rampart
#

In https://docs.stripe.com/payments/checkout/adaptive-pricing#testing-checkout:

Adaptive Pricing requires the currency for your prices to be the same as your default settlement currency. Prices automatically convert during checkout

For your CA platform, the settlement currency is in CAD by default. In this case your Checkout Session is in USD which isn't the default settlement currency

Let customers pay in their local currency with Adaptive Pricing (formerly Automatic Currency Conversion).

lapis socket
#

So if I were to set the currency of the line items to CAD, and then try again, it would change?

#

Ahh I see now, it works. However, if I had the option for the vendor to set their own store currency wouldn't that be a problem for me?

#

For example if the vendor was based in France and wanted to set their store's currency to Eur that wouldn't work with my current setup.

opal rampart
#

With Separate Charges and Transfers on Adaptive Pricing, the payment is made on the platform and follows the default settlement currency of the platform.

Today, a platform can only transfer funds in a currency if they have a balance in that currency. This means that if they only have a USD balance, they can only transfer USD. Stripe will automatically convert those funds to EUR when they land in the French account for account.

lapis socket
#

So would there be no way for the store to provide their own currency?

Cause if the user wanted to create a product that was 50EUR, I wouldn't want them to convert that from EUR to CAD just to user our plateform..

#

This basically the flow I was thinking of:

A vendors creates a product (they would've set the pricing in their own local currency)

A customer (probably internationally, could be local) would buy that product from the vendor

I want the products price to show up in the customers own currency, even if the original product isn't in CAD/USD

opal rampart
#

Is there any reason why you choose Separate Charges and Destinations instead of Destination Charges?

lapis socket
#

A customer could buy multiple products from multiple different vendors.

opal rampart
#

For Separate Charges and Transfers, transferring funds from Canada platform to non-Canada connected account in a different settlement currency is not supported. Cross-border transfer is not supported for Canada platform at the moment.

For adaptive pricing, the currency will show in customer's local currency, and settle in the platform's default currency, which will then allow the transfer to the connected account in the default settlement currency.

lapis socket
#

Just to clarify, it'll still show up in the customers local currency even if I provide a different currency from CAD in the line items?

#

For Separate Charges and Transfers, transferring funds from Canada platform to non-Canada connected account in a different settlement currency is not supported. Cross-border transfer is not supported for Canada platform at the moment.
And this is only supported on the US platform right now, correct?

opal rampart
#

Just to clarify, it'll still show up in the customers local currency even if I provide a different currency from CAD in the line items?
Yes! The the fund will be exchanged to settlement currency, CAD in this case, behind the scene

And this is only supported on the US platform right now, correct?
Yes

lapis socket
#

Okay thanks that makes sense.

#

Have a good day!