我正在尝试整合 allpay 支付。
gem 'rails', '>= 5.0.0.rc1', '< 5.1'
gem 'activemerchant', :require => 'active_merchant'
gem 'active_merchant_allpay'
但我得到:
未初始化的常量 ActiveMerchant::Billing::Integrations::Helper (NameError)。
我正在尝试整合 allpay 支付。
gem 'rails', '>= 5.0.0.rc1', '< 5.1'
gem 'activemerchant', :require => 'active_merchant'
gem 'active_merchant_allpay'
但我得到:
未初始化的常量 ActiveMerchant::Billing::Integrations::Helper (NameError)。
您将必须添加 offsite_payments 作为依赖项,并更新任何提及ActiveSupport::Billing::Integration
toOffsitePayments::Integrations
https://github.com/activemerchant/active_merchant/issues/1357