Skip to content
No description or website provided.
PHP
Latest commit a66866e May 17, 2012 @TigerWolf Update README.md
Failed to load latest commit information.
README.md Update README.md May 17, 2012
e24PaymentPipe.inc.php Add initial file. May 17, 2012

README.md

e24PaymentPipe-php

e24payment-php is an implementation in PHP of E24PaymentPipe java classes. It allows to connect to online credit card payment from http://www.aciworldwide.com/ .

Gateways that use this include:

Example Usage

  require_once('e24PaymentPipe.inc.php');
  $payment = new e24PaymentPipe;

  $payment->setErrorUrl("/application/error");
  $payment->setResponseURL("/application/success");

  $payment->setLanguage("ENG");
  $payment->setCurrency("840"); //USD
  $payment->setResourcePath('/e24payment/');
  $payment->setAlias("merchant-alias");
  $payment->setAction("1"); // 1 = Purchase

  $payment->setAmt($_POST['amount']);
  $payment->performPaymentInitialization();

  if (strlen($payment->getErrorMsg()) > 0) {
    echo $payment->getErrorMsg();
  }else{ 
    header('Location: ' . $payment_id = $payment->paymentPage . '?PaymentID=' . $payment->paymentId);
  }

Requirements

This requires php 5.2 in order to work. (Uses ZipArchive - also a PECL extension)

Userful Links

http://www.logisticsworld.com/currency.asp - Find your currency code here.

Credits

This library origonally written by Paolo Carlo Pomi, that had not been updated since 2009. It did not work with php 5. I have removed a dependency that it had with "pclzip.lib.php" and used the native php 5 functionality for zip.

Something went wrong with that request. Please try again.