uninitialized constant PaymentsController::EXPRESS_GATEWAYIs there anything wrong?
soichi
config/initializers/activemerchant.rb:
ActiveMerchant::Billing::Base.mode = :test
paypal_options = {
:login => "xxxx_biz_api1.gmail.com",
:password => "xxxx"
:signature => "xxxx"
}
STANDARD_GATEWAY = ActiveMerchant::Billing::PaypalGateway.new(paypal_options)
EXPRESS_GATEWAY =
ActiveMerchant::Billing::PaypalExpressGateway.new(paypal_options)
If you do that does it work?
--
Nathaniel
> --
> You received this message because you are subscribed to the Google Groups
> "Active Merchant" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/activemerchant/-/9aYzvnl9LBcJ.
> To post to this group, send email to activem...@googlegroups.com.
> To unsubscribe from this group, send email to
> activemerchan...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/activemerchant?hl=en.