Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Stripe cancel at end of period interpreted as extension by SWPM

Simple Membership Plugin › Forums › Simple Membership Plugin › Stripe cancel at end of period interpreted as extension by SWPM

Tagged: cancellation, stripe

  • This topic has 0 replies, 1 voice, and was last updated 1 year, 1 month ago by MADIdeas.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • May 9, 2025 at 1:48 pm #30367
    MADIdeas
    Participant

    Hi, been using SWPM for 6 years now and it’s great, however recently I’ve noticed a situation whereby when cancelling in the Stripe dashboard but selecting the cancel at the end of the current period, SWPM is interpreting the webhook as a valid extension.

    Any ideas?

    From Stripe’s webhook log:
    {
    “id”: “evt_xxxxxxx”,
    “object”: “event”,
    “api_version”: “2019-08-14”,
    “created”: 1746537816,
    “data”: {
    “object”: {
    “id”: “sub_xxxxxxx”,
    “object”: “subscription”,
    “application”: null,
    “application_fee_percent”: null,
    “automatic_tax”: {
    “disabled_reason”: null,
    “enabled”: false,
    “liability”: null
    },
    “billing”: “charge_automatically”,
    “billing_cycle_anchor”: 1593717093,
    “billing_cycle_anchor_config”: null,
    “billing_thresholds”: null,
    “cancel_at”: 1751483493,
    “cancel_at_period_end”: true,
    “canceled_at”: 1746537816,
    “cancellation_details”: {
    “comment”: null,
    “feedback”: null,
    “reason”: “cancellation_requested”
    },
    …
    …
    “request”: {
    “id”: “req_xxxxx”,
    “idempotency_key”: null
    },
    “type”: “customer.subscription.updated”
    }

    ———————-
    SWPM log:

    [2025/05/06 14:23:39] – SUCCESS: Stripe subscription webhook received: customer.subscription.updated. Checking if we need to handle this webhook.
    [2025/05/06 14:23:39] – SUCCESS: Stripe customer.subscription.updated webhook status: active
    [2025/05/06 14:23:39] – SUCCESS: Updating the access start date if applicable for this subscription payment. Subscriber ID: sub_xxxxxxxxx, Email: , Account status: active
    [2025/05/06 14:23:39] – SUCCESS: Found a record in the member table. The Member ID of the account to check is: 473 Membership Level: 3
    [2025/05/06 14:23:39] – SUCCESS: Updated the member profile with current date as the subscription start date.
    [2025/05/06 14:23:39] – SUCCESS: Value after update – Subscriber ID: sub_xxxxxxxxx, Start Date: 2025-05-06
    [2025/05/06 14:23:39] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: customer.subscription.updated

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

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy