Package selection guidance compiled from public package information, community data, and project usage.
The flutter_checkout_payment package enables integration of the Checkout online payment gateway into Flutter applications. It wraps native SDKs for Android and iOS, providing a seamless way to process payments within Flutter environments. Designed for developers seeking reliable, secure payment processing, it supports key features like tokenization and transaction handling. The plugin is maintained by shadyboshra.com and is compatible with both major mobile platforms.
Use cases
In-app purchases
E-commerce checkout
Subscription billing
Digital service payments
Key features
Native SDK integration
Android and iOS support
Secure payment processing
Tokenized transactions
Easy setup via pub
Real-time transaction status
Suitable for
Mobile e-commerce apps
Digital product sellers
Subscription-based services
Developers using Flutter with Checkout
Apps requiring secure payment gateways
Considerations
Requires Checkout account setup
Needs proper API keys configuration
Limited to Checkout payment provider
Platform-specific configurations may be needed
Depends on stable network connectivity
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Flutter Checkout Payment
Explain
This plugin is for Checkout online payment. It's implemented the native SDKs to work on Flutter environment.
Getting Started
Add this to your package's pubspec.yaml file:
dependencies:flutter_checkout_payment:^1.4.4
Android
No additional work required
iOS
The SDK build for >= iOS 10.0, so you need to set the platform version in the Podfile to iOS 10 or above.
init(@required String key, Environment environmentdefaultEnvironment.SANDBOX}) Initialize the Checkout API with key and environment. Return a bool of the successful status.
Future<CardTokenisationResponse>
generateToken({@required String number, @required String name, @required String expiryMonth, @required String expiryYear, @required String cvv, BillingModel billingModel}) Generate the token which it will be used to make the payment, return the CardTokenisationResponse value.
Future<bool>
isCardValid({@required String number}) Check whether the card number is valid or not, return a bool with the result.
Future<String>
handle3DS({@required String authUrl, @required String successUrl, @required String failUrl}) Handle a 3DS challenge, returns token if success or null if failure.
Future<CardTokenisationResponse>
generateApplePayToken({@required String paymentDataBase64}) Generate the token based on Apple pay data and return the CardTokenisationResponse value.
Future<CardTokenisationResponse>
generateGooglePayToken({@required String tokenJsonPayload}) Generate the token based on Google pay data and return the CardTokenisationResponse value.
Copyright (c) 2021 Shady Boshra. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.