php - PayPal 自定义按钮代码。“用户必须接受付款”
问题描述
我创建了自定义 PatPal 按钮代码。
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="from-to@from-to.com">
Price:
<input name="amount" type="number" step="0.01" value="1.00"> GBP
<br/><br/>
Name/Service Description:<br/>
<textarea cols="40" rows="5" style="width:400px;height:200px;word-break: break-word;" required name="item_name"></textarea>
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="notify_url" value="https://fromtotranslations.com/?wp_paypal_ipn=1">
<input type="hidden" name="bn" value="WPPayPal_BuyNow_WPS_US">
<br/><br/><br/>
<input type="image" style="max-width:200px" src="https://i.ibb.co/YcBX3Ww/paypall-button.png" border="0" name="submit">
我想添加用户手动输入价格的可能性。表格似乎工作正常。已付款。但我的 PayPal 仪表板上没有。
作为客户,我收到通知,卖家必须确认付款。
看来,PayPal 没有将我的电子邮件识别为 PayPal 帐户,或者我可能不知道在哪里接受客户的付款。
你能帮助我吗?
解决方案
您from-to@from-to.com
的 PayPal 企业帐户的主要电子邮件地址是?
也许尝试将此值替换为指向您希望接收 PayPal 付款的企业帐户的值。
同时,似乎没有与电子邮件关联的 PayPal 企业帐户from-to@from-to.com
,这就是为什么没有人接受付款的原因。如果没有人在 PayPal 注册该电子邮件以接受它,它将在 30 天内自动退还。
推荐阅读
- python - Python3.6 |- 使用 __import__ 从列表中导入模块 -|
- c# - Google 登录代码不起作用
- php - 使用 PDO 和 MySQL PHP 插入时如何将 ID 转移到不同的表
- php - 如何将传入的短信从 GoIP 检索到 PHP?
- javascript - 为什么我的文件数组没有附加到 FormData?
- angular - 如何将角度组件附加到第三方应用程序
- node.js - 从 node.js 脚本获取 npm-prefix 的推荐方法
- javascript - 使用 jquery 遍历 $("body") 除了某些标签
- php - PHP 根据二维数组值生成动态 HTML
- bootstrap-4 - bootstrap scrollspy 平滑滚动错误目标