Solved

StormPay IPN(and other possible payment options)

Posted on 2003-11-10
3
315 Views
Last Modified: 2010-04-27
Hi

I'm conisdering adding payment possibilities to a PHP script I am developing. I think the first way I'll do this will be through StormPay.

I've read somewhere that Stormpay have an IPN system, where they call a script on your server, to confirm that a page has been called.

I can't find any documention on this IPN system, but from what I do know(which isn't an awful lot), Stormpay get a request from my client, they verify details, they send the IPN to a confirmation page on my server, and they they forward the user to my "thank you" page.

Any links on where I can get more information on this would be appreciated.

Also what security precautions would need to be taken regarding this.

I'm aware that CC Card security is taken care of by StormPay's server, but how do I make sure that people don't simply access the confirmation page(the page my server uses to confirm that they've paid) directly, without paying the money to Stormpay? I know I could make sure the IP address calling the page is the one used by the IPN, but can't IP addressed be spoofed?

I know I'm not going to get a 100% secure solution, but I'd like to close up any known security holes, to make it as difficult as possible.

Any information on what alternatives are available besides stormpay(besides paypal), as well as their pros and cons would also be appreciated.

Since this question is in parts, I'll award points for the different parts, if someone answers one part of the question and not another. I'll also add more points if the answer(or any part of the answer) proves to be more complex than I thought, or is merited by 300 points.
0
Comment
Question by:aolXFT
3 Comments
 
LVL 24

Assisted Solution

by:duz
duz earned 200 total points
ID: 9718339
aolXFT -

>Any links on where I can get more information on this would be appreciated.

http://www.stormpay.org/link_codes.htm#ipn_variables

Also lots of other information re your other questions on the same page.

>I'd like to close up any known security holes

http://www.stormlockprotector.com/

- duz



0
 
LVL 4

Accepted Solution

by:
AsbjornG earned 200 total points
ID: 9720600
Hi aolXFT,

I don't have any experience using StormPay IPN, but I have made PayPal work successfully in the past.

This is how it works:

- PayPal receives a payment, and makes a request to your server to notify you of the payment.
- Your script receives the notification, does whatever processing is necessary to verify the payment (this can include checking the IP, as well as a secret code that makes it just about impossible to simply make the post to your script directly), and posts back to the PayPal server. This is to verify that the transaction did in fact come from PayPal, and not from a spoofed IP.
- Depending on the reply from the PayPal server you can produce a suitable respose for the user.

This means that your script will make a POST to the PayPal server, which will in turn tell you whether or not the transaction was a real one.

Setting up IPN can be a bit of a headache sometimes, but it is as safe as you can get (I'm talking from PayPal experience, I have no personal experience using Stormpay).

Stormpay doesn't seem to have much documentation on IPN at all, but you can find the PayPal docs at http://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/ipn-intro-outside

As for other processor options, I always recommend 2Checkout (www.2checkout.com). They have a flat 5.5% per transaction fee which may be a bit too high for some, but there are no monthly fees and the only money it will cost you if you don't sell anything is the $49 setup fee.

2Checkout also has advanced options for shopping carts and reasonably safe passback routines that allows you to sell bits and bytes (downloads or memberships).

Whether or not they're right for you is really a matter of preference.

Good luck with whichever solution you end up choosing, it can be a headache but it's all worth it when the money start ticking in :)

Asbjorn

0
 
LVL 6

Author Comment

by:aolXFT
ID: 9725495
duz: That page gives information specific to stormpay, but it lacks clear information on the subject. It doesn't give a very clear explanation of the system.

AsbornG: Considering the amount of bad comments I've heard about PayPal and EBay, I was a bit hesitant. Since however I'm not going to be using them myself. This script is for a GPL Project I'm working on - although I might make the payment module a pay-for module(if people are going to be charging for services provided by my script, they might as well fork some money back to me :) ). I probably will write a module for PayPals system.

The nature of the project makes StormLock not-an-option.

Since I'll probably be doing this for more than Stormpay, and since I'm sure stormpays IPN system is similar to Paypals, and paypals is better documented, I think I'll accept Ashborn's answer, with duz's as assisting, if I can find the button to split the points.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Read about why website design really matters in today's demanding market.
Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
An overview of how to create reports in Adobe Analytics (formerly Omniture Site Catalyst) using pageNames, events, eVars and props. This video will show you how to install the Omniture Debugger tool so can see (and test) what is being passed int…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

705 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

13 Experts available now in Live!

Get 1:1 Help Now