定制 dosarkz/paypost 二次开发

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

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

dosarkz/paypost

Composer 安装命令:

composer require dosarkz/paypost

包简介

The Paypost module for accepting payments by Kazpost

README 文档

README

The module for accepting payments by Kazpost for laravel 5 and high

  • installation
  • example
  • license

Installation

  • composer require dosarkz/paypost
  • php artisan vendor:publish --provider="Dosarkz\PayPost\ServiceProviders\PayPostServiceProvider"
  • that's it.

Example

  $payPost = PayPost::generateUrl([
                'amount' => "sum of purchase",
                'email' => "customeremail",
                'language' => 'ru',
                'currency' => 'KZT',
                'type' => 'card',
                'payment_webhook' => "here your url webhook use only working url (real)"
  ]);

  if ($payPost->success) {
      // todo white success instructions
      
      $paymentId = $payPost->result->payment;
      $paymentUrl = $payPost->result->url;
  }

License

License

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-12-13