tansengming/stripe-rails

ActionController::UnknownFormatStripe::EventsController#create

fourcolors opened this issue · 4 comments

I'm getting a 406 error. I didn't change anything. Do you think this has anything to do with stripe's recent update to their lib?

I just got this too, I think they changed the Accept header so params[:format] is no longer set to JSON. Sent a PR to fix the issue: #120

Feel free to put this in your Gemfile for an urgent fix:

gem 'stripe-rails', github: 'FormAPI/stripe-rails', branch: :master

Thank you! @ndbroadbent

FYI I've released a fix for this on v1.4.1 from @ndbroadbent 's work on #120