2017 © Pedro Peláez
 

library omnipay-interkassa

InterKassa driver for the Omnipay PHP payment processing library

image

fomvasss/omnipay-interkassa

InterKassa driver for the Omnipay PHP payment processing library

  • Wednesday, July 18, 2018
  • by fomvasss
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

InterKassa driver for the Omnipay PHP payment processing library, (*1)

Latest Stable Version Total Downloads Build Status Scrutinizer Code Quality Dependency Status, (*2)

Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+., (*3)

This package implements InterKassa support for Omnipay., (*4)

Installation

The preferred way to install this library is through composer., (*5)

Either run, (*6)

php composer.phar require "ange007/omnipay-interkassa"

or add, (*7)

"ange007/omnipay-interkassa": "*"

to the require section of your composer.json., (*8)

Basic Usage

The following gateway is provided by this package:, (*9)

For general usage instructions, please see the main Omnipay repository., (*10)

Example

public function payResponse( $serviceID, $status, $data )
{
    // Load Gateway
    $gateway = Omnipay::gateway( $serviceID );

    // Read data
    if( $status === 'notify' && $gateway->supportsAcceptNotification( ) ) { $request = $gateway->acceptNotification( $data ); }
    else if( $gateway->supportsCompleteAuthorize( ) ) { $request = $gateway->completeAuthorize( $data ); }
    else if( $gateway->supportsCompletePurchase( ) ) { $request = $gateway->completePurchase( $data ); }

    // Send request
    try { $response = $request->send( ); }
    catch( Exception $ex ) { }

    // Need wait server notification
    if( $response->isPending( ) )
    {
        //...
    }
    // Paid successful
    else if( $response->isSuccessful( ) )
    {
        $payID = $response->getTransactionId( );
        //...
    }
    // Pay cancelled from user
    else if( $request->isCancelled( ) ) 
    {
        //...
    }
    // Error or other
    else 
    { 
        $message = $response->getMessage( );
        //...
    }
}

Support

If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found., (*11)

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a mailing list which you can subscribe to., (*12)

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request., (*13)

License

This project is released under the terms of the MIT license. Read more here., (*14)

Copyright © 2017, ange007 (original author: HiQDev - hiqdev/omnipay-interkassa)., (*15)

The Versions

18/07 2018

dev-port-omnipay-v3

dev-port-omnipay-v3 https://github.com/ange007/omnipay-interkassa

InterKassa driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

php payment merchant omnipay interkassa

18/07 2018

1.0.0

1.0.0.0 https://github.com/ange007/omnipay-interkassa

InterKassa driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

php payment merchant omnipay interkassa

18/07 2018

v2.0

2.0.0.0 https://github.com/webtoucher/omnipay-interkassa

InterKassa driver for the Omnipay payment processing library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexey Kuznetsov

payment pay gateway merchant omnipay interkassa payments

19/03 2017

dev-master

9999999-dev https://github.com/ange007/omnipay-interkassa

InterKassa driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

php payment merchant omnipay interkassa

19/03 2017

0.1.1

0.1.1.0 https://github.com/ange007/omnipay-interkassa

InterKassa driver for the Omnipay PHP payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

php payment merchant omnipay interkassa