pmpro_stripe_subscription_deleted

Execute custom code when a subscription is cancelled on Stripe’s end.


do_action("pmpro_stripe_subscription_deleted", int $user->ID);

pmpro_subscription_payment_failed

Execute custom code when a subscription payment fails. Passes the last successful MemberOrder object.


do_action("pmpro_subscription_payment_failed", MemberOrder $old_order);