Commit Graph

11 Commits

Author SHA1 Message Date
Dat Hoang 96bb0fa9ab Fix PHP 8.2+ deprecation warnings for dynamic property creation (#95)
Declare protected properties in WooViet_OnePay_Abstract class to resolve
deprecation warnings when creating dynamic properties in PHP 8.2+.

Properties declared:
- $testmode
- $merchant_id
- $access_code
- $secure_secret
- $user
- $password
- $debug

This fix is backward compatible with older PHP versions and resolves
the warnings reported in issue #94.

Fixes #94

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-06 11:31:36 +07:00
Dat Hoang 5487c55a2b Improvement: remove redundancy 2020-09-03 20:45:57 +07:00
Dat Hoang 3c818d3d6d OnePay gateways: move Order Button text to payment settings 2020-09-03 20:23:47 +07:00
Dat Hoang 7a2ac200d8 Small changes to make the code cleaner 2020-09-03 19:38:18 +07:00
Dat Hoang ec28b890fa Fixed depreciated cancel_order method 2020-09-03 19:38:18 +07:00
Dat Hoang 9bc9726151 Handle handle_onepay_querydr 2020-09-03 19:38:18 +07:00
Dat Hoang d039192043 Handle error codes and messages 2020-09-03 19:38:18 +07:00
Dat Hoang 3dde550c88 Handle different logo images 2020-09-03 19:38:18 +07:00
Dat Hoang 14aadd581b Handle order notes 2020-09-03 19:38:18 +07:00
Dat Hoang be85184ca2 Handle different payment and queryDR links 2020-09-03 19:38:18 +07:00
Dat Hoang 659c7e63d3 Seperate Intl and Domestic classes for OnePay 2020-09-03 19:38:18 +07:00