Hook for payment_status = Completed should be different for MassPay transactions.

Issue #29 closed
Drew Angell repo owner created an issue

Currently, we have a hook setup for paypal_ipn_for_wordpress_payment_status_completed which works as expected.

With MassPay, though, we are sending payments out of our PayPal account instead of receiving them. MassPay comes with a payment_status, though, and when it's completed it's triggering our regular payment_status_completed hook.

The thing is, people are going want to handle MassPay completed payments differently than they would handle any other completed payment where they're receiving money.

We need to filter out the masspay transactions from our current payment_status_completed hook, and then make a new hook to be used specifically for masspay transactions' payment_status value.

Comments (8)

  1. Log in to comment