config/routes.rb in pay-2.2.2 vs config/routes.rb in pay-2.3.0
- old
+ new
@@ -2,6 +2,7 @@
Pay::Engine.routes.draw do
resources :payments, only: [:show], module: :pay
post "webhooks/stripe", to: "stripe_event/webhook#event"
post "webhooks/braintree", to: "pay/webhooks/braintree#create"
+ post "webhooks/paddle", to: "pay/webhooks/paddle#create"
end