Innovation Award
 September 2004
Number 3 |
Most e-commerce sites have to resort to a third party gateway service to handle the payments of the products or services being sold.
There are many payment gateway provider companies. Each one provides different means to connect and interchange payment transaction information. This makes it hard for developers to implement the payment interface systems. It may also become frustrating for developers that are not sure about which payment service is good enough for their needs, as it imposes a difficulty to switch to a better provider later.
This class provides a single API that abstracts the access to several distinct payment gateways, not only making it easier to switch between payment gateways without the need to change the e-commerce site code, but also making it simpler to use different payment gateways as alternatives for when a primary gateway is down or not working for some other reason.
Manuel Lemos |
This class is meant to process credit card payments via one of multiple payment gateways that are supported.
Currently the class supports the following payment gateways: Plug and Pay, Authorize.net, ViaKlix, and paynet . Changing between payment gateways is mostly a matter of changing the class constructor parameter.
The class provides a payment gateway independent API with functions for:
- Logging the payment activity
- Set the payment gateway authentication credentials
- Set the paying customer details
- Set the ship to details
- Set the credit card details
- Set the valuta
- Specify the order details
- Submit the payment processing request and retrieving the results
The payment submission is done securely when possible using PHP SSL socket connections or the Curl extension for PHP or the Curl command line.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Sufficient (75.0%) |
Sufficient (71.4%) |
Good (87.5%) |
Sufficient (75.0%) |
- |
- |
Sufficient (60.9%) |
641 |
| Month: |
Not yet rated by the users |
 If you know an application of this package, send a message to the author to add a link here.
|
|