Last updated:
0 purchases
nexi payment
nexi_payment #
Flutter plugin for nexi payment integration.
Getting Started #
Init Nexi #
Initialize NexiPayment object with your secretKey and type of Environment(test or prod)
@override
void initState() {
super.initState();
_nexiPayment = new NexiPayment(secretKey:"_yourSecretKey_", environment: EnvironmentUtils.TEST);
}
copied to clipboard
To start the payment process just call xPayFrontOfficePaga
var res = await _nexiPayment.xPayFrontOfficePagaNonce("YOUR_ALIAS", "codTrans", CurrencyUtilsQP.EUR, amount);
//handle response
copied to clipboard
Supported features: #
WebView payment #
xPayFrontOfficePaga
Dependencies #
Android & IOS #
Create a Nexi account and project (or create a test backend here https://ecommerce.nexi.it/area-test )
Retrieve a secretKey from backend
Common errors #
IOS #
In some cases it's necessary to add these few lines in Podfile (flutter_app/ios/Podfile)
platform :ios, '10.0'
use_frameworks!
copied to clipboard
Special thanks #
for support and testing of the first implementation of the plugin
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.