openpay_bbva
1.2.2, released 6 months ago by an unverified publisher
Flutter plugin for tokenizing card payments and device sessions via the Openpay BBVA platform.
What it does
Allows Flutter apps to integrate with the Openpay BBVA payment gateway. It supports card tokenization and card saving via HTTP on all platforms, as well as native device session ID collection for anti-fraud support on iOS and Android.
AI-written summary of version 1.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to process card payments via Openpay BBVA in a Flutter application.
- You require card tokenization or card saving functionality across mobile, web, and desktop platforms.
Skip it when
- You are using a payment gateway other than Openpay BBVA.
- You need a complete UI component set for checkout rather than direct tokenization logic.
Strengths
- Supports card tokenization and card saving across iOS, Android, Web, Windows, macOS, and Linux.
- Includes native anti-fraud device session ID generation for iOS and Android.
- Provides structured error handling through custom Openpay exceptions.
Weaknesses
- Device Session ID is not supported on Web and desktop platforms (returns null).
- Requires platform-specific configuration and permissions on Android.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add INTERNET and ACCESS_NETWORK_STATE permissions to AndroidManifest.xml for Android. Initialize OpenpayBBVA with your Merchant ID and Public API Key.
final openpay = OpenpayBBVA(
merchantId: 'YOUR_MERCHANT_ID',
publicApiKey: 'YOUR_PUBLIC_API_KEY',
productionMode: false,
country: Country.MX,
);
final token = await openpay.getCardToken(
CardInformation(
holderName: 'John Doe',
cardNumber: '4111111111111111',
expirationMonth: '12',
expirationYear: '25',
cvv2: '123',
),
);Alternatives
Packages that do the same job and could replace openpay_bbva.
- pay
Integrate Apple Pay on iOS and Google Pay on Android with ready-made buttons.
92Compare - adyen_checkout
Adyen checkout library for Flutter to accept payments with cards and local methods.
86Compare - sumup
Flutter wrapper for the SumUp SDK to connect to terminals and accept card payments.
86Compare - moyasar
Accept payments via Apple Pay, Samsung Pay, STC Pay, and Credit Card using Moyasar.
81Compare