• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Subscription – Action hook for cancelling a subscription

[Resolved] Subscription – Action hook for cancelling a subscription

· ·

Home › Forums › Stripe Payments Plugin › Subscription – Action hook for cancelling a subscription

Tagged: action hooks, hooks, Subscription, webhooks

  • This topic has 2 replies, 1 voice, and was last updated 6 months ago by mariuselz.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 6, 2024 at 10:07 pm #5293
    mariuselz
    Participant

    Hello,

    I am trying to send a request to my external API once a subscription is paid and cancelled. I have found this page: https://s-plugins.com/stripe-payments-plugin-action-hooks-reference/

    Here I can see “asp_stripe_payment_completed” hook which is working, I can see the subscription and stripe data objects in debug.log

    However, for “asp_subscription_invoice_paid” and more importantly, for “asp_subscription_canceled” I cannot see anything in debug.log

    I have all 3 hooks defined in functions.php
    So my problem is that my API doesn’t know when a subscription is cancelled.

    Any help or thoughts are much appreciated, thank you!

    Best,
    Marius

    November 6, 2024 at 10:20 pm #5294
    mariuselz
    Participant

    Update: Found this discussion: https://s-plugins.com/forums/topic/i-need-to-hook-into-the-chancel-subscription-function/

    I’m in the process of making a custom plugin right now and check. Will update.

    November 6, 2024 at 10:44 pm #5295
    mariuselz
    Participant

    Ok, it works. I created a plugin specifically for the hooks and it’s all good.

    Thank you, the plugin is really nice so far.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.