2017 © Pedro Peláez
 

library telecash

Checkdomain/telecash provides a wrapper to the TeleCash API

image

checkdomain/telecash

Checkdomain/telecash provides a wrapper to the TeleCash API

  • Monday, September 25, 2017
  • by checkdomain
  • Repository
  • 8 Watchers
  • 0 Stars
  • 10,032 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

README

What is Checkdomain/TeleCash

Checkdomain/TeleCash is a wrapper for the TeleCash Internet Payment Gateway (german). TeleCash Internet Payment Gateway (TeleCash IPG) is a payment service provider supporting a variety of payment options., (*1)

This project focuses on version 4 of the API interface (IPG API). There is no support for the Connect interface., (*2)

Checkdomain/TeleCash is currently limit to credit card payments., (*3)

TeleCash offers a service called DataStorage (german), which basically means they handle the secure storage of credit card information. Checkdomain/TeleCash supports the DataStorage service, in fact it is the only supported option for initiating sell transactions., (*4)

Requirements

Checkdomain/TeleCash requires php >= 5.4., (*5)

Installation

The easiest way to install this library is through composer. Just add the following lines to your composer.json file:, (*6)

{
   "require": {
        "checkdomain/TeleCash": "dev-master"
    }
}

Another way would be to download this library and configure the autoloading yourself. This library relies on a PSR-0 compatible autoloader for automatic class loading., (*7)

Usage

All supported API functions are accessible via the TeleCash class. For example, to validate credit card information use the validate method:, (*8)

$teleCash = new Checkdomain\TeleCash\TeleCash(...);
$validation = $teleCash->validate($ccNumber, $ccValid);
echo $validation->wasSuccessful();

To store credit card information using the DataStorage service use the storeHostedData method:, (*9)

$response = $teleCash->storeHostedDate($ccNumber, $ccValid, $hostedDataId);

To make a sell using previously stored credit card information use the sellUsingHostedData method:, (*10)

$response = $teleCash->sellUsingHostedData($hostedDataId, $amount);

Contributing

Checkdomain/TeleCash is open source. We are happily accepting any kind of contributions., (*11)

Running Tests

Run a php composer.phar install command in the base directory to install the phpunit dependency. After that you can simply call vendor/bin/phpunit tests/ to run the test suite., (*12)

The Versions

25/09 2017

dev-master

9999999-dev

Checkdomain/telecash provides a wrapper to the TeleCash API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

telecash payment service provider

25/09 2017

2.0.0

2.0.0.0

Checkdomain/telecash provides a wrapper to the TeleCash API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

telecash payment service provider

28/01 2016

1.0.0

1.0.0.0

Checkdomain/telecash provides a wrapper to the TeleCash API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

telecash payment service provider