2014-04-07 15 views
0

這是我的代碼。我需要添加一些額外的變量,例如:許可證類型:基本如何在Paypal訂閱點擊方法中添加額外字段?

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> 

<!-- Identify your business so that you can collect the payments. --> 
<input type="hidden" name="business" value="[email protected]"> 

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

<!-- Identify the subscription. --> 
<input type="hidden" name="item_name" value="Alice's Monthly Digest"> 
<input type="hidden" name="item_number" value="DIG Weekly"> 

<!-- Set the terms of the recurring payments. --> 
<input type="hidden" name="a3" value="69.95"> 
<input type="hidden" name="p3" value="1"> 
<input type="hidden" name="t3" value="M"> 

<!-- Set recurring payments to stop after 6 billing cycles. --> 
<input type="hidden" name="src" value="1"> 
<input type="hidden" name="srt" value="6"> 

<!-- Display the payment button. --> 
<input type="image" name="submit" border="0" 
src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_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" > 

如何添加這個方法額外的領域?或者我需要描述標籤中的下一行。

+2

''那樣嗎? –

+0

至少我想在'>' –

回答

0

這是一個例子

https://www.paypal.com/cgi-bin/webscr?cmd=_pdn_xclick_options_help_outside 

補充一點:

<input type="hidden" name="custom_input" value="Custom value" /> 
+0

我需要你的完整代碼..? –

+0

你只需要添加下面的代碼: user3505541

+0

你是否檢查你的代碼...?我需要http://tamilnaduschoolofbanking.com/wp-content/uploads/2014/04/quesy.png –

0

請補充一點:

<input type="hidden" name="custom" value="your custom value"> 
+0

我需要http://tamilnaduschoolofbanking.com/wp-content/uploads/2014/04/quesy.png此視圖..? –

+0

自定義變量只retun爲PDT視圖頁面,但我想結帳頁面...選項..? –

+0

請解釋你的代碼 –

0

這是一個答案.. !!!

<input type="hidden" name="item_name" value="INDIANJOBTIPS"> 
<input type="hidden" name="on0" value="Duration"> 
<input type="hidden" name="os0 " value="1 year"> 
<input type="hidden" name="on1" value="No of users"> 
<input type="hidden" name="os1 " value="1"> 
相關問題