David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said almost 7 years ago on Two Factor Authentication :
Thanks for pointing this out! I'll get it corrected.

David Kimura PRO said almost 7 years ago on More on Stripe and Webhooks :
Hmmm, are you able to see the webhook requests coming in from Stripe into your logs? Also, within Stripe, they have some logs for the webhook events that are sometimes helpful to see what is happening.

David Kimura PRO said almost 7 years ago on More on Stripe and Webhooks :
Can you post the `webhooks_controller.rb`? If you are overriding the Webhook controller like I showed in the episode, it should be `skip_before_action`. ```ruby class WebhooksController < StripeEvent::WebhookController skip_before_action :verify_authenticity_token end ```

David Kimura PRO said almost 7 years ago on More on Stripe and Webhooks :
Is the error happening on the WebhooksController? Maybe the routes isn't picking it up. Can you post more of the logs?

David Kimura PRO said almost 7 years ago on More on Stripe and Webhooks :
In your `application_controller.rb`, what does your `protect_from_forgery` look like? Try changing it to `:exception`. ```ruby class ApplicationController < ActionController::Base protect_from_forgery with: :exception end ```