Thursday, October 04, 2012

PayPal Recurring Payments


When you use PayPal Subscriptions and Recurring Payments, your customers can purchase automatically recurring subscriptions from your website, or even using a link in an email!
Subscriptions and Recurring Payments is a low-cost way for you to accept credit card and bank account payments for content site subscriptions, newsletter fees, club dues, or recurring donations, and can be fully integrated with your website in a few easy steps. Subscriptions and Recurring Payments is only available for Business or Premier accounts.


What are the benefits?

Save time and money with PayPal's hassle-free Subscriptions and Recurring Payments:
  • Easy to implement - flexible and automatic billing frees you from sending invoices
  • No up-front costs - you'll have the same low fee schedule used when you receive other PayPal payments
  • Sell with ease - PayPal maintains detailed transaction records on our website
  • Improve buyer experience - with customizable buttons and secure payments, happy customers become repeat customers

How to implement:

This is simple. You just need to add three  hidden fields listed below.

<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1"> 
<input type="hidden" name="srt" value="1">

src

Recurring payments. Subscription payments recur unless subscribers cancel their subscriptions before the end of the current billing cycle or you limit the number of times that payments recur with the value that you specify for srt.
Allowable values are:
  • 0 – subscription payments do not recur
  • 1 – subscription payments recur
The default is 0.

srt
Optional
Recurring times. Number of times that subscription payments recur. Specify an integer with a minimum value of 1 and a maximum value of 52. Valid only if you specify src="1".

sra

Reattempt on failure. If a recurring payment fails, PayPal attempts to collect the payment two more times before canceling the subscription.
Allowable values are:
  • 0 – do not reattempt failed recurring payments
  • 1 – reattempt failed recurring payments before canceling
The default is 1.






2 comments:

  1. Very nice informative article. As we know PHP is open source and easy language to learn. You can create a good website with the help of PHP coding. Hire PHP Programmer

    ReplyDelete
  2. Finally!!! Thanks for this! I know is 2 years old but I am working on a subscription website and I needed information on those sra, src variables, Paypal is not really that explanatory plus they have many broken links when it comes to documentation, it is a pain when implementing a simple button.

    ReplyDelete