#linups_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/1283391067986595860
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the ID of a session where Klarna is not available for payment? Will look like cs_xxx
hmmm, not sure, where exact to loook? i can also give direct link to cart, which redirects to stripe if needed.
It'll be in the response from the API request to create the session
cs_live_a1r9bFpXD4j40EO5MLG5a6WS1sp07n98EkqI7GqKW3GKswSNZawLIHLqVY
Taking a look!
does klarna work in sandbox mode?
Should do, yep
It's because you're passing payment_intent_data[setup_future_usage] when you create your session(s): https://dashboard.stripe.com/logs/req_msKszaNuIeF2rO
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Klarna doesn't support that param: https://docs.stripe.com/payments/payment-methods/integration-options#additional-api-buy-now-pay-later
give me few mins
You can either omit s_f_u entirely, or pass it only on at the card level via: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_method_options-card-setup_future_usage
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 have commented it out and now klarna works..
If i want to offer credit card -> apple pay, g-pay and klarna , do i have to list these as payments methods or it will roll out automatically?
Checkout defaults to using dynamic PMs and we auto calculate which PMs to show based on the Checkout config (hence why Klarna was unavailable initially). If you manually passed payment_method_types in that scenario the API would of errored
So you can leave it as it is I guess if it's working now as you need?