provides a normal search interface to Amazon, which works at 5% fees, and takes the results and turns them into "individually linked books"which should earn 15% but does so
while preserving the look and feel of amazon.
This is a class used to interface to authorize.net. It is just a small class to ease the process of constructing the fields string being passed in an HTTPS POST via CURL and
returning the response in an array. It also has two handy functions to dump the data to a neat table for debugging purposes.
An easy to use script to help those who are having difficulty with Authorize.net's AIM method. (New version allows use of all Authorize.net's returned information)
This function accepts a credit card number and, optionally, a code for a credit card name. If a Name code is specified, the number is checked against card-specific criteria,
then validated with the Luhn Mod 10 formula. Otherwise it is only checked against the formula. It can be used for Visa, Mastercard, Amex, Discover, Diners Club and JCB
The credit_card class provides methods for cleaning, validating and identifying the type of credit card numbers.
Methods include: identify() - Find the type of credit card (Mastercard, Visa, etc...) based on the card number.
The method can identify 8 different card types, including Amex, Mastercard and Visa
validate() - Validate a number using the LUHN (mod 10) algorithm.
check() - Validate and identify a credit card number.
clean_no() - Strip all non-numeric characters from the passed value and return an integer.
CyberClass is an interface to the CyberCash Cash Register Service for online financial transactions (such as credit card processing). This is an adaptation to the origional
CyberLib but included is automatic 'merchant_conf' parsing. Check out my article at http://www.phpbuilder.com/columns/nathan20001225.php3
You know those stupid little things you come accross after years in the profession, that make you say "Golly, if I'd just known that 3 or 4 years ago, it would have saved a
ton of work!" This is one of them.
export data to all the xml type formats recognized by the money programs out there. MSMoney, Quicken, CSV etc. The code is really designed for financial data obviously. It is
in use in the IPN system I developed for working with Paypal. See the example URL and go into the test account and look in the history to see a live example. Any comments
would be appreciated.
This class allows for processing of Credit Cards with the merchant provider GoEmerchnt.com. It requires you have CURL installed. It has a debug mode so you can test it first
without sending lots of bogus transactions to their server.
this is a very simple function that performs a mod 10 on a credit card number. this function is not meant to be a complete solution, I only wanted to show how the mod 10
portion of a credit card validation function could be done quickly and efficiently.
When working with realtime credit card billing systems, e.g. Wire Card C3 you need to convert prices to cent values. Example: "9.99" $ must be "999" or "123.10" must be
"12310" So here ist the method for doing a simple conversion:
I messed around with the stock quote retrieval class, and made the get() function in it to get multiple quotes
rather than just a single one. Example here
This file provides a neat and simple method to interface with paypal and the paypal Instant Payment Notification (IPN) interface. It is designed to be an aid, and therefore
provide the developer with complete control. I've also included a demonstration file in the zip, called paypal.php, which shows how to use the class. This class handles the
submission of an order to paypal aswell as the processing an Instant Payment Notification (IPN). Including the demonstration file, the entire "paypal system" consists of just
2 PHP scripts. Once is the class and one implements the class.
This function returns the price to send a standard Priority Mail package from one zip code to another zip code, based on weight. No USPS-issued username or password is
required. Safety feature. Error repression.
Updated 9-24-01: ECHO-PHP Class is now available. ECHO-PHP Class drives all types of real-time credit card and check transactions using ECHO merchant processing�s free secure
payment gateway and open-source real-time software. Supports system check, address verification, authorization and deposit, deposit, credit, commercial card, electronic check
debit, and more. The new ECHO-PHP Class makes it easier than ever to connect to ECHO using this popular server-side, cross-platform, HTML embedded scripting language. Ideal
for all commerce applications. Perfect for ISP/IPPs to use for billing their clients, since this supports electronic checks as well.
This class will, given a symbol, retrieve various pieces of information from Yahoo!'s stock quotes. It uses Yahoo's nifty .csv download option. It also works for the various
indices, so long as you use the proper Yahoo! symbol for the index you want info on.
This is a spin off from cwe7g's comma integer. It will take in a string and it will turn it into the common money format 1,234.56 It will add commas and the correct format for
cents.
Slighty messy but functional XML interface into the UPS system to retrieve shipping rates. Requires free registration on UPS website. Not intended for live system.
This is a class to compute shipping costs for usps mailing. Also includes a shipping tracking method which I haven't completly tested yet Also, you must get the server name, a
username, and a password from USPS at http://www.uspsprioritymail.com.