我正在尝试在我的网站中集成支付网关,这是通过PHP开发的。为此我使用PayPal。我的代码如下:
<form name="frm" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<div style="padding-left:250px;">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="MY_BUSINESS_MAIL_ID" />
<input type="hidden" name="amount" value="<?php echo $amount; ?>" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="USD" />
<input type="hidden" name="item_name" value="Registration" />
<input type="hidden" name="bn" value="PP-BuyNowBF" />
<input type="hidden" name="return" value="<?php echo FRONT_END_PATH;?>payment-over.php?user_id=<?php echo $username;?>&req_amt=<?php echo $amount; ?>&role_name=<?php echo $role;?>&inramnt=<?php echo $inrAmnt; ?>" />
<input type="hidden" name="rm" value="2" />
<input type="submit" border="0" name="submit" value="Order" alt="Make payments with PayPal - it's fast, free and secure!" class="additional_height button" title="Make payments with PayPal - it's fast, free and secure!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</div>
</form>
现在我的问题是,如果客户试图在印度境内付款,此代码是否正确。此外,用户可以使用信用卡付款吗? 我的最后一个问题是用户可以通过网上银行付款吗?
请帮帮我。 提前谢谢。
答案 0 :(得分:1)
您的代码与用户付款的方式无关。这一切都由Paypal处理。我不确定其他国家。但在印度,用户无法通过Netbanking向paypal付款。
他们只能通过信用卡/借记卡付款。
也是为了你的知识
印度PayPal账户,不能接受来自另一个印度PayPal帐户的任何付款。