I'm building a website that uses standard "Add to Cart" buttons from PayPal. Everything works fine on the desktop, and in the mobile Chrome browser, but on iOS, the Add to Cart buttons don't work. They pull up a new tab, which gives me a spinning "loading" ring, which continues to spin indefinitely. The phone I'm using for testing is an iPhone 6+ running iOS 11.
Here's the website:
https://www.NightOwlCircusArts.com
Unfortunately you do have to register a free account to actually view the "Add to Cart" buttons I'm referring to, so here's the source code I'm using for one of the buttons:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="EPP74NSCRTC7E">
<input type="hidden" name="custom" value="a%3A2%3A%7Bi%3A0%3Bs%3A27%3A%22info%40nightowlcircusarts.com%22%3Bi%3A1%3Bs%3A18%3A%22Single+Group+Class%22%3B%7D">
<input type="image" src="images/addtocart1.png" border="0" name="submit" alt="Add to Cart" width="159" height="26" class="addtocart">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Any suggestions on how to get the buttons to work on iOS? I don't want to lose sales because the button won't work!
... View more