Payza 支付网关高级按钮集成

Payza payment gateway advance button integration

我正在尝试集成 payza 支付网关,我做了什么:

我遵循了他们 API 文档页面上给出的高级按钮集成示例。这是官方代码 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="0" 并添加我客户的真实帐户电子邮件时,它与 ap_testmode="1" 一起工作正常,它总是说按钮配置不正确。

我尝试了部署在暂存环境中的几种变体来检查它是否是由于本地开发环境造成的,但没有成功。

在谷歌上搜索了很多但没有有用的信息。任何人都可以指出我正确的方向吗?

经过大量搜索和调试后发现 Payza 商户帐户通过企业帐户验证注册了域名,我客户的帐户是在另一个域注册的,他正试图在新域中添加该电子邮件。这是关于该错误信息的 paypza api 文档页面上的 link。

https://docs.payza.com/docs/biz-manual-standard-integration-payment-buttons#section-why-isnt-my-payza-payment-button-working-properly

The Payza Payment Button has been placed on the wrong website or on a website that has not been submitted for Website Review. Before your buttons will work, your must submit your website for review.