Login   Register  
PHP Classes
elePHPant
Icontem

bibEC Process Card: Multiple gateway credit card payment processor

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-10-31 (3 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 3,874 All time: 756 This week: 1,364Down
Version Licenses PHP version Categories  
bibec_processcard 1.3.14Freely Distributable, F...4.0Networking, E-Commerce
Description Author  

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
- Skipjack
- ViaKlix
- Paynet
- VirtualMerchant

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.

Innovation Award  
PHP Programming Innovation award nominee
September 2004
Number 3


Prize: One book of choice by SAMS
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
Picture of Fabrizio Parrella
Name: Fabrizio Parrella <contact>
Classes: 8 packages by
Country: United States United States
Age: 37
All time rank: 19321 in United States United States
Week rank: 732 Down71 in United States United States Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file changelog.txt Doc. changelog
Accessible without login Plain text file example_plug_n_pay.php Example this is a simple example for PlugNPay
Accessible without login Plain text file example_viaklix.php Example this is a simple example for ViaKLIX
Accessible without login Plain text file TODO Doc. To.Do. List
Plain text file _class_processcard.php Class Main Class with example in the comments

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,874All time:756
 This week:0This week:1,364Down
User Ratings User Comments (1)  
 All time
Utility:78%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:90%StarStarStarStarStar
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:602
 
Very useful class for developers.
1 year ago (Rakib)
80%StarStarStarStarStar