我正在一个项目中有一个整合到BigCommerce,但我有一个问题,试图处理付款方式,我需要知道什么是在付款方式中使用的卡类型,如果接受使用卡。 这是我提出付款方式清单请求时的响应Xml。 GET/API/V2 /支付/方法付款方式BigCommerce
<?xml version="1.0" encoding="UTF-8"?>
<payment_methods>
<payment_method>
<code>braintree</code>
<name>PayPal powered by Braintree</name>
<test_mode>false</test_mode>
</payment_method>
<payment_method>
<code>braintreepaypal</code>
<name>PayPal powered by Braintree</name>
<test_mode>false</test_mode>
</payment_method>
<payment_method>
<code>testgateway</code>
<name>Test Payment Gateway</name>
<test_mode>true</test_mode>
</payment_method>
<payment_method>
<code>cod</code>
<name>Cash on Delivery</name>
<test_mode>false</test_mode>
</payment_method>
<payment_method>
<code>cheque</code>
<name>Check</name>
<test_mode>false</test_mode>
</payment_method>
<payment_method>
<code>moneyorder</code>
<name>Money Order</name>
<test_mode>false</test_mode>
</payment_method>
<payment_method>
<code>instore</code>
<name>Pay in Store</name>
<test_mode>false</test_mode>
</payment_method>
<payment_method>
<code>bankdeposit</code>
<name>Bank Deposit</name>
<test_mode>false</test_mode>
</payment_method>
</payment_methods>
如果让我选择测试支付平台作为付款方式,您必须插入存储卡。我需要知道卡的类型(VI,MC,AMEX ....)
取决于卡发生器。 http://www.getcreditcardnumbers.com/,第一个数字表示卡的类型。 4 =签证等 – GeekNinja
好的,但如何获得卡类型= 4您需要在回复中提供 – abelh2200
您使用货到付款过帐了样本,因此没有信用卡。发布信用卡付款的样本,以便我们可以给出很好的答案。 – jdweng