(E): 404 - PayTabs payment page returns error code 404 in iFrame mode using Safari browser

Modified on Mon, Feb 7, 2022 at 9:25 PM

Most probably this error happened because Safari does not allow iFrame URLs to create cookies, that's why you see the white page. 


In this article you will be going to know about:


How to investigate the reason that caused this error?


You can check out this issue by receiving the 404 error message/screen in the iFrame page component in your Safari browser.



Reason #1: Previewing the iFrame mode in Safari browsers


This means that you are trying to use the iFrame mode (embed page) to display the PayTabs payment page using the Safari browser, in which case Safari does not support iFrame URLs to create cookies, that's why you see the empty/error page. 

Safari ships with a conservative cookie policy that limits cookie write to only the pages chosen ("navigated to") by the user. This default conservative policy may confuse frame-based sites that attempt to write cookies and fail.


You need to make a browser detection/checker in your code to see whether your client is using a Safari browser or not. If so then you will have to fully redirect your client in this case to the PayTabs payment page instead of using iFrame mode.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article