Version 2.2.1

New Features

  • Tap Payments Integration: Added full support for Tap Payments gateway with Test and Live environment keys.
  • Inactivity Auto-Logout: Implemented a global security mechanism to log out users after a specified period of inactivity.

Improvements

  • Security & Session Hardening: Refactored logout logic in UserProfile.blade.php and implemented HMAC-SHA256 signature verification in TapPaymentAPI.php.
  • Global Session Invalidation: Password changes now correctly invalidate all active cookies globally via the UsersList modal.
  • Payment Reconciliation: Added robust order capturing, error handling, and idempotency checks to PayPalAPI.php and TapPaymentAPI.php.
  • Numeric Data Integrity: Sanitized all numeric inputs (float casting) across Recharge, UserProfile, and UsersList views for PHP 8 strict typing compatibility.
  • Full Localization: Synchronized all security and payment keys across English, Portuguese, German, Italian, and Romanian.

Fixes

  • Blade Template Error: Resolved a PHP syntax error in EditPage.blade.php caused by an extra semicolon after a Blade directive.
  • Backup System Redirect: Fixed 404 errors during backup downloads by correcting path generation logic in CreateBackup.php and WebsiteBackups.php.
  • Recharge Page Error: Resolved "Call to undefined function app()" error on the Recharge page.
  • Romanian Translation: Restored structure and content of the Romanian language file.
  • Payment Notifications: Fixed missing user confirmation emails for certain gateway flows.

Files Changed (Manual Update)

  • src/apps/pages/api/controllers/PayPalAPI.php
  • src/apps/pages/api/controllers/TapPaymentAPI.php
  • src/apps/pages/api/controllers/WebsiteBackups.php
  • src/apps/pages/admin/views/panel/UserProfile.blade.php
  • src/apps/pages/admin/views/panel/Recharge.blade.php
  • src/apps/pages/admin/views/panel/UsersList.blade.php
  • src/apps/pages/admin/views/panel/EditPage.blade.php
  • src/apps/pages/admin/views/panel/settings-general/GeneralOption.blade.php
  • src/system/core/Load.php
  • src/system/core/CreateBackup.php
  • languages/en.php
  • languages/pt.php
  • languages/de.php
  • languages/it.php
  • languages/ro.php