Problem with Refund transactions not triggering hook..??
Issue #78
closed
User report from support ticket.
Seems that the function successfull_request_handler() is not working properly when it comes to handling a REFUND transaction from PayPal. I debugged the code to determine that this line:
if (isset($posted['txn_type']) && $posted['txn_type'] != 'masspay')
has both expressions set to FALSE when $posted['payment_status'] is set to 'Refunded' and $posted['txn_type'] is NOT set. Thus the do_action('paypal_ipn_for_wordpress_payment_status_'...) is never executed for the "paypal_ipn_for_wordpress_payment_status_refunded" event.
Comments (4)
-
-
- changed status to resolved
-
reporter - changed version to 1.1.0
-
reporter - changed status to closed
- Log in to comment
Problem with Refund transactions not triggering hook, ref
#78→ <<cset 4ddc20fa13af>>