#waseemanwarRoR
1 messages · Page 1 of 1 (latest)
do you have more details like a subscription sub_xxx where that happened?
It was working fine. After integrate webhook i am facing this issue.
probably you added code in your webhook handler that calls the Cancel Subscription API then, that's usually the cause here!
I just handle cancel subsription. Not call any api to camcel subscription
do you have more details like a subscription sub_xxx where that happened?
You need subscription id?
yes
it's cancelled because you deleted the customer via this API call : https://dashboard.stripe.com/test/logs/req_oLmBz0m4d9n1fy
as I said, you probably have something in your webhook handler doing this. You need to investigate that code and see why/where you are calling https://stripe.com/docs/api/customers/delete
@dreamy mantle thanks.
What happened if subscription cancelled after some seconds?
I mean stripe refund the payment to customer automatically?
👋 taking over for my colleague. Let me catch up.
what is the exact scenario here?
My project dashboard getting payment from customer on sign up. If any error occur in sign up process i need to revert all things.
Does it make sense to you?
you need to create the refund yourself