失败:(TESTMODE)此市场类型的交易无法在此系统上处理 [英] Fail:(TESTMODE) Transactions of this market type cannot be processed on this system
本文介绍了失败:(TESTMODE)此市场类型的交易无法在此系统上处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在Authorize.net创建了一个测试帐户,并正在使用ActiveMerchant处理网站的
信用卡付款。我总是得到的错误是错误#* 87-ActiveMerchant文档中提到了无法在此系统上处理此市场类型的交易。任何建议如何解决此错误?
以下是我创建网关的方式。我还检查了gateway.test吗?并返回true。
I have created a test account with Authorize.net and am using ActiveMerchant to process credit card payments for a website. What error I always get is Error#*87 - "Transactions of this market type cannot be processed on this system" mentioned in ActiveMerchant documentations. Any suggestions how to resolve this error ? Following is how i created my gateway. I also checked gateway.test? and it returns true.
gateway = ActiveMerchant::Billing::Base.gateway(:authorized_net).new(
:login =>'API Login ID',
:password =>'Transaction Key',
:test => true)
推荐答案
尝试
gateway = ActiveMerchant::Billing::AuthorizeNetGateway.new(
:login => 'API Login ID',
:password => 'Transaction Key',
:test => true)
这篇关于失败:(TESTMODE)此市场类型的交易无法在此系统上处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文