Skip to main content

Cordova

Fiuu Cordova demo with integrated payment plugin for hybrid mobile apps.

Repository: Mobile-XDK-Fiuu_Cordova

Wiki: Installation Guidance

The GitHub README in this repository is historical. Use the wiki and the demo project (FiuuPayXDKExample-Cordova) as the integration reference.

Requirements

RequirementVersion
Cordova SDK12.0.0+
Node.js20.14.0+
Minimum Android targetAndroid 4.4+
Minimum iOS16.0+

Installation

Follow the Installation Guidance on GitHub.

The repository includes a functional demo project with the Cordova plugin pre-integrated.

Payment Details

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

var 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.

Support

For Cordova-specific issues, contact support@fiuu.com.