DevBetterCom / DevBetterWeb

A simple web application for devBetter
https://devbetter.com/
140 stars 57 forks source link

Bogus Cancellations #771

Open ardalis opened 2 years ago

ardalis commented 2 years ago

Got a bogus cancellation email 2 days ago:

NAME's DevBetter subscription has ended. Please remove NAME from the GitHub, Discord and StackOverflow groups.

Need to track down this message, see what triggered it, and figure out what false positive event resulted in sending it when he hadn't canceled.

ShadyNagy commented 2 years ago

This is coming as a stripe send this message to your endpoint when the subscription is deleted. maybe we need to check the stripe logs, I am not sure if there are any or not.

Class Name StripeWebhookHandler

else if (paymentHandlerEvent.EventType.Equals(StripeConstants.CUSTOMER_SUBSCRIPTION_DELETED_EVENT_TYPE))