#shahana_28408
1 messages · Page 1 of 1 (latest)
Hi there, price_id not a param that PaymentElement accepts. Can you elaborate more on what you are trying to achieve?
A user is purchasing from UAE, it should be paid in dhirams
And user also able to see how much he is going to pay in dhirams
Sure, you can set AED as the currency when creating a PaymentIntent https://stripe.com/docs/api/payment_intents/create#create_payment_intent-currency
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Let me check this
Here we are specifying currency right? Instead of that is it implement dynamically depends on user location
in checkout I read as, user IPaddress able to take local currency of that user
That's a checkout-only feature avaialble to userss in US and Canada https://stripe.com/docs/payments/checkout/present-local-currencies?platform=automatic-currency-conversion
So, only for US and Canda can pay in local currency using IP Addtress?
For US and Canada merchants
ohh okie, so others How it is possible? local currency payment?
You need to covert to local currency by yourself
okie, same for multiple currency?
You mean convert to another currency rather than AED?
No if a user in any location, How they can pay it in their currency - multiple currency option
Your application need to detect the customer's location and decide what currency and amount to be used when creating a paymentintent
I hv stripe account in UAE
and for the product I show 20 AED,
if a person purchase product from Saudi and paid 20 SAR, what will be the amount credited in my account as I shuld receive 20 AED?
Is AED your payout currency?
Yes
Then the funds will be converted to AED and payout to your bank account.
No, there's no public Stripe API for currency conversion
It's up to you, you can use your own conversion rate to convert the currency
Is there any global exchange rate which stripe supports?
As I said, Stripe doesn't have a public API for currency conversion.