贝宝接受INR付款

时间:2018-07-04 10:38:27

标签: php paypal

我正在使用贝宝标准付款系统来接受客户的付款。我已经在我的Paypal帐户中将INR作为主要帐户,但是当我将货币代码传递为INR时会出现错误。我已经在一些网站上提到过这个问题,

https://www.paypal-community.com/t5/About-Business-Archive/Accepting-Indian-currency/td-p/615019 这是我的代码:

<form action="<?php echo $paypal_link; ?>" method="POST">

    <!-- Identify your business so that you can collect the payments. -->
    <input type="hidden" name="business" value="<?php echo $paypal_username; ?>">

    <!-- Specify a Buy Now button. -->
    <input type="hidden" name="cmd" value="_xclick">

    <!-- Specify details about the item that buyers will purchase. -->
    <input type="hidden" name="item_name" value="<?php echo $row['name']; ?>">
    <input type="hidden" name="item_number" value="<?php echo $row['id']; ?>">
    <input type="hidden" name="amount" value="<?php echo $row['price']; ?>">
    <input type="hidden" name="currency_code" value="INR">

    <!-- Specify URLs -->
    <input type='hidden' name='cancel_return' value='http://.....'>
    <input type='hidden' name='return' value='http:....'>


    <!-- Display the payment button. -->
    <input type="image" name="submit" border="0"
    src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online">
    <img alt="" border="0" width="1" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >

</form>

有人可以帮助解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

请检查购买的付款方式。例如:(DoDirect,ExpressCheckout)。 特定的付款方式支持INR。查看所有内容。

相关问题