• Resolved nahiri12

    (@nahiri12)


    For my site, other apps (that do not live “under” WordPress) rely on the membership-level of a user to authenticate access. I have processes in place to track when a subscription is cancelled (to remove access to the other parts of my site), but I’ve only been able to identify a cancellation when a user manually cancels their subscriptions through the standard PMPro process (following the cancel link to the cancel.php script).

    However, if a subscription is cancelled due to a failed payment through the gateway (Stripe, PayPal), or a user manually cancels their subscription through PayPal, or a subscription that was manually set by an admin with an expiration date expires, I haven’t found a way to programmatically identify these cancellations. Is there a pmpro hook or potentially a record of the types of cancellations in the database that may be accessed to update a user’s membership-level outside of WordPress?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Way to identify when a subscription is canceled due to failed payment?’ is closed to new replies.