Here's the general sequence of Gravity Forms actions/hooks called when Paypal new subscription payment is made, followed by cancellation / refund.
I was carefully studying this whole process for the few past days and was bombarding GF staff with dozens of messages along the way.
I hooked into *everything* that GF Paypal Addon offers and Logged *all* the messages that are flying through in *live* mode.
So here's sequence of GF events you may expect:
===========================
New subscription:
===========================
gform_paypal_pre_ipn (subscr_signup)
gform_paypal_fulfillment
gform_user_registered
gform_post_payment_status
gform_paypal_post_ipn
gform_paypal_pre_ipn (subscr_payment)
gform_post_payment_status
gform_paypal_post_ipn
===========================
Subscription cancellation
===========================
gform_paypal_pre_ipn
gform_subscription_canceled
gform_post_payment_status
gform_paypal_post_ipn
===========================
Refund:
===========================
gform_paypal_pre_ipn
gform_post_payment_status
gform_paypal_post_ipn
Hope it will help someone.
Soon I'll publish step-by-step tutorial on using Gravity Form to build multilevel membership website with recurring payments and possibility to offer invitation codes.
Gleb