0 purchases
quick pay
Flutter QuickPay #
A Flutter plugin for QuickPay payments in your mobile application.
This is a light and simple implementation of QuickPay payments. So if somebody will use it, don't be shy to create an issues so then I will improve or add new features to this plugin.
For more information please check QuickPay website: https://quickpay.net/
Usage #
First you need to initialize QuickPay.
For this please find API key in your account at https://quickpay.net/.
QuickPay.init(apiKey: 'PUT HERE YOUR QUICK PAY API KEY');
copied to clipboard
After successfully initializing, you can make payment. For that use static function makePayment.
Now available such params:
String currency,
String orderId,
double price,
int autoCapture // Optional
copied to clipboard
try {
final price = 245.0 * 100;
final payment = await QuickPay.makePayment(
currency: 'DKK',
orderId: '12345',
price: price,
);
} catch (error) {
// handle error
}
copied to clipboard
Examples #
Android
IOS
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.