Project

General

Profile

Actions

Bug #7172

closed

Stripe: duplicate subscriptions on failed payment

Added by krileon over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
29 May 2018
Due date:
% Done:

100%

Estimated time:

Description

If a payment fails the subscription expires at CBSubs. This then allows the user to manually renew. However, if the Stripe account is set to retry (as is by default) and the user renews manually it generates a new subscription and updates the Customer object at Stripe with a valid payment method. This then causes the next retry of the OLD subscription to be successful. The result is they've 2 subscriptions and were billed twice.

Note quite sure how to best go about fixing this beyond checking if a subscription exists at Stripe already on renewal and if it does cancel it first. The failed payment IPN sent by Stripe should've caused CBSubs Stripe to cancel the subscription though so possible out-of-date issue on the users part. Needs further review.

https://www.joomlapolis.com/forum/277-cb-paid-subscriptions-support/239186-still-problems-with-reactivation-of-user-plan

Actions

Also available in: Atom PDF