【问题标题】:Fail:(TESTMODE) Transactions of this market type cannot be processed on this system失败:(TESTMODE) 此市场类型的交易无法在此系统上处理
【发布时间】:2010-06-28 12:47:00
【问题描述】:

我已经使用 Authorize.net 创建了一个测试帐户,并且正在使用 ActiveMerchant 进行处理 网站的信用卡付款。我总是得到的错误是错误#*87 - ActiveMerchant 文档中提到的“此市场类型的交易无法在此系统上处理”。任何建议如何解决此错误? 以下是我创建网关的方式。我还检查了 gateway.test?它返回 true。

 gateway = ActiveMerchant::Billing::Base.gateway(:authorized_net).new(
        :login =>'API Login ID',
        :password =>'Transaction Key',
        :test => true)

【问题讨论】:

    标签: ruby-on-rails activemerchant


    【解决方案1】:

    试试

    gateway = ActiveMerchant::Billing::AuthorizeNetGateway.new(
                                                  :login => 'API Login ID', 
                                                  :password => 'Transaction Key',
                                                  :test => true)
    

    【讨论】:

    • 感谢您的建议。 :)。解决了问题,错误出在我拿的测试账号类型上。
    猜你喜欢
    • 2012-01-11
    • 2017-07-15
    • 1970-01-01
    • 2013-08-04
    • 2020-04-19
    • 1970-01-01
    • 2016-03-28
    • 2017-05-19
    • 1970-01-01
    相关资源
    最近更新 更多