paycom/integration-template
Composer 安装命令:
composer require paycom/integration-template
包简介
Set of classes to easy integration with Paycom (Payme) payment system
README 文档
README
Please, use the following up to date repo instead https://github.com/PaycomUZ/paycom-integration-php-template
Paycom integration template
Prerequisites
Installation via Composer
Change current directory to your project folder and install package:
cd my-shop-project
composer create-project paycom/integration-template
Installation via Git
git clone https://github.com/umidjons/paycom-integration-php-template.git
cd paycom-integration-php-template
composer dumpautoload
From now you can use classes from package as following:
<?php // File `my-shop-project/api/index.php` require_once 'vendor/autoload.php'; use Paycom\Application; // load configuration $paycomConfig = require_once 'paycom.config.php'; $application = new Application($paycomConfig); $application->run();
Make copy of paycom.config.sample.php as paycom.config.php and set your real settings there.
Assuming your domain as https://myshop.uz,
now you can set entry point URL to handle requests from Paycom as https://myshop.uz/api/index.php.
统计信息
- 总下载量: 278
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-11-10