Skip to content

Version 0.1.1: Add AES-256-CBC encryption support for PHP 7.0+

Choose a tag to compare

@aflorea4 aflorea4 released this 25 May 18:03
· 20 commits to main since this release

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