Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rutas para WebPay
Rails.application.routes.draw do
##
##
## Tus rutas ##
## ...
##
#WebPay
post '/webpay/webpay_final_url', :to => 'webpay#webpay_final_url', :as => :webpay_result
post '/webpay/webpay_return_url', :to => 'webpay#webpay_return_url', :as => :webpay_return_url
get 'webpay/success', :to => 'payments#webpay_success', :as => :webpay_success
get 'webpay/error', :to => 'payments#webpay_error', :as => :webpay_error
get 'webpay/nullify', :to => 'payments#webpay_nullify', :as => :webpay_nullify
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment