簡體   English   中英

貝寶(Paypal)網站付款Pro Iframe-使用“貝寶(Paypal)”按鈕付款將重定向到貝寶(Paypal)

[英]Paypal Website Payments Pro Iframe - pay with paypal button is redirecting to paypal

貝寶結帳iframe出現問題:

網站支付專業版( https://www.paypalobjects.com/webstatic/en_GB/developer/docs/pdf/hostedsolution_uk.pdf )的用戶指南中的第47頁說:“買方從不離開您的網站”

但使用Paypal進行付款按鈕會將用戶重定向到用於登錄的Paypal,因此離開了網站。

我使用的代碼與指南相同:

<iframe name="hss_iframe" width="570px" height="540px"></iframe>

<form style="display:none" target="hss_iframe" name="form_iframe" 
method="post" 
action="https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/
webflow/sparta/hostedSoleSolutionProcess">
<input type="hidden" name="cmd" value="_hosted-payment">
<input type="hidden" name="subtotal" value="50">
<input type="hidden" name="business" value="MERCHANT ID">
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="template" value="templateD">
<input type="hidden" name="return" 
value="https://yourwebsite.com/receipt_page.html">
</form>

<script type="text/javascript">
 document.form_iframe.submit();
</script>

有人遇到過同樣的問題嗎?

我該如何解決?

謝謝!

Matteo,您是否嘗試過使用燈箱或其他工具使它工作? 理想情況下,此iframe代碼應位於模式對話框中,當用戶單擊“購買/付款/購物”按鈕時,該對話框將顯示。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM