开发者

problems getting ActiveMerchant PayPal Gateway to work on rails 3

开发者 https://www.devze.com 2023-03-23 17:02 出处:网络
I am trying to get PayPal 开发者_JAVA技巧Gateway to work on a rails 3 app. But I keep hitting this error \"uninitialized constant ActiveMerchant::Billing::PayPalGateway (NameError)\"

I am trying to get PayPal 开发者_JAVA技巧Gateway to work on a rails 3 app. But I keep hitting this error "uninitialized constant ActiveMerchant::Billing::PayPalGateway (NameError)"

I've this in my development.rb:

ActiveMerchant::Billing::Base.mode = :test

::GATEWAY = ActiveMerchant::Billing::PayPalGateway.new(

:login => "API USERNAME ",

:password => "API PASSWORD",

:signature => "API SIGNATURE"

)

Please help!


Your capitalisation is wrong. Try:

ActiveMerchant::Billing::PaypalGateway
0

精彩评论

暂无评论...
验证码 换一张
取 消