Skip to content

TigerWolf/e24PaymentPipe-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages