#planetcreate
1 messages · Page 1 of 1 (latest)
What do you mean by doesn't work? Can you explain more what's happening?
it try's to load the check out page and than it disapears.
the error in the console: Failed to load resource: https://api.stripe.com/v1/elements/sessions?key=pk_test_51JsXu1JZmvGoBwYC525l40ANTKKgeBn0FTy0TnbMNRNFUlAPJyO7Jo7ZQjtqpicYkMJsNoFPJwwFMiQX13G3oL8400O6uDNf73&type=deferred_intent&locale=nl-NL&deferred_intent[mode]=payment&deferred_intent[amount]=1099&deferred_intent[currency]=usd&deferred_intent[payment_method_types][0]=card&deferred_intent[payment_method_types][1]=ideal&deferred_intent[payment_method_types][2]=klarna&referrer_host=localhost%3A8080¤cy=usd the server responded with a status of 400 ()
Can you share the request id
That's the payment intent creation request
Just need the request id for whatever is failing
in stripe there is noting that i failing folowing the stripe deshboard only my local terminail is says that it is failing
i found this in my local terminail req_ZqH1WNocW6PsHc
That's the one thanks
Looking
I think that means klarna and ideal aren't available for the deferred intents flow. Will need to confirm this though
Our docs only mention BLIK isn't supported for this flow though: https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment#enable-payment-methods
oké so i can't use tho's payment methods. will it be supported any time soon.
but in this docs https://stripe.com/docs/payments/payment-element it is used on the demo page.
Still trying to confirm if it's doable through deferred intents specifically
Is there a specific reason you're using deferred intents?
yes i want to have custom css and my own url when a users is checking out.
Yeah but you don't need deferred intents to do that
You should be able to follow this guide https://stripe.com/docs/payments/accept-a-payment
But let's hold off on that. Let me confirm first if ideal and klarna really aren't supported in the deferred intents flow
👋 I'm hopping in to take a look as well
oke thank you in advance for all the help.
So I think the issue is actually with your currency - do you happen to be setting usd in your client-side code where you're setting up elements?
yes and i want to use eur. and just looked over it. and now it is working.
sorry for that
no worries! hopefully we can improve those error messages so that it's easier to diagnose what's going wrong