Solved

Paypal requires Perl script?

Posted on 2011-09-25
8
337 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 82

Accepted Solution

by:
Dave Baldwin earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 7

Author Comment

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

Author Comment

by:Camillia
Comment Utility
0
 
LVL 18

Expert Comment

by:Gary Davis
Comment Utility
0
 
LVL 18

Assisted Solution

by:Gary Davis
Gary Davis earned 250 total points
Comment Utility
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now