Critical Bugs: Incorrect Transaction ID Handling and Payment Hook Failures
-
Hi,
This plugin has several bugs. Let me list a few:
woocommerce_payment_completenot firing:
The plugin does not trigger thewoocommerce_payment_completehook, which is a WooCommerce default. This hook should fire only when the payment is successfully Authorized or Captured. It should not fire if the payment is pending, failed, or not fully authorized/captured.- Incorrect Transaction ID (
_transaction_id) Handling:
The plugin does not save the correct transaction ID in the WooCommerce order (_transaction_idmeta key).- If a customer makes multiple attempts to complete payment, the plugin saves the first transaction ID (regardless of success or failure).
- It should only save the successful transaction ID.
- Because of this error, the payment capture fails later — the system tries to capture payment using an incorrect transaction ID.
- Incorrect Handling of
_wlop_transaction_status_code:
The plugin is saving the transaction status code from the first attempt (even if it failed) and does not update it when a subsequent payment attempt succeeds.
It should always update to reflect the latest transaction status. - Incorrect Handling of
_wlop_transaction_id:
The meta key_wlop_transaction_idshould store all attempted transaction IDs (in case the customer tries multiple times).
Currently, it only saves the first transaction ID.
Please fix these issues as soon as possible.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Critical Bugs: Incorrect Transaction ID Handling and Payment Hook Failures’ is closed to new replies.