Ruby on Rails #15 Stripe API - SaaS blog - Webhooks to update Subscription Status

09/04/2021 (about 3 years ago)
·
screencast

Github Repo:
https://github.com/corsego/shoplify
Heroku Demo:
https://shoplify.herokuapp.com/

add stripe webhooks
https://github.com/corsego/saasblog/commit/6fc9c4eb8c9ac158d0092dff32a0487708218dda
add customer.created event to webhooks
https://github.com/corsego/saasblog/commit/bcae4eadedbc81fb3cff3dc1c463380c833b0c36
fix typo in webhooks customer.created
https://github.com/corsego/saasblog/commit/6bb5a61a1b6fc4f47a421fae51e9c044a561b5c8
update webhooks for subscriptions
https://github.com/corsego/saasblog/commit/de5e26500a27eb34f8d6a9aaefb15318ba8ad10c
better general styling
https://github.com/corsego/saasblog/commit/8e8d345eb992eb1a4398466152bafb91cb41625d

0:00 Introduction
1:50 webhooks controller and routes
4:55 stripe dashboard webhooks endpoint
5:41 add webhook API to credentials
7:00 IT WORKS! Subscription status is updated by webhook!
10:37 create new webhook - stripe.customer.created
15:37 Final message, Thank you


0
Sign in to join the conversation