I know there is another question that exists similar to this one but I don't think it was asked/answered very well.
Basically I have a working rails app where users can sign up for my subscription, enter credit card information, etc. That's all working. But I need to handle the situation where a user's card is declined at some point during this recurring subscription.
The types of events they send are here: https://stripe.com/docs/api?lang=ruby#event_types.
I'm having trouble accessing the charge.failed object in my app.
The docs on webhooks are also here: https://stripe.com/docs/webhooks, and any help would be much appreciated.