#Canadaka-subscription-
1 messages · Page 1 of 1 (latest)
sub_1LSXcBKnvFpYRdXZUHcB8yYH
The product is prod_M5ti8mXZDrmsW2
I also enabled the 'Cancellation Reason' on our customer portal settings. But in the last 12 hours all the cancellation_reason in the event data has been null
Hey, just as a heads up two-shoes had to step out but I am catching up and looking in to this.
Do you also have the ID of a subscription that hasn't been cancelled for comparison? I feel like I should be able to find this from the one that was cancelled but that still may help
Thank you. For the cancelled sub I actually do see an API request in your account logs. https://dashboard.stripe.com/logs/req_X0SA9K2W34Lgif
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
It uses the same php version and comes from the same IP as other calls of yours, so I am wondering if it is possible that some code on your server is mistakenly marking these to be cancelled maybe based on a webhook event or something
Have you checked for places in your code that might call $stripe->subscriptions->cancel?
Weird. I'm pretty sure we don't cance; subs anywhere in the code, we link to the Customer Portal for that.
This new product uses the exact same code as the product that is working fine too.
But that is why its cancalled? there is a DELETE request coming in?
I will look through the code now
Yes, the delete request is why it is being cancelled. I will look through your logs to see if I can glean any more useful info
I think I found where this is might be happening! Adding some logging to confirm. Thanks so much for pointing my in the right direction.
Nice! Hope that is it
I just cancelled my own test subscription via the portal and that looks different in our logs. It is sounding more and more like you found the right thing but let me know if you need any more help
One small question, the "Cancellation Reason" when enabled in the customer portal. Is there a dashboard to view responses? Or we are responsible to collect that data from the event data ourselves?
Good question, I am not as familiar with the dashboard but am checking in to if there is a page for that
Unfortunately I am not seeing a way to get an overview of this in our dashboard. If you reach out to our support team, they may know if there is a Dashboard page. Otherwise, yes, you will probably have to count/tabulate this yourself for the time being