Skip to Content Skip to Menu

Stripe auto-renewals recorded as paid but subscriptions not extended

  • wintercorn
  • wintercorn
  • ONLINE
  • Posts: 251
  • Thanks: 23
  • Karma: 2
22 hours 7 minutes ago #344853 by wintercorn
Since 2026, automatic Stripe renewals on our site have stopped extending CBSubs subscriptions, even though the webhook reports success.What happens on renewal:
  1. Stripe charges the member's annual renewal successfully.
  2. The
    Code:
    invoice.payment_succeeded
    webhook reaches CBSubs, which replies HTTP 200 with:
    Code:
    "webhook notice: version is newer than supported, but will still attempt to process. webhook process: success"
  3. The payment is recorded in CBSubs Payments against the correct basket, the original order for that subscription, matching the order ID in the Stripe subscription metadata.
  4. But the subscription's expiry date is not extended. It stays at the old expiry date, the member is moved to our expired user group and loses access.
This has affected at least 9 members' automatic renewals this year. New sign-ups are fine.Setup:
  • Stripe webhook API version: 2026-08-26.dahlia (account default 2026-11-18.endive)
  • Webhook events: charge.refunded, charge.succeeded, charge.failed, charge.dispute.created, charge.dispute.closed, payment_intent.succeeded, payment_intent.payment_failed, checkout.session.completed, invoice.payment_succeeded, invoice.payment_failed, customer.subscription.deleted
  • CB version: 2.12.0, CBSubs version: 4.9.0+build.2026.10.22.21.24.12.c53872b7e
  • Joomla 5.4.12, PHP 8.5.13
Questions:
  1. Is this caused by the API version being newer than CBSubs supports? If so, which API version should we pin the webhook to?
  2. What's the correct way to fix the affected subscriptions without switching them from automatic to manual renewal?
I can send the specific basket, payment and Stripe event IDs privately if that helps.Thanks

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50850
  • Thanks: 8713
  • Karma: 1475
21 hours 32 minutes ago #344854 by krileon

The payment is recorded in CBSubs Payments against the correct basket, the original order for that subscription, matching the order ID in the Stripe subscription metadata.

But the subscription's expiry date is not extended. It stays at the old expiry date, the member is moved to our expired user group and loses access.

This to me suggests something is conflicting. If the payment is recorded that should absolutely be renewing the subscription. The only way it can't is if something is interrupting this. Do you have any errors logged in CBSubs > History Log? Are you executing custom database queries with CBSubs SQL Actions or CB Auto Actions, or any PHP in CB Auto Actions?

What's the correct way to fix the affected subscriptions without switching them from automatic to manual renewal?

Edit the subscription in CBSubs > Subscriptions by clicking the # under the ID column then adjusting the following to force it enabled again.

Last renewal date: date of the renewal payment
Expiration date: date they would expire on after renewing (generally starting from last renewal date)
Status: Active
Previous Status: Active
Autorenew Type: Mandatory (or User-chosen if recurring is optional)
Autorecurring Type: Autorecurring with notifications
Previous Autorecurring Type: Autorecurring with notifications

Stripe webhook API version: 2026-08-26.dahlia (account default 2026-11-18.endive)

Latest CBSubs Stripe release is using 2026-09-30.endive. I'd recommend updating your account API and webhook versions, but we've backwards compatibility for webhooks as far back as 2022-11-15 so that shouldn't really be a problem.

Given CBSubs responded with a "webhook process: success" it means the entire payment process was successful as it early exists in the event that the webhook fails in any way. So I don't think the webhook is the issue. I think the issue is something on your site is breaking the renewal process.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • wintercorn
  • wintercorn
  • ONLINE
  • Posts: 251
  • Thanks: 23
  • Karma: 2
5 hours 4 minutes ago #344855 by wintercorn
Hi Krileon,Thanks, that helped. I've traced one affected subscription through its CBSubs change log, and there's a clear pattern:
  • Aug 2025: created and activated as "New autorecurring with notifications" on plan 11.
  • Nov 2025: first Stripe auto-renewal processed correctly ("Renewed autorecurring with notifications").
  • Apr 2026: an admin edited the subscription in the backend and changed plan_id from 11 to 16, a new combined membership plan with the old grade as a plan option (integrations set to
    Code:
    {"planoptions":{"subscription-level":["PLAN-NAME-REMOVED"]}}
    ). Nothing else was changed.
  • Nov 2026: Stripe charged the renewal. The payment is recorded against the original basket, and the webhook returned "success", but there's no change-log entry for a renewal.
  • 26 Nov 2026: the system expired it ("deactivated with status Expired"), with autorecurring type now 0 and previous autorecurring type 2.
The History Log shows no errors, and we have no SQL Actions in use but several CB Auto Actions which only change a usergroup or send an email based on the newly activated sub level.So it looks like changing a subscription's plan in the backend stops later Stripe renewals from being applied. The basket and Stripe subscription still belong to the old plan, and the subscription is now on the new one. Is that expected? If so, what's the correct way to move members to a new plan without breaking their auto-renewals?

I've fixed this subscription manually as you described. Several other members were moved to plan 16 the same way, so I'd like to fix the cause before their renewals come round.Thanks

Please Log in or Create an account to join the conversation.

  • wintercorn
  • wintercorn
  • ONLINE
  • Posts: 251
  • Thanks: 23
  • Karma: 2
3 hours 4 minutes ago #344856 by wintercorn
I've fixed the affected subscriptions manually as you described, and they're now active and autorecurring. I've also checked the whole site's history, and the pattern is very clear:
  • On 23 Apr 2026, 135 subscriptions were moved in the backend from our four old plans (1, 2, 9, 11) to a new combined plan (16), with the old grade stored as a plan option (e.g.
    Code:
    {"planoptions":{"subscription-level":["REMOVED"]}}
    ). Only plan_id and integrations were changed.
  • Since then, 34 automatic Stripe renewals of these existing subscriptions have been charged, and CBSubs applied none of them. In every case the webhook returned "webhook process: success" and the payment was recorded against the original basket, but the subscription wasn't extended. There's no "Renewed" entry in its change log, and it was expired about a week later.
  • The same subscriptions renewed automatically without any problem in 2024 and 2025, before the move.
  • The only renewals CBSubs has applied on plan 16 since then came from new checkouts (new baskets). New sign-ups work normally.
  • There are no SQL Actions. We have CB Auto Actions, but they only change user groups and send emails.
So it looks like when a subscription's plan is changed in the backend, CBSubs no longer applies Stripe recurring payments made for the original basket and plan.About 42 more of these subscriptions renew between now and April 2027. Could you advise:
  1. Is this expected behaviour when changing a subscription's plan?
  2. Would moving them back to their original plans make the existing Stripe subscriptions renew correctly again, or is there a supported way to link the old baskets to the new plan? Stripe has the metadata - mostly.
  3. If neither, what's the recommended way to move members to the new plan without breaking their auto-renewals?
Thanks
 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50850
  • Thanks: 8713
  • Karma: 1475
1 hour 56 minutes ago #344857 by krileon
You cannot change the plan of an active subscription. The CBSubs > Subscriptions edit view is for emergency fixing of subscription values. It is not meant to be used to change subscriptions.

Changing users from one plan to another typically means you need to force cancel their renewals at Stripe, edit the plan to no longer accept renewals, and have them upgrade into your new plan on their next renewal so they can properly accept the terms of the new plan.

Effectively the plan in the subscription now does not match the basket. In CBSubs it's a basket (invoice) that's being paid. So you're going to have to fix multiple other database rows referencing that subscription. Their basket will have a row in _cbsubs_payment_items for the plan purchased. You'll need to fix the plan_id. Ideally also fix description and alias to match your new plan as well. After fixing _cbsubs_payment_items I believe that should work ok.

The reason the webhook was successful is as far as CBSubs is concerned the basket still matches the webhook. So the payment is valid. The problem happens when it loops through the subscriptions in the basket and activates them. Since those plans don't exist anymore it can't do anything. You should actually see a notice about a missing plan in CBSubs > History Log regarding that.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • wintercorn
  • wintercorn
  • ONLINE
  • Posts: 251
  • Thanks: 23
  • Karma: 2
1 hour 47 minutes ago #344858 by wintercorn
Thanks, that matches our History Log exactly ("plan id 16 of subscription id … does not match plan id 11"). Before we edit
Code:
_cbsubs_payment_items
: plan 16 has no fixed price and stores the grade as a plan option (
Code:
{"planoptions":{"subscription-level":["Full"]}}
in the subscription's integrations). Does the payment item also need that option stored for the renewal amount to work, and are
Code:
plan_id
,
Code:
description
and
Code:
alias
the only columns to change?

Please Log in or Create an account to join the conversation.

Moderators: beat, nant, krileon
Powered by Kunena Forum