#austin-chen_error
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/1300574492988538921
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
Can you share more about how you're testing this? If there's a guide you're following, please share this here
testing using the payment element on the frontend then we getting the payment method and pass into our server with a payment intent. We then try to confirm the payment intent and check if there is a NextAction exist.
the first redirect uri is coming from NextAction.RedirectToUrl
Do you have a PaymentIntent ID?
Since you're testing this, do you have a URL where I can reproduce this behavior?
BTW the same process works for afterpay, im getting a https://hooks.stripe.com/afterpay_clearpay/acct_1QDBjSBf784WMlVf/pa_nonce_R7FRwJtOAFLALOtmI5Tij0ewS2Y2Vxl/redirect on afterpay redirect but
https://pm-redirects.stripe.com/authorize/acct_1QDBjSBf784WMlVf/pa_nonce_R7Eqi9RUpDFPspJQaCe5YZSnBrvwE3e?useWebAuthSession=true&followRedirectsInSDK=true
for Klarna
Below is the exact url coming from NextAction.RedirectToUrl
https://pm-redirects.stripe.com/authorize/acct_1QDBjSBf784WMlVf/pa_nonce_R7Eqi9RUpDFPspJQaCe5YZSnBrvwE3e?useWebAuthSession=true&followRedirectsInSDK=true
Can you share a PaymentIntent ID?
pi_3QF0raBf784WMlVf0elxeEDA
So just to confirm, you're using handleNextAction client side? https://docs.stripe.com/js/payment_intents/handle_next_action
Have you tested with the test data here? https://docs.stripe.com/payments/klarna/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api&country=new-zealand#testmode-guide
we use https://docs.stripe.com/js/payment_intents/confirm_payment on our client side. I will try test data now
Hello! I'm taking over and catching up...
Hi Rubeus, same issue when using the test data. I think this is an issue on Klarna side as its their DNS not resolving. or potentially Stripe providing the wrong redirect URI at first place?
It seems like an issue on Klarna's side, yeah. Looking into it further now...
ty🫡
I confirmed the domain in question isn't being provided by Stripe. I recommend you reach out to Klarna support and ask them about the domain.
that is what I thought, I would like to confirm that the first redirect uri provided by stripe is correct?
https://pm-redirects.stripe.com/authorize/acct_1QDBjSBf784WMlVf/pa_nonce_R7Eqi9RUpDFPspJQaCe5YZSnBrvwE3e?useWebAuthSession=true&followRedirectsInSDK=true
Yep, that appears to be correct.
thanks for the assist