#anchornate_api
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/1237553355212062770
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! gimme a while to take a look
are you only integrating with Klarna or are you using the Payment Element?
it's not possible using the Payment Element and we strongly discourage placing the Payment Element in an iframe : https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details:~:text=Avoid placing the Payment Element within another iframe because some payment methods require redirecting to another page for payment confirmation
Also, there's additional considerations to take into account in this case, some banks payment pages may not work well within an iframe too
maybe can you share a bit more on what order data you're trying to keep?
hmm okay. I will take a look at the doc
because we are redirected to a new page, we lose order data. Can redirect to a previous page after transaction is made
maybe I should figure out how to land on a order confirmation page on our end
i'm a bit confused, but when the user provides their payment details using the Payment Element, you would have to create the PaymentIntent at some point with the order data. When the Payment Element redirects back to the redirect url, the redirect url has the PaymentIntent id and client secret in the query params
wouldn't that be sufficient for you to trace the original order details?
yea you're correct. I wanted to know if there's any other options when interacting with Klarna but it doesn't look like there is one.