Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor angelleye

    (@angelleye)

    That would depend on how you have the donation payment setup. Are you using a basic donate button that you created in PayPal, or did you set that up with Express Checkout, or what exactly?

    The best thing to do, probably, is just run a test payment using your donate button, and then check to see what txn_type was used in the raw IPN that gets saved for that payment. Then you would use the hook that corresponds to that txn_type.

    So, instead of paypal_ipn_for_wordpress_txn_type_cart you might use paypal_ipn_for_wordpress_txn_type_web_accept, for example.

    Thread Starter Moishy

    (@moishy)

    Well that was easy. Thanks!

    Plugin Contributor angelleye

    (@angelleye)

    Glad to hear it!

    If you have a moment to leave a review for the plugin that would be greatly appreciated. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘multiple hooks’ is closed to new replies.