2017 © Pedro Peláez
 

library php-sdk

The Telepay PHP SDK for easy integrate Telepay APIs from PHP

image

telepay/php-sdk

The Telepay PHP SDK for easy integrate Telepay APIs from PHP

  • Wednesday, March 1, 2017
  • by santoslluis
  • Repository
  • 3 Watchers
  • 1 Stars
  • 4,503 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Telepay API integration for PHP

This repository is a PHP implementation to interact with the Telepay Financial API., (*1)

The API control panel is in https://cp.telepay.net, (*2)

It provides interaction with many online payment providers like PaysafeCard, Bank Card, Online Wallets, etc. with a secure authentication and authorization mechanism., (*3)

The currently implemented services are:

  • Sample Service: for testing the right connection to the API
  • PagoFacil: Credit and Debit bank card processing
  • Paynet Payment of services: gives a way for paying many common services in Mexico
  • PayU: a way for pay services in 7eleven and Oxxo, Mexico
  • SafetyPay: online payments with your online banking credentials.
  • ToditoCash: mexican pre-charged wallet for paying services and products online.
  • Ukash: referenced payments with a vouchers without bank data.
  • Paynet reference: generates reference barcodes for paying over internet without bank card data.
  • Halcash Spain: sends a hal to a phone or cancel a ticket.
  • Multiva TPV: generates a Virtual Tpv for payments with credit card.
  • Pademobile: online payments with your online banking credentials.
  • POS Service: generates a Virtual Tpv for payments with credit card.
  • EasyPay Service: generates a reference to pay from the cashier.
  • SepaIn Service: generates a reference to pay with bank transfer.
  • Cryptocapital Service: generates a virtual credit card.

Installation

  1. Get the code via clone
    • git clone https://github.com/Telepay/PHP-SDK.git
  2. Get via require in composer.json
    • require: { "telepay/php-sdk": "dev-master" }

Basic sample

<?php

use TelepayApi\Core\UserCredentials;
use TelepayApi\TelepayClient;

$credentials = new UserCredentials(
    'YOUR_TELEPAY_ACCESS_KEY',
    'YOUR_TELEPAY_ACCESS_SECRET'
);

$tc = new TelepayClient($credentials, 'https://api.telepay.net/test');

print_r($tc->getSample()->make());

The Versions

01/03 2017

dev-master

9999999-dev

The Telepay PHP SDK for easy integrate Telepay APIs from PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Rick Moreno