paycom / integration-template
There is no license information available for the latest version (1.0.2) of this package.
Set of classes to easy integration with Paycom (Payme) payment system
1.0.2
2017-04-28 09:50 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-02-10 08:37:51 UTC
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
.