-
I think could be a good idea an example of a webhook/subscription logic to unsubscribe previous subscription. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hmm, that's not a standard way of doing things. You would just change the subscription plan/price from Basic to Premium instead of creating a whole new subscription. Edit: Use the |
Beta Was this translation helpful? Give feedback.
Hmm, that's not a standard way of doing things. You would just change the subscription plan/price from Basic to Premium instead of creating a whole new subscription.
Edit: Use the
@pay_subscription.swap("new_price_id")
method. https://github.com/pay-rails/pay/blob/master/docs/6_subscriptions.md#swap-a-subscription-to-another-plan