v3.0.0 - Critical Bug Fixes and Standardization
🐛 Critical Bug Fixes
- Fixed non-existent WooCommerce hook: Changed
woocommerce_thankyou_customto properwoocommerce_thankyou_{$payment_method_id} - Fixed payment status check: Corrected $_GET variable typo in check-payment.php (resolves 403 forbidden errors)
- Fixed QR payment JavaScript: Added missing wp_register_script() and wp_enqueue_script() calls
- Fixed JavaScript typo: Corrected refreshIdOfChechPayment → refreshIdOfCheckPayment
🔄 Code Standardization
- Standardized all database meta keys to UPPERCASE naming convention:
MONEYSPACE_transaction→MONEYSPACE_TRANSACTIONMONEYSPACE_transaction_orderid→MONEYSPACE_TRANSACTION_ORDERIDMONEYSPACE_special_instructions_to_merchant→MONEYSPACE_SPECIAL_INSTRUCTIONS_TO_MERCHANT
✨ Improvements
- Thank you page now properly calls
moneyspace_update_order_status() - Improved code organization with reordered hook registrations
- Enhanced consistency across all payment methods (credit card, QR, installment)
📦 Files Modified
16 files updated across payment gateways, templates, and view files.
🔗 Links
- Full Changelog: v2.14.0...v3.0.0
- Documentation: https://github.com/MoneySpace-net/money-space-for-Woocommerce#readme