Skip to main content

Ionic Capacitor

Fiuu payment plugin for Ionic Capacitor applications.

Repository: Mobile-XDK-Fiuu-Ionic-Capacitor

Package: fiuuxdk-capacitor-plugin on npm (1.0.5+)

The repository README and sample app are the integration reference. There is no separate public wiki page for this plugin.

Requirements

RequirementVersion
npm pluginfiuuxdk-capacitor-plugin 1.0.5+
Minimum Android SDK26+
Android targetAndroid 8.0+
Xcode15+
Minimum iOS13+

Getting Started

Follow the Capacitor getting started guide to set up your Ionic Capacitor project.

Installation

Follow the repository README and sample app on GitHub.

The sample project in the repository includes the Capacitor plugin pre-configured as a reference implementation.

npm install fiuuxdk-capacitor-plugin
npx cap sync

How It Works

  1. User chooses a payment option/bank.
  2. User presses "Proceed".
  3. User enters bank credentials and completes payment.
  4. Transaction completes and result is returned to your app.

Payment Details

Use the same mp_* parameters as other XDK frameworks. See Payment Parameters.

const paymentDetails = {
mp_username: 'username',
mp_password: 'password',
mp_merchant_ID: 'merchantid',
mp_app_name: 'appname',
mp_verification_key: 'vkey123',
mp_amount: '1.10',
mp_order_ID: 'orderid123',
mp_currency: 'MYR',
mp_country: 'MY',
mp_channel: 'multi',
mp_bill_description: 'billdesc',
mp_bill_name: 'billname',
mp_bill_email: 'email@domain.com',
mp_bill_mobile: '+1234567',
};

Configure deeplinks for e-wallet redirection. See Deeplink Setup.

Merchant Credentials

You must be a registered Fiuu merchant. Contact sales@fiuu.com for credentials.