PHP Classes

bibEC Process Card: Multiple gateway credit card payment processor

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 3,969 All time: 796 This week: 560Up
Version Licenses PHP version Categories
bibec_processcard 1.3.14Freely Distributable4.0Networking, E-Commerce


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
- 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: 47
All time rank: 20824 in United States United States
Week rank: 305 Down35 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  
This week:0
All time:796
This week:560Up
User Ratings User Comments (1)
 All time
Very useful class for developers.
11 years ago (Rakib)