stripe ui for adding web hook end points has changed - harder to select all events now
The UI in Stripe for adding a new end point has changed. Before you had the option to select all events, now you can a long drop down list of events to add.
Our documentation currently says: "Typically, you only need to configure the end point to send live transactions and you want it to send all events."
With this new Stripe UI, those instructions are not as clear as they could be.
In our code, we only check for:
- case 'invoice.payment_succeeded':
- case 'invoice.payment_failed':
- case 'customer.subscription.deleted':
- case 'charge.failed':
- case 'charge.refunded':
- case 'charge.succeeded':
- case 'customer.subscription.updated':
We may want to update the documentation. I think our options are:
- Instruct our users to only select the events we are listening for. I don't think this is a great option - since we may want to listen for other events in the future.
- More explicitly instruct users to check every single event. This is the most user work, but it also future proofs our code in case we want to use any of those events down the road.
- Instruct our users to select all the Invoice, Customer and Charge events - fortunatley, Stripe does allow you to easily select an entire category of events. Maybe this is a reasonable compromise?