Skip to content

Ionic Capacitor

| View as Markdown

Integrate the airpay Payment Gateway into your Capacitor-based Ionic application using the official airpay Capacitor plugin. This plugin serves as a wrapper around airpay’s native Android and iOS SDKs, enabling seamless payment functionality.

Integration with airpay Ionic Capacitor Kit :

Integration Steps:

step 1: Install the Ionic CLI and Capacitor CLI
npm install -g @ionic/cli
npm install -g @capacitor/cli
step 2: Create a new Ionic project
ionic start ionic_sample_app blank --type=angular
cd ionic_sample_app/
step 3: Enable Capacitor and add the Android platform
ionic integrations enable capacitor
npm install @capacitor/android
npx cap add android
npx cap sync android
step 4: Add the iOS platform
npm install @capacitor/ios
npx cap add ios
npx cap sync ios
step 5: Install the Airpay Plugin (compatible with Ionic Capacitor v8)
npm install https://github.com/Airpay2014/airpay-capacitor-V4-India.git
ionic build
ionic cap sync android
ionic cap sync ios
step 6: Create the request instance and handle the response
Refer to the SDK documentation for details on how to create the request object, invoke the Airpay plugin, and handle the response flow within your app.
Choose Your Ionic Capacitor Integration Kit to Download!
Section titled “Choose Your Ionic Capacitor Integration Kit to Download!”