Square API Release Notes (2017-09-27)
Release Summary: Checkout API, Transactions API
Apple Pay on the Web
Starting 2017-09-27 Checkout API and the Square Payment Form now accept Apple Pay on the Web payments from customers using the Safari browser. Web Apple Pay is a cleaner way to accept mobile web payments from iPhone users. Consumers are increasingly making purchases on their mobile devices and we want to make it as easy and seamless as possible to provide that optimized checkout experience.
- Support for Apple Pay on the Web is built into the Checkout UI and is automatically enabled for anyone using the Checkout API.
- Apple Pay on the Web is not currently supported in Sandbox.
Square payment form (SqPaymentForm)
The Transaction API now supports the following request fields:
SqPaymentForm now looks for placeholders associated with Web Apple Pay. If placeholders are set Apple Pay on the Web will trigger.
The Apple Pay on the Web button will only render if the site domain is registered with Apple. To register your domain visit the Application Dashboard and click on the
Apple Paytab for your application.
To learn more about how to integrated with Web Apple Pay see the Payment form Setup Guide. or our example code on Github: