Payment by the button in the mobile app (InApp)
Apple Pay
When the token payment is executing by button in a mobile app, the following actions are performed:
The buyer selects the product or service in the store mobile app and presses the pay button.
- An encrypted packet with payment data and a token is generated by accessing the SDK of the respective provider: Apple Pay API.
- The SDK of Apple Pay conducts the required payment authorization by the buyer on the mobile device (PIN / fingerprint).
- The encrypted packet with payment data and a token is transferred to the TokenPay payment service on the side of IPS Assist.
- IPS Assist decrypts the package and performs payment with a token.
- IPS Assist returns the payment results to the mobile app.
Actions from 2 to 6 can be executed once by calling SDK Assist:
- SDK Assist for Apple Pay is available on https://github.com/assist-group/assist-mcommerce-sdk-ios.
You have to use the corresponding SDK - Apple Pay SDK for IOS, if you don't want to use SDK Assist in the online store mobile app, for creatation of the encrypted package with payment information. The created encrypted packet with payment details then must be transferred to the IPS Assist through the TokenPay service.
To organize the receipt of payments by the button in the mobile app, you need to do the following preparatory steps:
make a request to connect TokenPay payment processing service functionality to the IPS Assist technical support service support@assist.ru;
implement in your app the support for payment of orders with a token, using the Assist SDK, SDK Apple Pay along with access to TokenPay service;
obtain confirmation from the IPS Assist technical support service that all the necessary technical settings for the functioning of the TokenPay payment processing service when paying for goods and services to your merchant have been fulfilled;
prepare for receiving payments: