Custom Payments
Apple Pay on Apps
4min
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.
- Make sure to have an active Apple developer account
- Your payment processing certificate is registered with Moyasar, follow this guide: Apple Pay Using Developer Account
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.
Updated 23 Nov 2023
Did this page help you?