I am trying to integrate payumoney into my rails application.
I added gem active_merchant_payu_in , but after that I was not able to start the application .. and get this console error "warning: already initialized constant APP_PATH " . I found that this module is from activemerchant , so I installed this in my gemfile instead of this and now my application starts.
In accordance with the documents, we install activemerchant
ActiveMerchant::Billing::Base.mode = :test ::SAMPLEGATEWAY = ActiveMerchant::Billing::TrustCommerceGateway.new( :login => 'TestMerchant', :password => 'password')
So, for payu, I changed the gateway as shown below, but what should I pass instead of :login and :password below the code?
ActiveMerchant::Billing::Base.mode = :test ::GATEWAY = ActiveMerchant::Billing::PayuInGateway.new( )
For payumoney we all have
Seller ID, Trading Key, Trading Salt
I can not find enough documentation on it anywhere. Can someone shed light on this topic?
source share