Closed gndk closed 5 years ago
Hi @gndk I tried to reproduce this issue on mobile safari, since my understanding was that all In App Browsers on iOS use Safari as their rendering engine, but Amazon Pay worked as expected. Maybe Amazon blocks the user agent of the facebook in-app browser. Could you give me the steps to reproduce this? I'll then have a closer look.
Amazon lists Mobile Safari and mobile FB browser separately, so I guess they look at the user agent differently.
For me the steps to reproduce are: Visit site in mobile safari -> Amazon Pay works Visit site in FB inapp browser -> Error from my screenshot
I dont think its possible to type in any url into the FB inapp browser. As a workaround you could post a link to your test site on FB as a status update and set privacy to "just me", then click the link in the fb post to open it in the inapp browser.
I had to disable the Amazon Pay button for the Inapp user agents 😭 💸
<?php if(strpos($_SERVER['HTTP_USER_AGENT'], 'FBAN/') === false && strpos($_SERVER['HTTP_X_REQUESTED_WITH'], 'com.facebook.') === false): ?>
First is iOs, second Android.
I'm testing Android now, maybe it still works..
Still works on Android. Only iOs causing problems. Don't know since when.
I have a support ticket with Amazon Pay support, too, but didn't hear anything back yet.
Thanks for the tip regarding posting a link only to me. Prerequisites:
So then I:
I'm not sure where to search for the culprit here. Could be my newer Magento or iOS version. To me this looks as expected though
oops didn't mean to. Feel free to add more info or close this one yourself
Hm. I'll upgrade to iOs 12.4 and see if it fixes it. Didnt even know it was available, didnt have a notification about it on my phone. But Amazon lists 12.2+ as supported. Can't really expect users to be on the bleeding edge version of software just to have something as basic as an online payment working... Maybe Amazon will give me an answer.. I just thought you might have a dev contact there.
Works again on iOs 12.4. Seems like Amazon no longer supports anything else but the latest version, but doesn't deem it necessary to inform its customers about it. Nice Amazon🥇 👍
Amazon Pay is again broken in the Facebook browser.
See https://screencast.com/t/1Rb0ceYU And https://screencast.com/t/c0nTRQXOXR
According to https://pay.amazon.de/help/202030010 Facebook browser is supported on iOs 12.2+, which I have.
Maybe you can contact Amazon and ask them WTF is going on, because this is costing us A LOT of money.
Payone Master 3669176 Magento 1.9.4.1 iPhone 7 iOs 12.3.1 Facebook App Version 231.0 (latest as of 29.07.)