#6hills_error

1 messages ¡ Page 1 of 1 (latest)

copper smeltBOT
#

👋 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/1425404870189649931

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

abstract arch
#

browser console:

#

other options show up as usual:

#

it is enabled in the stripe dashboard (sandbox environment)

south cipher
#

Is this a deferred or non-deferred flow? If the latter, what's the PI ID?

abstract arch
#

payment id: pi_3SFrTj4cOZ7Xf1Lb0MdqzaJa

south cipher
#

Thanks, looking

#

I should be able to find some logs to confirm that

abstract arch
#

we have been suggested that and tried a VPN to match the country, and it did not show up. Could you please confirm further? ty

south cipher
#

A VPN is not always reliable, unfortunately. But yes, checking

#

Have you actually initialised the ECE with this intent?

abstract arch
#

yes, the screenshot is the element:

copper smeltBOT
abstract arch
#

these options are provided:

`const expressCheckoutElementOptions: StripeExpressCheckoutElementOptions = {
buttonType: {
applePay: "plain",
googlePay: "plain",
klarna: "pay",
},
buttonTheme: {
applePay: "black",
googlePay: "black",
klarna: "outlined",
},
layout: {
maxColumns: 3,
maxRows: 2,
overflow: "auto",
},
buttonHeight: 50,

paymentMethods: {
googlePay: "always",
applePay: "always",
klarna: "auto",
},
paymentMethodOrder: ["apple_pay", "google_pay", "klarna"],
} as const;`

south cipher
abstract arch
#

yes, here's the options for elements:

const stripeElementsOptions: StripeElementsOptions = { mode: "setup" as const, setup_future_usage: "off_session" as const, payment_method_types: ["card"], } as const;

south cipher
#

Yeah as I suspected, you're not initialising the Elements instance with the intent

abstract arch
#

both are elements coming from react lib

south cipher
#

Equally, is there somewhere I can view your page/site that you're having problems with?

abstract arch
#

oops sorry that was wrong place of the app, here is the actual checkout:
const stripeElementsOptions: StripeElementsOptions = { mode: "setup" as const, setup_future_usage: "off_session" as const, payment_method_types: ["card", "klarna"], } as const;

#

klarna is passed as a pm type, but we see the error:

south cipher
abstract arch
#

unfortunately that place is an authenticated checkout that would not be possible to share at the moment :/

south cipher
abstract arch
#

is klarna not supported in 'setup' mode?

atomic thistle
#

Hey! Taking over for my colleague. Let me catch up.

atomic thistle
abstract arch
#

ok thank you, do these restrictions also apply for apple/google pay?

#

so that basically means it is impossible to incorporate klarna in our flow where the user is charged after certain action (deferred)?

atomic thistle
atomic thistle
abstract arch
#

ok, thank you. Won't be wasting your time anymore. have a good one !

atomic thistle
#

No worries, always happy to help!

#

Thank you for your understanding!