chip-chap/php-sdk 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

chip-chap/php-sdk

最新稳定版本:2.0.0

Composer 安装命令:

composer require chip-chap/php-sdk

包简介

The Chip-Chap PHP SDK for easy integrate Chip-Chap APIs from PHP

README 文档

README

This repository is a PHP implementation to interact with the ChipChap Financial API.

The API control panel are in https://commerce.chip-chap.com

It provides interaction with many online payment providers like Halcash, Paynet, Bank Card, Online Wallets, etc. with a secure authentication and authorization mechanism.

The currently implemented services are:

  • Paynet: generates reference barcodes for paying over internet without bank card data.
  • Halcash: sends a hal to a phone or cancel a ticket.
  • Virtual Card: creates a virtual visa.
  • Bitcoin: pay and receive payments with btc.
  • Faircoin: pay and receive payments with fair.

Installation

  1. Get the code via clone
  • git clone https://github.com/Chip-Chap/PHP-SDK.git
  1. Get via require in composer.json
  • require: { "chipchap/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 ChipChap($credentials, 'https://sandbox.chip-chap.com');

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

统计信息

  • 总下载量: 370
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 5
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-05-25