#samir000
1 messages · Page 1 of 1 (latest)
You can look at Multi currency Price https://stripe.com/docs/payments/checkout/multi-currency-prices
Can you try the Doc above?
i have tried but each time i need to pass currency at time of checkout session.
i need update currency on given address dropdown
No, at the creation time of the Checkout Session you only need to pass the price id
pass the multiple-currency Price Id there
Yes i have added but currency i need to pass each time
const session = await stripe.checkout.sessions.create({
line_items: [{
price: 'price_123', // Replace with the appropriate price ID
quantity: 1,
}],
mode: 'subscription',
currency: 'usd', // Replace with the user's preferred currency
success_url: 'https://your-website.com/success',
cancel_url: 'https://your-website.com/cancel',
});
your-website.com is available for purchase. Get in touch to discuss the possibilities!
your-website.com is available for purchase. Get in touch to discuss the possibilities!
No you don't, just try to remove it
trying
i have tried with remove of currency at time of chekout process but not working it only showing default one
Can you provide the request id ? req_xxx from https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
req_7orHDlqfbofXph
Ok, can you pass the testing email like this? https://stripe.com/docs/payments/checkout/multi-currency-prices#testing
test_localtion_in@example.com
where need to pass this test_localtion_in@example.com
Please see the Doc above