config/routes.rb in pay-2.4.4 vs config/routes.rb in pay-2.5.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
Pay::Engine.routes.draw do
resources :payments, only: [:show], module: :pay
- post "webhooks/stripe", to: "stripe_event/webhook#event"
+ post "webhooks/stripe", to: "pay/webhooks/stripe#create"
post "webhooks/braintree", to: "pay/webhooks/braintree#create"
post "webhooks/paddle", to: "pay/webhooks/paddle#create"
end