#anoch-jeyakanthan_code
1 messages · Page 1 of 1 (latest)
👋 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.
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.
- anoch-jeyakanthan_connect-sct-currencies, 10 hours ago, 32 messages
Which is the country of the connected account?
Canada I think
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?
#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)
3
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
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_nHqXPWUlzUc8Re this is for the checkout
do you want the transfer one as well?
req_3qzcU0zhTtvkjP one for the transfer
The currency in the line_items must all be the same. However, the first item is in CAD whereas the second item is in USD in https://dashboard.stripe.com/test/logs/req_nHqXPWUlzUc8Re
How many items do you intend to set in a Checkout Session, and which currency do you expect the payment to be in?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ohhh i think it's because i put the actual items in CAD and left a processing fee in USD
If you wish to accept the payment in CAD, all the items has to be in CAD
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
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
no im in canada
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?
here's the log for it req_39YEM7pcxGQzFU and the ceckout session cs_test_b1V9gaHs2gCmnGwELyobDnfWMnoY3h5uzno7KNBVwoahEnCIVt4Ux1C2j
This Checkout Session URL has expired. Could you share one that is not expired yet?
here's a new one: cs_test_b1WQcrdNUoEIVmxhi4FcRpmKjVDrKSITGPn1vcrEumVFjFGMRmdM24cI9G
wait if i complete the session does it expire?
Yes! Once the payment is completed, the Checkout Session will be expired
oh sorry, i'll send it again then
No worries!
cs_test_b1qMm7oXS0kNPBD3loXcgUIoaySI6ccTJU7KHXmnF8HDZyOevB2DOR2yj4
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
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.
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.
Please also note that cross border transfer is only supported on the US platform: https://docs.stripe.com/connect/cross-border-payouts
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
Is there any reason why you choose Separate Charges and Destinations instead of Destination Charges?
A customer could buy multiple products from multiple different vendors.
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.
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?
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