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
| Requirement | Version |
|---|---|
| npm plugin | fiuuxdk-capacitor-plugin 1.0.5+ |
| Minimum Android SDK | 26+ |
| Android target | Android 8.0+ |
| Xcode | 15+ |
| Minimum iOS | 13+ |
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
- User chooses a payment option/bank.
- User presses "Proceed".
- User enters bank credentials and completes payment.
- 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',
};
Deeplink Setup
Configure deeplinks for e-wallet redirection. See Deeplink Setup.
Merchant Credentials
You must be a registered Fiuu merchant. Contact sales@fiuu.com for credentials.