mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-03 22:06:07 +00:00
Switch to a version of better_paypal_express that does not define
routes and define those routes on the OFN side
This commit is contained in:
@@ -6,7 +6,7 @@ GIT
|
||||
|
||||
GIT
|
||||
remote: https://github.com/openfoodfoundation/better_spree_paypal_express.git
|
||||
revision: 3ae54d8eaeee6c0a8bc4f0e5ee03b1e48b2450c0
|
||||
revision: 1a477e9f7763297944cc99b6f4dd3d962aa963e9
|
||||
branch: 2-1-0-stable
|
||||
specs:
|
||||
spree_paypal_express (2.0.3)
|
||||
|
||||
@@ -107,6 +107,8 @@ Spree::Core::Engine.routes.draw do
|
||||
resources :payments do
|
||||
member do
|
||||
put :fire
|
||||
get 'paypal_refund'
|
||||
post 'paypal_refund'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -171,4 +173,8 @@ Spree::Core::Engine.routes.draw do
|
||||
get '/checkout/:state', :to => 'checkout#edit', :as => :checkout_state
|
||||
get '/content/cvv', :to => 'content#cvv', :as => :cvv
|
||||
get '/content/*path', :to => 'content#show', :as => :content
|
||||
get '/paypal', :to => "paypal#express", :as => :paypal_express
|
||||
get '/paypal/confirm', :to => "paypal#confirm", :as => :confirm_paypal
|
||||
get '/paypal/cancel', :to => "paypal#cancel", :as => :cancel_paypal
|
||||
get '/paypal/notify', :to => "paypal#notify", :as => :notify_paypal
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user