Flutter
Integrate Hesabe Payment Gateway into your Flutter application. Cross-platform mobile development framework by Google with comprehensive payment processing capabilities.
Flutter Integration Steps
You can integrate Hesabe Payment Gateway in your Flutter app by following the comprehensive steps below:
Add Package Dependency
Download and add the package/plugin in your project's root folder and add the dependency in your pubspec.yaml file:
dependencies:
hesabe:
path: ./hesabe`Then run flutter pub get
Initialize Hesabe
Use the Sandbox environment URL and keys to test application with the Flutter plugin:
Hesabe hesabe = Hesabe(
baseUrl: 'https://XXXX.hesabe.com', // Environment URL provided by Hesabe
accessCode: 'XXXXX', // Access code provided by Hesabe
ivKey: 'XXXXX', // Iv Key provided by Hesabe
secretKey: 'XXXXX', // Secret key provided by Hesabe
);Add Event Listeners
Use Event Listener(s) to get the success and failure response from Hesabe:
hesabe.on(Hesabe.EVENT_PAYMENT_SUCCESS, (data) {
// TODO: Implementation pending
});
hesabe.on(Hesabe.EVENT_PAYMENT_ERROR, (data) {
// TODO: Implementation pending
});Download Kit
Complete Flutter integration kit with examples
| Example Kit | Download Link |
|---|---|
| Download Flutter Kit | Click here |
React Native
Integrate Hesabe Payment Gateway into your React Native application. Cross-platform mobile development framework with JavaScript and native performance for seamless payment processing.
PHP
Integrate Hesabe Payment Gateway into your PHP application. Complete encryption library with AES encryption and decryption capabilities for secure payment processing.