Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

Paypal requires Perl script?

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
Camillia
Asked:
Camillia
  • 3
  • 3
  • 2
2 Solutions
 
Dave BaldwinFixer of ProblemsCommented:
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
 
Gary DavisDir Internet SvcsCommented:
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
 
CamilliaAuthor Commented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Dave BaldwinFixer of ProblemsCommented:
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
 
CamilliaAuthor Commented:
i just want to know about the IPN page and a sample for that.
0
 
CamilliaAuthor Commented:
0
 
Gary DavisDir Internet SvcsCommented:
0
 
Gary DavisDir Internet SvcsCommented:
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now