0

I am trying to test my PayPal "buy now" button. It goes to sandbox page successfully and I do payment from my developer account. Problem is that my that payment do not go to my developer business account after paying with my developer personal account.

Here is my code:

    <form name="_xclick" action="https://www.sandbox.paypal.com/webscr" method="post">
    <input type="hidden" name="cmd" value="_xclick">
        <input type="hidden" name="business" value="my-developer-business-id@gmail.com">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="item_name" value="test product">
    <input type="hidden" name="return" value="some return url">
    <input type="hidden" name="amount" value="1">
    <input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

Please also tell me how can I make shipping option off... I don't need any shipping option here.

4

1 回答 1

0

您可以尝试从沙盒帐户的网站创建按钮。

创建 PayPal 按钮的步骤:

  • 在沙盒中登录卖家的测试账户。
  • 点击“商户服务”标签。
  • 在那里你会找到创建 PayPal 付款按钮
  • 根据您的要求填写表格。

这将生成一个 HTML 脚本。

创建一个 HTML 文件并复制粘贴此 HTML 脚本。打开 HTML 文件,您将获得一个 Paypal 按钮。

点击它并接受买家PayPal账户的交易。

于 2013-08-29T12:20:42.050 回答