Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
/ nexi_payment Public archive
forked from PaoloGi/nexi_payment

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

License

Notifications You must be signed in to change notification settings

zbolo-wd/nexi_payment

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 39.5%
  • Dart 37.2%
  • Swift 13.4%
  • Ruby 7.6%
  • Objective-C 2.3%