#wajajat_klarna-errors-thirdparty-integration

1 messages · Page 1 of 1 (latest)

honest ingotBOT
#

đź‘‹ 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/1404502220166266881

📝 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.

sleek monolith
#

Are you a developer coding your integration with Stripe and Klarna? What Stripe surface are you using? (Checkout, Payment Element, etc?)

warm marsh
#

id: pi_3RtwKjIrSuobyx3e2couu7ah

sleek monolith
#

What error messages do you see? Do you have a publicly accessible front-end where I can reproduce this?

warm marsh
#

check out pages and Payment link

#

customers aren’t able to select a payment option when trying to check out using Klarna? It seems like the button or link to proceed isn’t working properly.

sleek monolith
#

It looks like the Customer didn't provide sufficient data for the shipping address in this request

warm marsh
#

they do provide

#

addresss

sleek monolith
#

Okay here is the shipping address that was provided on the creation request

shipping: {
    address: {
      city: "LAS VEGAS",
      country: "US",
      postal_code: "89143",
      state: "NV",
    },
warm marsh
#

Yeah! Why its incomplete

sleek monolith
#

Actually that's not what the error message says, excatly

error.message: "When providing a shipping address, `billing_details[email]`, `shipping[address][line1]`, `shipping[address][city]`, `shipping[address][postal_code]` and `shipping[address][country]` must be provided. If the shipping country is the US, `shipping[address][state]` must be provided too.",
warm marsh
#

what was it

sleek monolith
#

The customer isn't providing their billing_details[email]

#
billing_details: {
      address: {
        country: "US",
      },
      email: "",
      name: "",
    },
warm marsh
#

which details should customer provide

#

?

sleek monolith
#

What is listed in the error message

warm marsh
#

can you send me

sleek monolith
#

Looking at the values there, billing_details.email is missing

sleek monolith
#

Please read the message carefuly, review the shipping and billing_details payloads, and determine what is missing

#

But, as I have now mentioned twice, the Customer did not provide an email in their billing_details

#

Also , this was NOT created by a Payment Link

#

The creation request for the Payment Intent was created by the Stripe Node SDK running on a linux server.

warm marsh
#

Okay

#

This is the part where they get stuck. They basically say that it won't allow them to click on any option.

sleek monolith
#

Do you see any errror messages in the browers console?

warm marsh
#

thats another thing.
Customers aren’t able to select a payment option when trying to check out using Klarna? It seems like the button or link to proceed isn’t working properly.

sleek monolith
#

Do you see any errror messages in the browers console?

warm marsh
#

On browser it shows inomplete

sleek monolith
#

Do you see any errror messages in the browers console?

#

Please answer the question I am asking

warm marsh
#

Where can I check that?

sleek monolith
#

Are you testing this yourself?

warm marsh
#

No its customer

sleek monolith
#

Can you test this yourself?

warm marsh
#

I will

sleek monolith
#

It seems like your Payment Element integration is not providing enough data to confirm the payment

#

Can you share the JavaScript code you are using to confirm the payment?

warm marsh
#

Where can I find that?

sleek monolith
#

You should be the one writing it

#

We help developers here who code integrations with Stripe APIs

#

That is where the problem appears to be

warm marsh
#

Its actually integrated with highlevel

sleek monolith
#

Then their integration is the problem because it isn't collecting all the data necessary to make Klarna payments

warm marsh
#

What should we do now

sleek monolith
#

Talk to them

#

The problem is that they are not including the Customer's email address in the billing_details when they confirm the payment

warm marsh
#

okay i will dicuss with hihglevel