定制 paypro/paypro-php-v1 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

paypro/paypro-php-v1

最新稳定版本:1.0.2

Composer 安装命令:

composer require paypro/paypro-php-v1

包简介

Client for PayPro API v1

README 文档

README

PayPro

PayPro PHP API v1 Client

License: MIT Packagist

This library provides a client to connect with the PayPro API.

Requirements

  • PHP Version 5.3 or greater

Dependencies

  • PHP extension cUrl
  • PHP extension json

If you use Composer these dependencies are automatically handled for you. For manual installation make sure these extensions are activated.

Installation

Composer

To install using composer, you will have to install Composer first.

curl -s https://getcomposer.org/install | php

Create a composer.json file in your project root.

{
  "require": {
    "paypro/paypro-php-v1": "~1.0"
  }
}

Tell Composer to install the required dependencies.

php composer.phar install

If you want to use autoloading provided by Composer, add the following line to your application file.

require 'vendor/autoload.php';

You are now ready to use the PayPro API client.

Manually

Just download the latest release and require the files directly in your project. You have to require the init.php in your application file.

require 'init.php';

Getting started

Example of creating a payment:

$payproClient = new \PayPro\Client('YOUR_API_KEY');
$payproClient->setCommand('create_payment');
$payproClient->setParams(array('amount' => 500, 'consumer_email' => 'test@paypro.nl', 'pay_method' => 'ideal/INGBNL2A'));
$payproClient->execute();

Documentation

For guides and code examples you can go to https://paypro.nl/developers/docs.

Contributing

If you want to contribute to this project you can fork the repository. Create a new branch, add your feature and create a pull request. We will look at your request and determine if we want to add it.

License

MIT

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 9
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固