flutter_payment_sdk_unofficial

Creator: coderz1093

Last updated:

0 purchases

flutter_payment_sdk_unofficial Image
flutter_payment_sdk_unofficial Images
Add to Cart

Description:

flutter payment sdk unofficial

Flutter Payment SDK Unofficial #
If you find this Flutter Payment SDK Unofficial helpful, please consider buying me a coffee to support its development and maintenance:

Welcome to the Flutter Payment SDK Unofficial! This plugin allows Flutter developers to easily integrate with our unofficial payment gateway to process payments in their applications.
Introduction #
This Flutter plugin provides an interface for developers to interact with our unofficial payment gateway. Please note that this plugin is not officially endorsed or supported by the payment gateway provider and should be used with caution.
Getting Started #
To get started with the Flutter Payment SDK Unofficial, follow these simple steps:
Installation #
Add the following line to your pubspec.yaml file to include the plugin in your project:
dependencies:
flutter_payment_sdk_unofficial: ^0.0.1
copied to clipboard
Then, run the following command to install the plugin:
flutter pub get
copied to clipboard
Initialize #
In your Dart code, import the Unofficial Payment Gateway package:
import 'package:flutter_payment_sdk_unofficial/flutter_payment_sdk_unofficial.dart';
copied to clipboard
To initialize the plugin with your payment gateway credentials, call the initialize method with your API keys:
// Please change to PGWSDKEnvironment.production on release.
FPSDKUnofficial.initialize(PGWSDKEnvironment.sandbox);
copied to clipboard
Example Code #
Here's an example of how to use the Flutter Payment SDK Unofficial to make a payment:
try {
final result = await FPSDKUnofficial.pgwPayWithCreditCard(
'<Payment Token>',
cardNumber: '4111111111111111',
expMonth: 12,
expYear: 2026,
securityCode: '123',
name: 'David Billy',
);

// Handle the payment response here
if (result?.data != null) {
// Example open web from url
final _url = Uri.parse(result!.data!);
await launchUrl(_url);
}

} catch (e) {
// Handle any errors that occurred during the payment process
}
copied to clipboard
Developer Guidelines #
Here are some important details that developers need to know when using this plugin:

This plugin is not officially supported by the payment gateway provider. Use it at your own risk.
Ensure that you have the necessary API keys and credentials to use the payment gateway service.
Refer to the official documentation of the payment gateway provider for additional information on how to configure and use their services.
Make sure to handle errors gracefully and provide a good user experience when dealing with payment failures or exceptions.

Please refer to the official documentation of the payment gateway provider for specific details and guidelines related to their service.
Feedback and Issues #
If you encounter any issues or have suggestions for improving this plugin, please create an issue on our GitHub repository.
License #
This project is licensed under the MIT License.
Happy payment processing with Flutter!

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.