itpanda-llc/mikbill-chelinvest-gorod-api

用于将MikBill计费系统与PJSChelyabinvestbank的Gorod支付系统集成的API

dev-master 2021-08-18 17:00 UTC

This package is auto-updated.

Last update: 2024-09-19 00:19:34 UTC


README

API 用于将 "MikBill" 计费系统与 "Город" ПАО "Челябинвестбанк" 的支付系统集成

Packagist Downloads Packagist License Packagist PHP Version Support

链接

功能

  • 申请支付入账
  • 执行支付

要求

  • PHP >= 7.2
  • libxml
  • PDO
  • SimpleXML
  • vlucas/phpdotenv ^5.3

安装

composer require itpanda-llc/mikbill-chelinvest-gorod-api

配置

copy .env.example .env
  • 在 ".env" 文件中指定参数
  • 在文件 "index.php" 中指定接口路径,该文件预先放置在Web服务器目录中

接口响应示例

<?xml version="1.0" encoding="windows-1251"?>
<Answer>
    <Code>0</Code>
    <Client>М*********** И***** Р*******</Client>
    <Account>0112</Account>
    <Balance>0.00</Balance>
    <Status>Активен</Status>
    <Service>Домашний интернет</Service>
    <Address>8 Марта ул, 25</Address>
    <Contract>СВ-ИТ0112</Contract>
    <Contact>+7********34</Contact>
</Answer>
<?xml version="1.0" encoding="windows-1251"?>
<Answer>
    <Code>0</Code>
    <PlatID>1911105</PlatID>
    <Status>1</Status>
    <Date>2019/11/26 12:47:21</Date>
</Answer>
<?xml version="1.0" encoding="windows-1251"?>
<Answer>
    <Code>1</Code>
    <Message>Неправильный запрос</Message>
</Answer>
<?xml version="1.0" encoding="windows-1251"?>
<Answer>
    <Code>1</Code>
    <Message>Аккаунт не найден</Message>
</Answer>