PayPal Sandbox UK Payments Pro托管付款页面不处理卡



我们试图将PayPal的英国付款Pro与托管付款页面集成。

我们创建了一个新的Sandbox UK业务帐户和一个英国客户帐户。

每次我们尝试付款时,我们都会收到此错误:

无法处理此交易。请用另一张卡付款。

这是我们帖子的HTML:

<iframe name="hss_iframe" width="570px" height="540px"></iframe>
<form style="display:none" target="hss_iframe" name="form_iframe" id="form_iframe" method="post" action="https://securepayments.sandbox.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess">
<input type="hidden" name="buyer_email" value="nata@print-science.com">
<input type="hidden" name="last_name" value="dulger">
<input type="hidden" name="first_name" value="nata">
<input type="hidden" name="notify_url" value="http://xyzprinting.he18.printscience.net/paypalprohostedipn">
<input type="hidden" name="subtotal" value="21.03">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="cancel_return" value="http://xyzprinting.he18.printscience.net/paypal_cancel_2014?order=325558RL">
<input type="hidden" name="return" value="http://xyzprinting.he18.printscience.net/paypal_successful">
<input type="hidden" name="paymentaction" value="sale" />
<input type="hidden" name="template" value="templateD" />
<input type="hidden" name="business" value="ps-uk@printscience.com" />
<input type="hidden" name="cmd" value="_hosted-payment" />
<input type="hidden" name="address1" value="123 Cheapside">
<input type="hidden" name="city" value="London">
<input type="hidden" name="state" value="London">
<input type="hidden" name="zip" value="EC2 R 8AH">
<input type="hidden" name="custom" value="325558RL">
</form>
<script type="text/javascript">
document.form_iframe.submit();
</script>

尝试将业务价值更改为在Sandbox测试网站的配置文件页面顶部指定的安全商户ID值。该字段应包含以下内容:

name =" business" value =" hnz3qzmcpbaaa"

请参阅《开发人员指南》,第64页:https://www.paypalobjects.com/webstatic/en_gb/developer/docs/pdf/hostedsolution_uk.pdf

最新更新