#orangebanana_code
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/1336291488149147713
๐ 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.
- orangebanana_code, 5 days ago, 14 messages
Let me try to upload a short video of this issue for better understanding
hi there!
Hello
what type of payment method are you using? only cards, or more?
More than cards
got it.
Now we have a issue when our website is used inside an iframe. The issue relates to return_url which redirects the parent of the iframe.
I don't think it's possible to control this. Once the payment is successful, users are directed to thereturn_url, which will change the page the users are currently viewing.
Why are you using an iframe?
I'm not using the iframe. Its just that some providers want to use the website inside an iframe on their website
This is and example with our testing server 'develop'
As you can see the parent website is https://awgc.de and inside the iframe is our website.
After the payment is finished the parent website gets changed which we don't want to happen
the only option I see is to set the return_url to a URL on https://awgc.de/
So theres not way of avoiding that redirect or at least keep it inside the iframe?
there is one way to disable the redirect, but it's mostly meant for card payment methods: https://docs.stripe.com/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect
I saw that as well. But it doesn't help ๐ฆ
Do you have any idea of why that redirect doesn't happen inside of the iframe?
Why aren't you doing this?
the only option I see is to set the return_url to a URL on https://awgc.de/
Because that's not even my website. That would be someone using our website inside the iframe
Not only that but we need to get to the payment confirmation page. In case the payment is successful or failed
you could ask your user to build a /confirmation page on their website, and redirect to that?
I agree it's not ideal, but your use case is not very common so not really supported.
That's not ideal since confirmation page would require a logged in user to validate that booking
I guess this is a dead end then ๐
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Hello,
Let me know if you have any other workarounds for this issue
for reloading the Iframe no it's not feasable.