#greece-SameOrigin
1 messages · Page 1 of 1 (latest)
Hi there, The PaymentElements are embedded as an iframe, so setting X-Frame-Origin to sameorigin may have impact on it.
to me the best solution here would be to use redirect:"always" https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect so that the 3DS secure action is processed as a full redirect instead of in a popup, would likely fix this.
@harsh wedge there are no problems for regular rendering of the element, its only a problem with 3DS, and oddly only on Safari. @atomic orbit thanks for the suggestion, will give it a try now. If it works, I'd have to conditionally check the browser brand before passing the param, which would be convenient if the PaymentElement handled automatically
do you have a link to a page where I can quickly check this out?
@atomic orbit the expected behavior is to see an order success page after the order placement. In Safari, you see this console error, the checkout session breaks because of it, and you end up at an empty cart page
sure, that is what I see
will give it a try now
but you're using a Magento plugin so you can't control that, it's the plugin code that controls how the PaymentElement is used.
I am the developer of the plugin
yeh, I thought so when you mentioned Christos :p
you should be talking to us internally and not here
My DRI is OOO until the 13th