很遗憾,我们无法处理请求。请再试一次

时间:2017-08-15 11:02:03

标签: paypal paypal-sandbox paypal-plus

我尝试使用API​​参考指南(请参见屏幕截图)将Paypal Plus集成到我的商店。一切都已完成,但当我尝试完成结账时,paypal返回500错误:UNKNOWN_INTERNAL_ERROR。

通过Google搜索并不成功。

Image

<script src="https://www.paypalobjects.com/webstatic/ppplusdcc/ppplusdcc.min.js" type="text/javascript"></script>

<div id="ppplusDiv" style="width: 300px; height: 502px;"></div>
<script type="application/javascript">
var ppp = PAYPAL.apps.PPP({
    "approvalUrl": "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-25D26051FW287782J",
    "placeholder": "ppplusDiv",
    "mode": "sandbox",
    "payerFirstName": "John",
    "payerLastName": "Doe",
    "payerPhone": "33927349232",
    "payerEmail": "admin@example.com",
                "payerTaxId": "831.899.557-00",
        "payerTaxIdType": "BR_CPF",
            "disableContinue": "continueButton",
    "enableContinue": "continueButton",
    "language": "en_US",
    "country": "BR",
});

<button id="continueButton" class="ty-btn__big ty-btn__primary cm-ajax cm-checkout-place-order ty-btn" type="submit" name="dispatch[checkout.place_order]" onclick="if (!document.getElementById('product_agreements') || document.getElementById('product_agreements').checked) { ppp.doContinue(); return false;}">Разместить заказ</button>

0 个答案:

没有答案