#stachujone5
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- stachujone5, 32 minutes ago, 12 messages
Can you share the example Checkout Session (cs_xxx) and the payment method you expected to see?
cs_test_b118NSzKonlsWjHjJWOjpnOqcyyN2GtFG5pCFelue8UmTBDPBZ9NqIbg9y#fidkdWxOYHwnPyd1blpxYHZxWjA0TnRufGpPSXBATn8wT0hUMH1MdGlvdmJEdDBoZEhvNFAzcmFVTE9CbDVxUW9ESGZBdG12Rl9CNjUxZHRMT0xIMW9pdTFJSV8yTEtPX2ZuZFVWSXF9cTxsNTV0fDNQbWpRZicpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPydocGlxbFpscWBoJyknYGtkZ2lgVWlkZmBtamlhYHd2Jz9xd3BgeCUl
Blik
Blik (https://stripe.com/docs/payments/blik) only supports PLN, but this Checkout Session is in USD. That's reason why Blik isn't shown
How can I set multiple currencies in line items
so I can support another countries?
I am creating line items like that and I'd like to let user use his local payment methods
so e.g Blik
It would have to convert usd to pln i guess
If your Stripe account country is US or Canada, automatic currency conversion is supported if the settlement currency is in USD or CAD: https://stripe.com/docs/payments/checkout/automatic-currency-conversion
If your Stripe account is not listed in the country, then manual pre-defined multi-currency is supported with using pre-defined price, but not with ad-hoc price with using price_data
In your docs link I found this link:
https://dashboard.stripe.com/settings/automatic_currency_conversion
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
but it redirects me to /dashboard
I've USD as a default stripe acc currency
As per my checking, your Stripe account is from Poland. Automatic currency conversion is only supported in United States and Canada
I'm afraid Poland account doesn't support automatic currency conversion. You'd need to use manual pre-defined mult-currencies price instead : https://stripe.com/docs/payments/checkout/multi-currency-prices
What If I am not creating products in stripe dashboard
and I am using line items
and price is different each time
I mean I am manually defining price_data in my line items
With ad-hoc prices, i.e. using price_data, multi-currencies isn't supported. You'd need to calculate the converted amount and currency, then set in Checkout Session request
Hmm but user in checkout session can change his country
So I can't pre define currency
With ad-hoc price, multi-currency is limited. I'm afraid there is no other better way with your Stripe account country in Poland
So in order to support BLIK or other payments in regional currencies I'd have to create products manually in stripe dashboard
Or maybe this Price instead?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, correct!
What If Image I want to display is created ad-hoc
Then I can't create products in dashboard and use them
Sorry, I don't get what you meant. Your above code has set the image in the ad-hoc price under line_items.price_data.product_data.images
I'd like smth like this:
-
I create a checkout with a one time payment - products will always be the same but each checkout will have a different image so thats why I can't use pre defined products
-
I'd like to accept regional payment methods like BLIK.
Is there a way I can do it or I have to give up on regional payment methods If I cant pre define products because of dynamic images
I see! Thanks for sharing! Only ad-hoc price can support dynamic image, but it doesn't support multi-currencies. For pre-defined price for multi-currency support, the product image can't be changed for each Checkout Session
I'm afraid there is a trade off here
The only solution would be creating a new account based in US or canada?
Yup! I'd recommend giving a try in test mode
And it would need to be a new acc? Cant i change my current acc location?
If your account has started onboarding process, then the account country can't be changed. Here's you can check if the country can be changed: https://dashboard.stripe.com/settings/account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hi @summer sapphire I'm taking over this thread
Sure,
Will changing the address allow me to use automatic currency conversion?
I mean changing the address to US / Canada as its only allowed there
No, that's just your business address.
As River mentioend earlier, you can't change your account country.
Okey, thanks
If your business isn’t eligible for automatic currency conversion or you want more control, you can also manually define multi-currency prices in the API or the Dashboard. Manually defined multi-currency prices override automatic currency conversion, even if it’s enabled.
And this?
Can i do this for products added ad-hoc using line items and price_data?
Can I create a Price without creating a product?
So I will be creating products ad-hoc and just passing prices like 25$ which will be translated to like 20Euro or so?
No you can't create a Price without creating a product
And are there any restriction regardless creating stripe account with USA as a country?
So automatic currency conversion works?