【发布时间】:2014-10-29 23:42:05
【问题描述】:
我为我的网站管理员创建了一个功能,使用 Paypal 将钱退回给用户。我用 Paypal 创建了一个按钮。我的问题是:当管理员使用企业帐户登录 Paypal 然后他向个人帐户汇款时,Paypal 不会重定向到我的网站。
这是我的代码
<form target="myWindowPayment" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" id="payPalForm">
<input type="hidden" name="item_number" value="<?php echo $idProject ?>">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="business" value="charly@zondertag.net">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="<?php echo base_url() ?>crowdpp/backingProject/3">
<input type="hidden" name="cancel" value="<?php echo base_url() ?>crowdpp/backingProject/3">
<input name="item_name" type="hidden" id="item_name" value="Pledging for <?php echo $result->title ?> project" size="45">
<input name="amount" type="hidden" id="amount" value="<?php echo $pledgeAmount ?>" size="45">
</form>
【问题讨论】:
-
尝试登录您的沙盒帐户并转到个人资料 --> 我的销售工具 --> 网站支付偏好。应该有一个选项“自动返回”,打开它并在那里提供返回网址。保存设置并再次尝试处理付款。