You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
635 B

Spree::Core::Engine.routes.draw do
resources :orders do
resource :checkout, :controller => 'checkout' do
member do
get :paypal_checkout
get :paypal_payment
get :paypal_confirm
post :paypal_finish
end
end
end
match '/paypal_notify' => 'paypal_express_callbacks#notify', :via => [:get, :post]
match '/paypal_shipping_update' => 'paypal_express_callbacks#shipping_estimate', :via => :post
namespace :admin do
resources :orders do
resources :paypal_payments do
member do
get :refund
get :capture
end
end
end
end
end