#andystevenson
1 messages · Page 1 of 1 (latest)
When you say "test a Payment Link" what do you mean specifically? What are you testing?
I created a price with multiple currencies. I then created a payment link to that price. I am in the UK and obviously the payment link defaults to showing the price in GBP. I would like a way to test the payment link showing USD, EUR... etc
Yeah! So you can just create the Payment Link and specify a currency via the API in that case: https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-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.
Ah, okay... I thought the checkout session created by the payment link might automatically detect where the front-end is being launched from?!
I think it does some amount of checking against the locale set in the browser. Let me double-check
Thanks. Appreciate it. Be great to send customers just a single link!
Yeah, it looks like it checks the browser's locale as well if there are multiple allowed currencies
Great so one payment link will do it!