Execute custom code when a subscription is cancelled on Stripe’s end.
do_action("pmpro_stripe_subscription_deleted", int $user->ID); |
Parameters
- int $user->id
- int;
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/services/stripe-webhook.php
View in Source Code