Qasim
Qasim

Reputation: 1580

Submit Recurly form again, to restart an expired subscription?

I create a Recurly subscription using the V3 form components, and I'm storing the unique ID recurly generates, in my Rails backend.

I'm able to cancel/expire subscriptions (using the client.terminate_subscription method from my backend, using the unique Recurly ID).

However, if my user re-submits the recurly form with their credit card details, it creates an entirely new subscription.

Can I just resume the previous (now expired) subscription?

Upvotes: 0

Views: 57

Answers (1)

codo
codo

Reputation: 11

According to Recurly documentation:

Once a subscription is in the expired state, it cannot be reactivated; a new subscription has to be initiated.

So basically, when a subscription is cancelled you can reactivated it (resume it), but once it is expired you have to create a new one.

Here is link to their docs: https://docs.recurly.com/docs/expire-subscription#:~:text=Once%20a%20subscription%20is%20expired,subscription%20was%20set%20to%20expire.

Upvotes: 0

Related Questions