Version 0.1.1: Add AES-256-CBC encryption support for PHP 7.0+
What's New in v0.1.1
This release adds AES-256-CBC encryption support for PHP 7.0+ and fixes the 500 error issue when redirecting to the Netopia Mobilpay server.
🔐 Encryption Improvements
- Added automatic detection and use of AES-256-CBC for PHP 7.0+ with OpenSSL > 1.0.0
- Maintained backward compatibility with RC4 for older PHP versions
- Implemented proper IV (Initialization Vector) handling for AES encryption
- Fixed PKCS1 padding for public/private key operations
🐛 Bug Fixes
- Resolved the 500 error when redirecting to the Netopia Mobilpay server
- Fixed compatibility issues with newer PHP and OpenSSL versions
🧪 Testing Enhancements
- Added comprehensive tests for AES encryption and decryption
- Created tests for payment form generation with AES encryption
- Verified proper data structure and encoding
Installation
composer require aflorea4/laravel-netopia-payments:^0.1.1