Your APIs are going to vary depending on the gateway.

I would suggest looking at the Perl API documentation for Verisign/Cybercash
(http://www.verisign.com/support/cyberCash/supportDocs.html),

Authorize.net (https://www.authorize.net/docs/developersguide.pml),

or you could even use PayPal.com if you're looking for a quick and easy
approach (https://www.paypal.com/html/shopping_cart.pdf).

PayPal is remotely hosted only, there is no API...you use their site to
generate tags, then copy them and plug them into your HTML pages.

It is the gateway that will do the actual authorization and transaction
processing for you - this is the communication point, or middle tier,
between your shopping cart and the credit card company.

If you are looking for a simple validation operation that shows you whether
or not it is a legitimate card number (but does not approve or decline a
transaction), you can try the Business::CreditCard module.

In order to do any of this (with the exception of PayPal), you or your
client need to have a merchant account. The merchant will tell you which
gateways they support. For example, www.charge.com is a popular one. There
are hundreds of others.

As far as shopping carts go, probably the best place to start would be to
find a Perl shopping cart that has functionality similar to what you'd like
to build, spend some time studying it, and break down what makes things
tick. Maybe you'll find one that works for you, or maybe you'll build a
better one. In most cases, I've found that my clients invariably need some
customization that isn't available in a canned shopping cart script.

Authorize.net has a huge list of Authorize.net-compatible shopping carts
here:

http://www.authorizenet.com/alliances/carts_list.php


-----
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]
http://www.insiteful.tv





-----Original Message-----
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 6:31 AM
To: [EMAIL PROTECTED]
Subject: Creating a shopping cart


Hi all,

I have a question, not about Perl, but about CGI.
Can you give me some hints where should I go to learn how to create a
shopping cart?

I don't think I have a problem with the Perl code, but I don't know how to
validate a credit card, how do the transactions work, etc, to be able to
write a code for that.

Are there any books or online tutorials, free shopping carts, etc?

Thank you.

Teddy,
Mail: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to