2017 © Pedro Peláez
 

library qazkom-epay

PHP library for Qazkom ePay

image

kolesa-team/qazkom-epay

PHP library for Qazkom ePay

  • Wednesday, November 29, 2017
  • by kolesa-team
  • Repository
  • 11 Watchers
  • 4 Stars
  • 237 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 1 Open issues
  • 3 Versions
  • 25 % Grown

The README.md

Qazkom-epay

PHP library for Qazkom ePay integration, (*1)

Installation

$ composer require kolesa-team/qazkom-epay

Basic usage

$client = new \Epay\Client(array(
    'MERCHANT_CERTIFICATE_ID' => 'merchant certificate id',
    'MERCHANT_NAME'           => 'merchant name',
    'PRIVATE_KEY_FN'          => 'private key filename',
    'PRIVATE_KEY_PASS'        => 'private key password',
    'PRIVATE_KEY_ENCRYPTED'   => 1,
    'XML_TEMPLATE_FN'         => 'xml template filename',
    'XML_TEMPLATE_CONFIRM_FN' => 'xml confirmation template filename',
    'PUBLIC_KEY_FN'           => 'public key filename',
    'MERCHANT_ID'             => 'merchant id',
));

// Sign request for payment
$signature = $client->processRequest($orderId, $client->getCurrencyId('KZT'), $amount);

// Process payment system response
$result = $client->processResponse($response);

// Confirm request to unblock amount
$result = $client->processConfirmation($reference, $approvalCode, $orderId, $client->getCurrencyId('KZT'), $amount);

More information at https://testpay.kkb.kz/doc/htm/, (*2)

The Versions

29/11 2017

dev-master

9999999-dev

PHP library for Qazkom ePay

  Sources   Download

The Development Requires

29/11 2017

v1.0.x-dev

1.0.9999999.9999999-dev

PHP library for Qazkom ePay

  Sources   Download

The Development Requires

29/11 2017

1.0.0

1.0.0.0

PHP library for Qazkom ePay

  Sources   Download

The Development Requires