config/routes.rb in opay-1.1.3 vs config/routes.rb in opay-1.1.4
- old
+ new
@@ -1,8 +1,15 @@
Opay::Engine.routes.draw do
# payu
scope 'payu' do
post '/online' => 'payu#online', as: :payu_online
+
+ if Rails.env.development?
+ patch '/paygw/UTF/NewPayment' => 'payu#paygw', as: :payu_new_payment
+
+ get '/correct_authorization' => 'payu#correct_authorization', as: :payu_correct_authorization
+ get '/wrong_authorizationt' => 'payu#wrong_authorizationt', as: :wrong_authorization
+ end
end
end