easypaisa_with_rsa_encryption 1.3.3
easypaisa_with_rsa_encryption: ^1.3.3 copied to clipboard
Effortlessly integrate Easypaisa into your app with our Flutter package. Simplify payments & ensure secure transactions using RSA Encryption for user data protection.
Changelog #
All notable changes to this project will be documented in this file.
1.3.3 - 2025-07-31 #
Updated #
- Dependencies:
- Upgraded
httppackage to latest stable version (^1.4.0)
- Upgraded
1.3.2 - 2025-03-16 #
Updated #
- Dependencies:
- Upgraded
httppackage to latest stable version (^1.3.0) - Upgraded
pointycastlepackage to latest stable version (^4.0.0)
- Upgraded
1.3.0 - 2025-03-09 #
Added #
- Transaction Inquiry Functionality: Added support for inquiring about transaction status using the Easypaisa API.
- New method:
inquireTransactioninApiService. - Includes validation and error handling for transaction inquiries.
- New method:
1.2.4 #
Changed #
- Refactoring: Cleaned up and refactored the
ApiService,RSAUtils, andEasypaisaWithRSAclasses for better readability and maintainability.- Extracted reusable logic into helper methods.
- Simplified key parsing and signing/verification processes.
- Improved error handling and validation.
1.2.3 #
Added #
- Example App: Added a complete Flutter example app demonstrating Easypaisa payment integration with RSA encryption.
- Includes a payment screen with input fields for amount, account number, and email.
- Implements payment request functionality using the
EasypaisaWithRSAclass. - Displays API response details (transaction code, description, ID, and signature validity).
- Supports sandbox and live environments.
- Includes proper error handling and loading states.
Changed #
- Documentation: Updated
README.mdandexample/README.mdto include setup instructions for the example app. - Dependencies: Added
pointycastleas a dependency in the example app for RSA encryption.
Fixed #
- Bug Fixes: Resolved minor issues in the example app related to form validation and state management.
1.2.0 - 2025-03-08 #
Added #
- Added a Flutter example app to demonstrate how to use the
EasypaisaWithRSApackage in a real-world scenario.- The example includes a
PaymentScreenwidget with input fields for amount, account number, and email. - It demonstrates how to initialize the package, make a payment request, and handle the API response.
- The example includes a
1.1.0 - 2025-03-08 #
Added #
- Added
isSignatureValidproperty to theApiResponsemodel to indicate whether the signature validation was successful. - The
requestPaymentmethod now returns an object with the following properties:response: The API response data.signature: The signature returned by the API.isSignatureValid: A boolean indicating whether the signature validation was successful.
Removed #
- Removed unnecessary dependencies:
convert: ^3.1.1(no longer needed).basic_utils: ^5.0.0(no longer needed).
Improved #
- Modularized the codebase for better maintainability:
- Separated RSA utilities into
rsa_utils.dart. - Separated API service logic into
api_service.dart. - Added models for
PaymentRequestandApiResponse.
- Separated RSA utilities into
- Improved code readability and organization.
- Enhanced error handling for API responses.
- Cleaned up
pubspec.yamlby removing unused dependencies to reduce package size and improve maintainability.
Fixed #
- No breaking changes or bug fixes in this release.
1.0.0 #
- Initial release.