-1
我是PayPal的新手。我想在我的網站上使用簡單的PayNow按鈕。問題是我希望我的web用戶輸入他們想要在我的網站上支付的任何金額,並在Pay按鈕被點擊時將其轉移到payPal。簡單的按鈕,用戶可以在我的網站上輸入金額
此選項似乎不適用於任何按鈕類型。他們需要預設金額或在PP網站上輸入金額。我唯一的選擇是學習API嗎?
謝謝,邁克
我是PayPal的新手。我想在我的網站上使用簡單的PayNow按鈕。問題是我希望我的web用戶輸入他們想要在我的網站上支付的任何金額,並在Pay按鈕被點擊時將其轉移到payPal。簡單的按鈕,用戶可以在我的網站上輸入金額
此選項似乎不適用於任何按鈕類型。他們需要預設金額或在PP網站上輸入金額。我唯一的選擇是學習API嗎?
謝謝,邁克
這可能是你所需要的:
<form name="input" target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="YOUR BUSINESS NAME">
<input type="hidden" name="item_name" value="ITEM NAME">
<input type="hidden" name="item_number" value="ITEM ID NUMBER">
Other amount: €<input type="text" maxlength="200" style="width:50px;" name="amount" value="5.00"> EUR<br />
<input type="hidden" name="currency_code" value="EUR">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_SM.gif" border="0" alt="PayPal - The safer, easier way to pay online!">
</form>
改變變量business
到接收電子郵件的值,即:
<input type="hidden" name="business" value="[email protected]">
您可能想要閱讀HTML Variables for PayPal Payments Standard - PayPal Developer