lib/generators/opay/templates/opay_config.rb in opay-1.2.0 vs lib/generators/opay/templates/opay_config.rb in opay-1.2.1
- old
+ new
@@ -2,9 +2,12 @@
config.providers = [:payu, :paypal]
config.test_mode = true
# config.process_payments_localy = true if Rails.env.development?
+ config.success_url = :success_payment_url
+ config.cancel_url = :cancel_payment_url
+
# payu configuration
config.payu_pos_id = ENV['PAYU_POS_ID']
config.payu_pos_auth_key = ENV['PAYU_POS_AUTH_KEY']
config.payu_key1 = ENV['PAYU_KEY1']
config.payu_key2 = ENV['PAYU_KEY2']