Solved

Paypal requires Perl script?

Posted on 2011-09-25
8
341 Views
Last Modified: 2012-05-12
we have a  website and it generates username and password for users.
We're thinking to use Paypal for payment portal. But we need it in a way so that when payment is interrupted, access to website gets denied.
(for example, if credit card expired or maxes out or when credit card gets canceled).
For this, Paypal requires customization (I think) with some sort of a Perl script.

Is this correct? I have the paypal documentation and there's something on page 148 mentioning this.
0
Comment
Question by:Camillia
  • 3
  • 3
  • 2
8 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 36595437
No, it does not require Perl.  Paypal doesn't care what language you use as long as you generate and accept the procedures that are required.  The docs I have show the forms and variables but not a specific programming language.  You will only find out if a card has expired or canceled when you try to make a transaction.
0
 
LVL 18

Expert Comment

by:Gary Davis
ID: 36595695
You should not activate access until payment has been successfully made to your account. The best way is to use an IPN (Instant Payment Notification) where PayPal will send a message to your server when payment is made (basically a web service call from PayPal to you). Your IPN page will then see that the payment status has been complete and can activate the account.

This page can be php, aspx or whatever you need. It does not need to run SSL. There is no user since this is an asynchronous call with respect to the user. This is the page that usually updates your database and/or sends a confirmation email to the user. It is recommended that you log all incoming IPN messages in case the page crashes since there is no visibility to see the trap (send yourself an email with the exception or log it).

Gary Davis
0
 
LVL 7

Author Comment

by:Camillia
ID: 36595847
Gary, i havent setup paypal before and this is my first one. Do you have an example of this IN page? Yes, i do need to have the database updated and check that before I activate the user.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36596159
Paypal does have demo code for basic use.  Any features you want for your site like your database and user status you have to add yourself.
0
 
LVL 7

Author Comment

by:Camillia
ID: 36596170
i just want to know about the IPN page and a sample for that.
0
 
LVL 7

Author Comment

by:Camillia
ID: 36596222
0
 
LVL 18

Expert Comment

by:Gary Davis
ID: 36596463
0
 
LVL 18

Assisted Solution

by:Gary Davis
Gary Davis earned 250 total points
ID: 36596465
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question