DEV Community

Discussion on: Handling stripe webhooks with Ruby on Rails

Collapse
 
birthdaycorp profile image
birthdaycorp

Thanks so much for posting this! You made it much easier to understand. One question though: if I want to perform an action on a record in my db when the webhook receives an "invoice_payment.succeeded" event, would I write that code in its handler? Presumably I'd pull the needed info from event.data.object?