PayPal payment details payment form

I have a site with a form of payment, I want to add recurring payments. how would i do that? What ID do I need to use in the form fields?

I saw a WordPress plugin that uses a3 t3 and p3 like this:

  <input type="hidden" name="a3" id="a3" value="" /> <p class="donate_recur"><label for="recur">Repeat Donation</label> <select name="t3" id="t3"> <option value="0"> Do not repeat </option> <option value="D"> Daily </option> <option value="W"> Weekly </option> <option value="M"> Monthly </option> <option value="Y"> Yearly </option> </select> x <input name="p3" id="p3" value="'.$dplus['duration'].'" type="text" style="width:10px;" /> 

I'm not sure that a3 is only t3 , how long the transaction will take, and p3 how many times this will happen.

I looked a bit on the Internet and I found how to make a PayPal button for some product with recurring payments. but I need it to be dynamically injected.

thanks.

+4
source share
2 answers
 a3 - amount to billed each recurrence p3 - number of time periods between each recurrence t3 - time period (D=days, W=weeks, M=months, Y=years) <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick-subscriptions"> <input type="hidden" name="business" value=" me@mybusiness.com "> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="no_shipping" value="1"> <input type="image" src="http://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it fast, free and secure!"> <input type="hidden" name="a3" value="5.00"> <input type="hidden" name="p3" value="1"> <input type="hidden" name="t3" value="M"> <input type="hidden" name="src" value="1"> <input type="hidden" name="sra" value="1"> </form> 
+9
source

Required fields:

a3 : Regular rate. This is the subscription price.

p3 : Normal billing cycle. This is the length of the billing cycle. the number is changed using the usual billing cycle units (t3, below)

t3 : Regular billing units. These are units of the regular billing cycle (p3, higher) Valid values: D (days), W (weeks), M (months), Y (years)

no_note : this field ensures that your subscriber will not be asked to turn on; pay attention to the subscription, the function that PayPal signs does not support. This field must be enabled, and the value must be set to 1.

Source: Subscriptions and regular PayPal payment guide .

It is important to note that without the optional src field (also described in the document above), the subscription expires immediately after the first transaction and is not recursive:

src : recurring payments. If set to "1", the payment will be repeated if your customer cancels the subscription before the end of the billing cycle. If omitted, the monthly fee will not be repeated at the end of the billing cycle.

0
source

All Articles