Monday, April 19, 2010

StesCodes Recurring Payment - website payment pro using Asp.net

When you use PayPal Subscriptions and Recurring
Payments, your customers can purchase automatically recurring subscriptions from your website.
StesCodes provides the easy way to integrate code for PayPal Subscriptions and Recurring Payments using
Asp.net. StesCodes provides the source code for performing the website recurring payment from you own website.
So inorder to setup recurring payment paypal the first thing is to get a paid service with paypal called website standard pro,
after that the next step is to get the username, password and signature which you can see after you activated the API
StesCodes Recurring Payment - website payment pro using Asp.net
The diagram shown above works by, when a customer uses credit card the first step is to get a token
from the PayPal server. Once the token is received the next step is to get all the credit card details and the shipping details
from customer. Then we need to pass all the information to PayPal through SOAP API. PayPal will send the response
about the recurring with a profile ID. The profile ID is the key, so its better to store it somewhere may be
in database. Because we are not doing direct payment but recurring, so we will receive two response from PayPal later.
The first response is regarding the recurring profile creation completion and the second is the activation of the
recurring profile. All these two response will be notified through a process called IPN where PayPal will
send response to a particular url which we have to specify in the PayPal website settings and the IPN settings
should be ON. The next step is to capture the IPN notification from our website which contains the profile id,
amount and all details about the recurring payment, by using those details we can match the profile id with
the profile id which we store before and process according to that, for example activation of the customer account etcs.
Click here to download the source code

No comments:

Post a Comment