{"id":28289644,"url":"https://github.com/angeloavv/flutter_nexi","last_synced_at":"2026-04-13T17:02:57.409Z","repository":{"id":294534262,"uuid":"987274955","full_name":"AngeloAvv/flutter_nexi","owner":"AngeloAvv","description":"Unofficial Flutter plugin for integrating Nexi/XPay payments on Android and iOS.","archived":false,"fork":false,"pushed_at":"2026-04-10T06:46:06.000Z","size":569,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-10T08:36:28.828Z","etag":null,"topics":["android","flutter","ios","nexi","payments"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AngeloAvv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"AngeloAvv"}},"created_at":"2025-05-20T20:47:00.000Z","updated_at":"2026-04-10T06:45:44.000Z","dependencies_parsed_at":"2025-07-10T11:59:58.153Z","dependency_job_id":"c0177b41-7e79-4e68-90cf-232a85d7b5b9","html_url":"https://github.com/AngeloAvv/flutter_nexi","commit_stats":null,"previous_names":["angeloavv/flutter_nexi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AngeloAvv/flutter_nexi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fflutter_nexi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fflutter_nexi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fflutter_nexi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fflutter_nexi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AngeloAvv","download_url":"https://codeload.github.com/AngeloAvv/flutter_nexi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fflutter_nexi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31761996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","flutter","ios","nexi","payments"],"created_at":"2025-05-22T01:15:00.920Z","updated_at":"2026-04-13T17:02:57.370Z","avatar_url":"https://github.com/AngeloAvv.png","language":"Swift","funding_links":["https://github.com/sponsors/AngeloAvv"],"categories":[],"sub_categories":[],"readme":"# flutter_nexi\n\n\u003e ⚠️ **Unofficial Flutter plugin** for integrating Nexi/XPay payments on Android and iOS.\n\n[![Pub](https://img.shields.io/pub/v/flutter_nexi.svg)](https://pub.dev/packages/flutter_nexi)\n![Pipeline](https://github.com/AngeloAvv/flutter_nexi/workflows/Pipeline/badge.svg)\n[![Star on GitHub](https://img.shields.io/github/stars/AngeloAvv/flutter_nexi.svg?style=flat\u0026logo=github\u0026colorB=deeppink\u0026label=stars)](https://github.com/AngeloAvv/flutter_nexi)\n[![License: GPLv3](https://img.shields.io/badge/license-GPLv3-purple.svg)](https://www.gnu.org/licenses/gpl-3.0.html)\n[![](https://img.shields.io/static/v1?label=Sponsor\u0026message=%E2%9D%A4\u0026logo=GitHub\u0026color=%23fe8e86)](https://github.com/sponsors/AngeloAvv)\n\n## Overview\n\n`flutter_nexi` is a cross-platform plugin that allows you to integrate Nexi's [XPay SDK](https://developer.nexi.it/) into your Flutter apps. It provides a simple interface to initiate and handle payments on both Android and iOS using the official native libraries under the hood.\n\n\u003e **Note:** This is not an official Nexi package. Use it at your own discretion and verify compliance with Nexi's terms and security requirements.\n\n---\n\n## Features\n\n- ✅ Payment processing via Nexi XPay\n- 📱 Native integration on Android and iOS\n- 🔁 Callback-based payment result handling\n- 🧪 Test and production environment support\n\n---\n\n## Supported Platforms\n\n- ✅ Android (API 21+)\n- ✅ iOS (15.6+)\n\n---\n\n## Installation\n\nAdd the plugin to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n  flutter_nexi: ^1.0.0\n```\n\n## How to Make a Payment\n\nYou can trigger a payment using the `FlutterNexi` class. Here's a minimal example of how to initiate a payment when a button is pressed:\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_nexi/flutter_nexi.dart';\n\nclass MyApp extends StatefulWidget {\n  @override\n  State\u003cMyApp\u003e createState() =\u003e _MyAppState();\n}\n\nclass _MyAppState extends State\u003cMyApp\u003e {\n  // Initialize the plugin with your secret key\n  final _flutterNexiPlugin = FlutterNexi(secretKey: 'your_secret_key');\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Scaffold(\n        appBar: AppBar(title: const Text('Nexi Payment Example')),\n        body: Center(\n          child: FilledButton(\n            onPressed: () {\n              _flutterNexiPlugin.pay(\n                alias: 'your_alias',\n                codTrans: 'your_transaction_code',\n                amount: 1000, // in cents, i.e., €10.00\n                currency: 'EUR',\n              );\n            },\n            child: const Text('Pay'),\n          ),\n        ),\n      ),\n    );\n  }\n}\n```\n\n## 🔐 ProGuard Configuration (Android)\n\nIf you're building a **release version** of your app with **code shrinking and obfuscation** enabled (e.g., using R8 or ProGuard), you must add the following rules to prevent breaking Nexi's SDK functionality.\n\n### ➕ Add to `android/app/proguard-rules.pro`:\n\n```proguard\n## Nexi Rules\n-keep class it.angelocassano.flutter_nexi.**  { *; }\n-keep class it.nexi.xpay.**  { *; }\n\n# Suppress warnings for 3DS SDK classes\n-dontwarn com.nets.igfs_3ds_sdk_android.dto.project.AuthenticationRequestParameters\n-dontwarn com.nets.igfs_3ds_sdk_android.dto.project.ChallengeParameters\n-dontwarn com.nets.igfs_3ds_sdk_android.dto.project.ConfigParameters\n-dontwarn com.nets.igfs_3ds_sdk_android.dto.protocol.ErrorMessage\n-dontwarn com.nets.igfs_3ds_sdk_android.event.CompletionEvent\n-dontwarn com.nets.igfs_3ds_sdk_android.event.ProtocolErrorEvent\n-dontwarn com.nets.igfs_3ds_sdk_android.event.RuntimeErrorEvent\n-dontwarn com.nets.igfs_3ds_sdk_android.graphics.IUiCustomization\n-dontwarn com.nets.igfs_3ds_sdk_android.graphics.UiCustomization\n-dontwarn com.nets.igfs_3ds_sdk_android.service.IChallengeStatusReceiver\n-dontwarn com.nets.igfs_3ds_sdk_android.service.ITransaction\n-dontwarn com.nets.igfs_3ds_sdk_android.service.impl.ThreeDS2Service\n```\n\n## License\n\n`flutter_nexi` is available under the GPLv3 license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangeloavv%2Fflutter_nexi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangeloavv%2Fflutter_nexi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangeloavv%2Fflutter_nexi/lists"}