#solancer
1 messages · Page 1 of 1 (latest)
well we not sure if this was triggered by an API thru our dashbaord by someone
or if this happen automatically somehow
also would like to know what's the best way to reinstate the user's subscription since he has paid for the month of Jan
The delete request was triggered from your backend.
The best way is to issue a refund to the Customer and create a new Subscription.
Before that, please make sure that nothing deletes Subscriptions without you knowing.
If you do need to cancel it, you can prorate the Subscription so it returns a credit to the customer: https://stripe.com/docs/api/subscriptions/cancel#cancel_subscription-prorate
Or, set cancel_at_period_end to true so it carries on until the current billing period ends: https://stripe.com/docs/api/subscriptions/update#update_subscription-cancel_at_period_end
that's makes perfect sense!
our backend needs an overhaul for sure and so does our admin panel
Happy to help, let me know if you have other questions.
You too!