sadvis
Forum Replies Created
-
It is quite obvious that the problem is nested in the PDT and you won’t be harmed if PDT is disabled which is against EDD recommendation.
Please double check edd_paypal_process_pdt_on_return which only verifies the transaction ID to be valid and associated with the specified token. NO AMOUNT CHECK!
PDT changes the status from pending to complete automatically.
and yes, after a few minutes, the IPN detects the price miss match and changes the status from Complete to Failed but too late, we’ve already delivered the product.Cheers 😉
Unfortunately, the IPN event happens asynchronously – usually a few minutes later – while the EDD system has already sent the purchase receipt – which usually/always includes the download links – and has triggered the edd_complete_purchase and edd_after_payment_actions actions for the manipulated purchase.
It is also noticeable that even after receiving the IPN indicating failure in the payment, although the payment is marked as failed, the edd_after_payment_actions remains valid and the task will be executed.