Using the Apple Pay widget for the IPS Assist payments
General information
The Apple Pay widget enables customers to use the Apple Wallet to pay in the online store without redirecting to external payment pages and without entering bank card details.
Apple Pay is supported on iOS and macOS devices.
By sight, the widget is presented in the form of an Apple Pay button, the process of authorization and payment of the order is started by clicking on this button.
Procedure for payment via widget
- The customer selects products on the website of the online store.
- The online store transfers the order data to the widget.
- The customer clicks the Apple Pay button.
- A pop-up window appears on the device with connected Apple Pay, where the customer can select one of the cards added to the Apple Pay mobile app before.
- The customer selects the card and confirms the payment on the device with a password, TouchID or FaceID.
- Apple Pay creates an encrypted package with a token.
- The widget receives an Apple Pay token package.
- The widget transfers an encrypted packet with a token and payment data to the IPS Assist.
- The IPS Assist decrypts the packet with the token and payment data.
- The IPS Assist makes payment through the processing of the settlement bank.
- The IPS Assist returns the results of payment to the online store site.
- The online store displays the payment result for the customer.
List of actions for organizing of payments using the widget
To organize the payment, you must perform the following preparatory steps:
- fill out a request for connecting Apple Pay payment to IPS Assist;
- register in Apple;
- create a certificate in your Personal account IPS Assist;
- sign the received certificate;
- upload the signed certificate in your Personal account IPS Assist;
- prepare the pages of the online store for payment;
- use of the https protocol on the page with the widget and support for the TLS protocol version 1.2 are mandatory;
- the domain must have a valid SSL certificate.
Deployment of the widget on the online store page
To deploy a widget on an online store page, do the following:
place the widget on the payment page of the online store;
customize the widget;
check the possibility of payment using the widget;
transfer the order parameters;