Skip to content

v3.0.0 - Critical Bug Fixes and Standardization

Choose a tag to compare

@ekapopbus ekapopbus released this 09 Jan 11:15
· 13 commits to master since this release

🐛 Critical Bug Fixes

  • Fixed non-existent WooCommerce hook: Changed woocommerce_thankyou_custom to proper woocommerce_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_transactionMONEYSPACE_TRANSACTION
    • MONEYSPACE_transaction_orderidMONEYSPACE_TRANSACTION_ORDERID
    • MONEYSPACE_special_instructions_to_merchantMONEYSPACE_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