Created
June 20, 2018 19:10
-
-
Save danielVargas/d9a5e4e9e0bf24b72687fc1356209c5e to your computer and use it in GitHub Desktop.
Rutas para WebPay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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