我正在尝试整合payza支付网关,我所做的是:
example
:
<form method="post" action="https://secure.payza.com/checkout">
<input type="hidden" name="ap_merchant" value="payza_merchant@test.com"/>
<input type="hidden" name="ap_purchasetype" value="item"/>
<input type="hidden" name="ap_itemname" value="MP3 Player"/>
<input type="hidden" name="ap_amount" value="50"/>
<input type="hidden" name="ap_currency" value="USD"/>
<input type="hidden" name="ap_quantity" value="2"/>
<input type="hidden" name="ap_itemcode" value="HIJ123"/>
<input type="hidden" name="ap_description" value="Audio equipment"/>
<input type="hidden" name="ap_taxamount" value="2.49"/>
<input type="hidden" name="ap_additionalcharges" value="1.19"/>
<input type="hidden" name="ap_shippingcharges" value="7.99"/>
<input type="hidden" name="ap_discountamount" value="4.99"/>
<input type="hidden" name="apc_1" value="Blue"/>
<input type="hidden" name="apc_2" value="UE plug"/>
<input type="hidden" name="ap_ipnversion" value="2"/>
<input type="hidden" name="ap_testmode" value="1"/>
<input type="hidden" name="ap_returnurl" value="http://www.example.com/thankyou.html" />
<input type="hidden" name="ap_cancelurl" value="http://www.example.com/cancel.html" />
<input type="image" src="https://www.payza.com/images/payza-buy-now.png"/>
它可以正常工作
ap_testmode="1"
ap_testmode="0"
再加上我客户的live帐户电子邮件,它总是说按钮配置不正确。