#hollystyles

1 messages · Page 1 of 1 (latest)

weak flickerBOT
#

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.

short nebula
#

Can you share a sample payment intent where this happened?

stoic sandal
#

pi_3OaJz7JojNje4Qu01sxrS664

#

St not Street ?

#

Hmm still succeeds 😦

short nebula
#

You provided that test data in Klarna when redirected?

stoic sandal
#

No supplied as billingDetails on stripe.confirmPayment

#

We don't pass DOB as is not mandatory for our checkout form

#

const paymentElementOptions: StripePaymentElementOptions = { layout: "accordion", fields: { billingDetails: { name: "never", email: "never", phone: "never", address: "never" } } };

#

And then on submit:

#

//Attempt payment with the provider const { error } = await stripe.confirmPayment({ elements, confirmParams: { // Make sure to change this to your payment completion page return_url: config.redirectUri, payment_method_data: { billing_details: { name: detailsRequest.firstName + " " + detailsRequest.lastName, email: detailsRequest.email, phone: detailsRequest.phoneNumber, address: { line1: detailsRequest.addressLine1, line2: detailsRequest.addressLine2, city: detailsRequest.townCity, state: "", postal_code: detailsRequest.postalCode, country: detailsRequest.country } } } } });

short nebula
#

Well dob isn't a field in stripe

#

That's why I was under the impression you needed to provide that in Klarna itself

#

I haven't tested this flow myself though

short nebula
#

If you don't pass any billing details to confirm, what does the klarna checkout flow look like?

stoic sandal
#

I'll try it

#

One thing I know it will do is: display email and name inputs which I don't want as customer already filled those in....

#

But not before payment element initted so can't pass as default values.

short nebula
#

That's fine. I just want you to try filling all details in Klarna

#

To see if that allows you to test the failure flow

stoic sandal
#

Still succeeded

#

pi_3OaKsLJojNje4Qu001FFl0AW

short nebula
#

Hm ok let me check with a colleague

stoic sandal
#

Thanks

restive oar
#

The test failure details are still working for me in Klarna.

#

Can you show me what happens after you put in the failure phone number upfront? For me it populates the rest of the fail customer details

weak flickerBOT