mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Change Stripe webhook handling to post request
This commit is contained in:
@@ -66,7 +66,7 @@ Openfoodnetwork::Application.routes.draw do
|
||||
post 'embedded_shopfront/disable', to: 'application#disable_embedded_styles'
|
||||
|
||||
get '/stripe/callback', :to => 'admin/enterprises#stripe_connect_callback'
|
||||
get '/stripe/webhook', :to => 'admin/stripe_accounts#destroy_from_webhook'
|
||||
post '/stripe/webhook', :to => 'admin/stripe_accounts#destroy_from_webhook'
|
||||
|
||||
resources :enterprises do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user