Paytabs provides you with multiple methods for using Apple Pay, for easy-to-use integration, and even more easy implementation for developers.
Be aware that Apple Pay MUST be enabled in your PayTabs profile in order to perform any payments using it, so kindly make sure to contact customercare@paytabs.com or your account manager requesting to enable Apple Pay.
In this article we are going to walk you through the following:
Be aware that the Apple Pay payment method DOES NOT operate in the iFrame mode
Apple Pay Payment Workflow
The Apple Pay "Pay" button would trigger the Apple Pay wallet to be opened in a popup screen (Only via any Apple Devices). This will lead the customer to choose one of his saved cards to proceed with the payment using the token sent from the merchant side to the PayTabs side.
Apple Pay is supported in PayTabs test profiles. Click here to learn how to integrate with Apple Pay in the test profile.
How is this done?
The previous Apple Pay payment workflow can be performed in several ways, as clarified below:
Web Applications (via the PayTabs API endpoints)
In any Web Application, the Apple Pay "Pay" button would trigger the Apple Pay wallet to be opened in a popup screen (Only via the Safari browser on any Apple Device). This will lead the customer to choose one of his saved cards to proceed with the payment using the "apple_pay_token", which would be sent to the merchant's server-side, which would make the payment request to PayTabs side, as clarified in our Apple Pay Payment Request solution article.
You should know that according to the mentioned solution article, the payment request doesn't include any card details; instead, it has the received "apple_pay_token".
To perform this step properly, you will need to configure your own Apple Pay Certification first on your PayTabs dashboard, to know more about this please check our How to configure Apple Pay Certificate in my PayTabs dashboard? solution article.
To know how to get this token, kindly navigate to Apple Developers, to get a better understanding.
PayTabs Payment Page
By redirecting your customer to the PayTabs Payment Page (Only via the Safari browser on any Apple Device), means that you are creating your payment via our Hosted Payment Page via PayTabs' plugins or even the PayLinks or Invoices via PayTabs' dashboard. This will lead to the payment method to be completely managed and handled by our PayTabs, you don't have to worry about that. Click here to learn more about how you can initiate a payment page with Apple Pay.
Mobile Applications
Using PayTabs SDKs
In any Mobile Application that is ONLY implemented using one of our SDKs, the same workflow as on (Web Applications) will be completely managed and handled by our SDKs, as clarified in our ApplePay Payment Request solution article (native IOS SDK).To perform this step properly, you will need to configure your own ApplePay Certification first on your PayTabs dashboard, to know more about this please check our How to configure Apple Pay Certificate in my PayTabs dashboard? solution article
Using the APIs endpoints
In any Web Application, the Apple Pay "Pay" button would trigger the Apple Pay wallet to be opened in a popup screen (Only via the Safari browser on any Apple Device). This will lead the customer to choose one of his saved cards to proceed with the payment using the "apple_pay_token", which would be sent to the merchant's server-side, which would make the payment request to PayTabs side, as clarified in our ApplePay Payment Request solution article.You should know that according to the mentioned solution article, the payment request doesn't include any card details; instead, it has the received "apple_pay_token".
To perform this step properly, you will need to configure your own Apple Pay Certification first on your PayTabs dashboard, to know more about this please check our How to configure Apple Pay Certificate in my PayTabs dashboard? solution article
To know how to get this token, kindly navigate to Apple Developers, to get a better understanding.
Apple Pay Payment Method Limitations
- Apple Pay end-user (client) requirements:
- It ONLY works on Apple Devices (Mac, iPhone, Apple Watch, ...etc).
- Apple Pay is available on Chrome/Firefox/Edge with iOS16. For any older version, it is available only on the Safari browser.
- iFrame mode is NOT supported by Apple Pay.
- For Apple Pay to work on WebViews, the framework, language, plugin, or/and package that will be used to create the WebView MUST support Apple Pay as well.