Author |
Thread: Apple Mobile users: Hillside Shop errors (Read 1056 times) |
|
S J Birkill
MV Administrator
just a sensible reserve
Posts: 876
|
|
Apple Mobile users: Hillside Shop errors
« : 11.08.23 at 07:01 » |
Quote
|
Hillside Shop / Worldpay errors explained, fixed (I think) : I may have discovered the reason some iPhone and iPad users encountered error messages from Worldpay on submitting their orders today via the Hillside Music Shop's on-line form. In places, the Shop code uses a long-recognised short-cut to save a few bytes. Whilst being strictly against spec., this short-cut is accepted by (all?) modern browsers, including Apple's own Safari. But it may be that their mobile devices aren't so accommodating. I've now modified the code to meet standard practice. I would be most grateful if any Apple mobile users here whose purchase failed would please try again and let me know if the sale goes through, by replying to this post. All at Hillside appreciate your patience and are anxious not to lose their valued customers! Thank you Steve
|
« Last Edit: 11.08.23 at 07:30 by S J Birkill » |
https://peteatkin.com/forum?board=tech&action=display&num=1691733707&start=0#0 |
Stephen J Birkill
|
|
|
S J Birkill
MV Administrator
just a sensible reserve
Posts: 876
|
|
Grapple with Apple: The /real/ reason
« Reply #1: 11.08.23 at 23:00 » |
Quote
|
OK, so that didn't work. Sorry. But now: My tech team (in the absence of a physical i-anything) has realised that the failed orders were probably all submitted from within the Facebook app on the user's i-device, rather than from the FB page in a real Web browser (such as Safari or Chrome). The app employs a 'Webview', whose function is to emulate a browser display within the app itself, without opening a browser per se. Unfortunately this Webview only looks like a browser: it doesn't have tabs, so if the page is configured to open Worldpay in a new tab it drops everything and loads Worldpay's response page in place of the Shop page, forgetting all about the customer's form data it should be sending. Hence the 'who the h*ll are you' response from Worldpay. To get around this (in case anyone's still interested) I've changed the form's 'submit' method to 'get' rather than 'post' -- this sends the form data as part of the URL, so it can't get lost so easily. Additionally the 'submit' action no longer attempts to open a new tab for Worldpay's response. I trust everyone will be content from now on. Enjoy The Luck of the Draw! Steve
|
|
https://peteatkin.com/forum?board=tech&action=display&num=1691733707&start=1#1 |
Stephen J Birkill
|
|
|
|