#chirag-savaliya_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/1450035951924674581
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
๐ Happy to help
Could you please share more details?
What guide are you following
I need help to implement localization feature in stripe payment. Let me explain my whole scenario. We have platform which takes fee from user. We used payment intent feature for that. Currently there is no localization but now we want to implement it. We want to choose GBP as base currency and amount should be display based on user localization during payment. How can i do it. Currently everyhing works fine.
You want to localize what part of Element
?
We want to choose GBP as base currency and amount should be display based on user localization during payment.
This feature is available for Checkout Session
But not for PaymentIntent
You need to create a PaymentIntent with the corresponding currency depending on the Customer, if you want to use PaymentElement and PaymentIntents
Otherwise, you can use Stripe built-in feature with Checkout Session or Invoicing:
https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing
Okay so if i need to create payment intent in user local currency. Can i do like i am calculate all the things in my base currency and and then during payment intent creation i convert it in user local currency ?
So in this approach should i need to change in stripe processing fee calucation or any other important changes ?
Or just i can do it like keep my calculation based on GBP and at the end just i convert all components to user's local currency.
There will be no fees for currency conversion at Stripe Side
as you'll be doing the conversion by. your side
I mean to say a stripe processing fee currently i am calculating based on the payment method id . Will it work fine ?
You can calculate the estimation of Stripe fees but you can't know the exac t amount at front in all cases
So in this approach it is not possible to calculate exact stripe processing fee right ?
You can't calculate the exact Stripe processing fees in any approach
Okay