Apple Pay on Apps
This guide will go through how to post apple pay payment data to Moyasar
- Advanced Users
- Users who are building their own Apple Pay integration.
To start integration with Apple Pay, we advise you to visit Apple Developer Documentation.
When the user authorizes the payment using Face ID or Touch ID on their iOS device, the didAuthorizePayment event will be dispatched. In this step you need to post the paymentData to Moyasar found within the PKPayment object. Here is an example:
Now you need to serialize the request object as JSON and send it to Moyasar API like it was described in Apple Pay on Websites.