diff --git a/Gemfile.lock b/Gemfile.lock index c8bd1cf570..e6aa212810 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) diff --git a/config/routes/spree.rb b/config/routes/spree.rb index cb35c08cbc..9bc8d8ae3d 100644 --- a/config/routes/spree.rb +++ b/config/routes/spree.rb @@ -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