I'm using Payola-payments 1.5.1 with Rails 5.0.1 and running into the following error when I attempt to make a payment on a Stripe test-mode account: No route matches [GET] "/payola/events" Payola has a route to "/payola/events" which leads to the Webhooks Controller, but it only responds to the Post method. This is a redirect from the Transaction Controller, and the parameters being passed are {"action"=>"new", "controller"=>"users/sessions"}
Payola previously worked fine on my computer. The only changes I can think of were some gem-updates, including the switch to 5.0.1.
Has anybody run into this before? Any help would be greatly appreciated.
Override the default route given by Payola Engine. I setup my routes like this. It's working on Rails 5.2.
Lastly, deactivate disable_with, which is on by default with Rails 5.0+, I believe. It will stop the JS form code that Payola uses to process payments.