我正在开发一个使用的电子商务网站,我正在尝试将Paypal作为支付gateway.So来实现,我正在使用。在开发机器上一切都很好,但是当我将rails应用程序部署到生产中时,它会抛出
config.after_initialize do
ActiveMerchant::Billing::Base.mode: "
我目前正在开发一个Ruby- on -Rails web应用程序,它通过贝宝的快速结账和ActiveMerchant接受PayPal支付。在PaymentsController#purchase上,我临时使用了EXPRESS_GATEWAY.purchase方法调用返回的ActiveMerchant::Billing::PaypalExpressResponse对象的#params['protection_eligibility']和#params['protection_eligibilit