#hogesar_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/1349033085152399361
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
In the response, I see that adaptive_pricing.enabled is set to false. Can you try explicitly passing true for that field in your create request?
https://dashboard.stripe.com/test/logs/req_AjoZirbbthsDlY
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-adaptive_pricing
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I thought I couldn't do apative pricing via connect?
My apologies, yes I missed that restriction. We list restricted fields here. application_fee_amount is what would disqualify this session https://docs.stripe.com/payments/checkout/adaptive-pricing?payment-ui=stripe-hosted#restrictions
That's ok, I understand that point
But I should still be able to to manual currency pricing yes? My point is I have a product with a UK & US price listed on stripe
When I use that price id in session create, with an e-mail as per your docs such as test+location_US@gmail.com I should get the US price show buti dont?
Ah gotcha, my apologies I am all caught up now. The server was creating new threads like crazy for a bit so I didn't read that as closely as I should have
It looks like we also don't support direct or destination charges for manual currencies
https://docs.stripe.com/payments/checkout/manual-currency-prices?payment-ui=stripe-hosted#restrictions
Ah, so we can't do it via connect at all
do you know if there's any view to change that? We would lose quite a lot of income from our clients
Assuming not, my next question is if I keep application_fee_amount removed for this particular client, how do i set adaptive pricing to true?
Not as far as I am aware, if you write in to our support team they may know if this is being worked on but the server has been too busy for me to check. To turn on adaptive pricing there is a dashboard setting and an API parameter that can override it
https://dashboard.stripe.com/settings/adaptive-pricing
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-adaptive_pricing-enabled
Yeah, It's turned on on dashboard
And if you don't pass the connect params it still isn't working? If you explicitly pass the param it should either work or error if some other param is incompatible
Oddly, i'm explicitly passing it now, and yet the response body still shows it as enabled false, even though tis enabled on dashboard too (req_pIvaOTqRQKkxeU)
Huh, that is very strange and probably something I'll have to file a bug report on. Trying to think of what else you can try right now
In the mean time, I could cope with manual pricing. But that raises a new problem. How do I get Klarna to appear on checkout for USD transactions?
If you paste a checkout session's ID into this form in your dashboard we can tell you why Klarna wasn't supported for a specific session. That may help you see what would need to change for Klarna to show up https://dashboard.stripe.com/settings/payment_methods/review
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I'm guessing that doesn't work in test environment with test checkout session ids?
It works in test mode, if you flip the switch it should work with test mode IDs
What is the full ID that you provided? That page is working for me for my test mode IDs
cs_test_a1WUIEyUgXOOge5l4XLSMjSVpUIRDzKoPwPH36tY0hhO8OAOSmGf1iJdoO
Oh right this is a Connect checkout session. The error is because that ID doesn't exist on your account. One sec I will have a chance to look at Klarna on that specific session
Do we need to enable Klarna specifically for US customers? If so would like to do that
Yeah that is what I am wondering. Do you see Klarna when the currency is GB? I see that customer geo can be restricted by where the account is located, and usually I see that combined with currency restrictions, but I am not 100% sure how that interacts with Connect at the moment.
If you’re based in the UK, Switzerland or a supported EEA country, you can transact with consumers in the UK, Switzerland, and all EEA countries where Klarna has a consumer offering, provided if the presentment currency matches the currency of the customer’s country. For example, a Swedish business can present in EUR to accept Klarna from a buyer in Germany.
If you’re based outside of the EEA, UK, or Switzerland, you can only transact with customers within your country, and the presentment currency must be the currency of your country. For example, an Australian business must present in AUD, and can only transact with buyers in Australia.
Client is UK based, offering now the currency in USD i.e the presentment currency
Yep it looks like USD isn't supported for Klarna w/ UK merchants
what about Clearpay?
I will look, but if you test that in testmode that may be a quicker way to find out
It doesn't show up but then it doesn't give me any info either - on a sidenote did you raise bug issue regarding exclusively setting manual pricing and it still not working?
yep similar restriction on clearpay that means no USD payments for UK merchants https://docs.stripe.com/payments/afterpay-clearpay#collection-schedule
Not yet, I assume you are asking if there is a place you can follow along? If so, we can create a case here and link it to what I file
Hello @ruby canopy, we have sent you a direct message, please check it at https://discord.com/channels/@me/1349052324617912402
- đź”—The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
Let me know when you've filled that out 👆
Looks like I hjave
Thank you. I see that, will send an update later when things are filed.
I am stepping out but my colleague @lost mist can help you if you have further questions