#shuffo_api
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/1399689820036403253
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Yeah you can't accept multiple currencies from one single Stripe Customer object
you can/should create two Stripe Customer object for the same user (one for GBP and one for AUD)
If you want to accept multiple currency from the same user, you should use Adaptive pricing:
https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted
Is there a suggested best practice on how to handle this? I can think of a couple of ways:
Solution 1. If creating a checkout session fails with this error, try again without passing in the stored customer_id which will allow the checkout_session to auto create a new customer
Solution 2. Check if the customer currency matches the current checkout before passing the customer_id to the checkout_session
Both add latency overall.
Yeah, those are two workarounds that could work
Ok thank you