Skip to main content

Installation

Don't have an Apple Pay subscription? Try it free now.

Follow these steps to install Apple Pay into your app.

Apple Pay plugin is only available for projects running Capacitor 3 or later.

npm install @ionic-enterprise/apple-paynpx cap sync

Getting Started#

Integrating with your application only requires two basic API calls. First, check if the user is running a device capable of using Apple Pay in the current context by calling the canMakePayments method, then make the payment request using makePaymentRequest.


await ApplePay.canMakePayments({});await ApplePay.makePaymentRequest({});

Additional information can found in the tutorial.