change WC_Gateway_Paypal email address
-
Hi. I want to change the PayPal email address in some cases (with code). I have done it on the checkout, but I have the following problem.
The payment is successful, but the IPN of PayPal make the order to on-hold because it says that it is from another paypal email address.
I have found the point in the code that it makes the order on-hold and there is not any filter to undo this. I am referring to the
protected function validate_receiver_email( $order, $receiver_email )
.I would appreciate any help
- The topic ‘change WC_Gateway_Paypal email address’ is closed to new replies.