134 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 54142b611c Update readme.txt for releasing 1.5.3 2024-01-13 23:23:04 +07:00
Dat Hoang 9565a8f574 Sanitize admin settings 2024-01-13 23:19:51 +07:00
Dat Hoang e0b5010e7e Update version info for 1.5.2 release 2021-10-03 01:25:59 +07:00
Dat Hoang 051a65724c Update readme.md 2021-10-03 01:19:09 +07:00
Đào Hoàng Sơn 860354c64f Update VN cities as of July 1st, 2021 (#81) 2021-10-03 01:17:22 +07:00
Dat Hoang c89c14094f Add GitHub Actions for WPorg deploy and asset update (#87)
* Add GitHub Actions for WordPress.org Plugin Readme/Assets Update

* Moved off WPorg asset files to wordpress.org folder

* Add GitHub Actions to release to WP.org
2021-10-03 01:07:13 +07:00
Dat Hoang 37c7d71755 Update version - compatibility for ver 1.5.2 #86 2021-10-03 00:15:37 +07:00
Dat Hoang 8658b6d753 Update version - compatibility for ver 1.5.2 2021-10-03 00:14:17 +07:00
Dat Hoang 69a51f43ea Hot fix - 1.5.1 - Fix the loading of WooViet_VND_PayPal_Standard
Reported in https://wordpress.org/support/topic/plugin-bi-loi-phan-chuyen-doi-tien-te-paypal/

Bug introduced in this line and commit https://github.com/htdat/woo-viet/commit/752f6c26f35c33ffede1f3da9d208ca0e74ae7d8#diff-69930de797b06bf012c5e6601f0f0caeR260
2020-09-13 08:43:38 +07:00
Dat Hoang 90543c378d Finalize 1.5.0 #79
Related #79
2020-09-08 23:06:15 +07:00
Dat Hoang 0e0ef82954 Add rating and support links in the end of the settings page #30
Close #30
2020-09-06 16:53:02 +07:00
Dat Hoang e6759edbf1 Fix: make exchange rate fields better visible 2020-09-06 15:57:58 +07:00
Dat Hoang 0767e86331 Merge pull request #77 from htdat/fix/73
Fix two issues with Support VND for PayPal Checkout when testing with Woo 4.4.1
2020-09-06 14:19:44 +07:00
Dat Hoang 05ae206a4e Ensure that PayPal Checkout SDK will load with the correct currency
Details in this comment https://github.com/htdat/woo-viet/issues/73#issuecomment-685841637
2020-09-03 21:13:06 +07:00
Dat Hoang 7c40f3b69a Let action ppec_match_currency_order run after the other action in the main plugin
More details in https://github.com/htdat/woo-viet/issues/73#issuecomment-685768769
2020-09-03 21:09:05 +07:00
Dat Hoang 752f6c26f3 Tighten condtions to load support for PP Standard and PP Checkout 2020-09-03 20:54:40 +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 3a82b9d23c Handle OnePay options in the settings page better
If a payment gateway option is NOT checked, it should not echo any link to configuration pages.
2020-09-03 20:01:24 +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 bf2f84a380 Add settings to handle OnePay Intl gateway 2020-09-03 19:38:18 +07:00
Dat Hoang 61308bb4c2 Update international-settings.php 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
Dat Hoang 55b7b14c5d TEMP - add important changes for intl gateway 2020-09-03 19:38:18 +07:00
Dat Hoang 83a9922426 Start developing ver 1.5.0 2020-09-03 19:38:18 +07:00
Dat Hoang e15f18a0bd Release 1.4.5 2019-10-21 23:05:21 +07:00
Dat A8C19 f3fae72f67 Update meta info for 1.4.5 2019-10-21 23:02:41 +07:00
Dat A8C19 6250762e7b Reformat code - no major change 2019-10-21 23:02:41 +07:00
Đào Hoàng Sơn 9edd924c1b Update VN cities. (#68)
Data source: https://github.com/daohoangson/dvhcvn
2019-10-21 23:02:41 +07:00
Dat Hoang 195f246f22 Fix issue #65 (#67)
* An idea to fix issue 65

Needs to refine the code before publishing it

* Polish the fix for issue #65

* Needs to remove the filter valid-paypal-standard-ipn-request also
2019-10-21 23:02:41 +07:00
Dat A8C19 ed92de526a Start working on 1.4.5 2019-10-21 23:02:41 +07:00
Long 6707c735b5 Support shipping order fields for the VietNam standard 2019-03-27 21:55:03 +07:00
Dat Hoang 68b9b75adf Release 1.4.4 for a small fix
Co-Authored-By: longnguyen <longkt@users.noreply.github.com>

#60
2019-02-24 20:41:30 +07:00
longnguyen b2414f500b Fix the order of Provine - District field not working when update WC to version 3.5.1 (#60) 2019-02-24 20:22:58 +07:00
Dat Hoang a41866d8ea Merge pull request #57 from htdat/1.4.3-dev
Merge 1.4.3
2018-07-31 13:08:43 +07:00
Dat Hoang 975a41f807 Prepare for the release of 1.4.3 #53 2018-07-31 13:05:41 +07:00
Dat Hoang 832d8ea491 Add the development version 1.4.3 2018-05-12 20:04:29 +07:00
Dat Hoang 12649806c3 Fix fatal error when handling PayPal IPN #56 2018-05-12 09:48:47 +00:00
Dat Hoang 690312dd87 Revert this commit 1ad14ee9b8. Wrong approach 2018-05-12 07:28:54 +00:00
Dat Hoang 98d2a83cb1 Update 1.4.2 - Fix the fatal error when WooCommerce PayPal Express Checkout Gateway is not active
Related #53 and #54
2018-04-26 16:48:46 +07:00
Dat Hoang 64bac93cdf Merge pull request #52 from htdat/1.4-dev
Merge 1.4-dev to master
1.4
2018-04-24 23:39:55 +07:00
Dat Hoang 705e944b4e Clean up the readme.md file
Keep the full change log only, other info should be found on WordPress.org page
2018-04-24 23:36:37 +07:00
Dat Hoang 4eeb5c8d60 Add change logs and update the version 2018-04-24 23:34:25 +07:00