nexi_payment 1.2.0 copy "nexi_payment: ^1.2.0" to clipboard
nexi_payment: ^1.2.0 copied to clipboard

Flutter plugin for Nexi Payment integration (XPay). Supports Web View 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);
  }

To start the payment process just call xPayFrontOfficePaga

var res = await _nexiPayment.xPayFrontOfficePagaNonce("YOUR_ALIAS", "codTrans", CurrencyUtilsQP.EUR, amount);
//handle response

Supported features: #

WebView payment #

  • xPayFrontOfficePaga

Dependencies #

Android & IOS #

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!

Special thanks #

for support and testing of the first implementation of the plugin
2
likes
150
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for Nexi Payment integration (XPay). Supports Web View payment

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on nexi_payment