定制 jalallinux/laravel-tomanpay 二次开发

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

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

jalallinux/laravel-tomanpay

Composer 安装命令:

composer require jalallinux/laravel-tomanpay

包简介

Laravel Tomanpay integration Client

README 文档

README

Latest Stable Version Latest Version on Packagist Tests Total Downloads

Toman's financial solutions help you to easily and quickly manage your business's financial flows comprehensively, focus on the value you create in your product and not worry about its financial affairs and processes.

Installation

You can install the package via composer

composer require jalallinux/laravel-tomanpay

Publish config file

You can publish config file to change default configs

 php artisan vendor:publish --provider JalalLinuX\\Tomanpay\\TomanpayServiceProvider --tag config

Usage

The main methods are called statically

use \JalalLinuX\Tomanpay\Model\Payment;

// Create new payment
Payment::create(1000, 'https://site.com/callback/path'): Payment

// Fetch an exists payment detail
Payment::detail('7cadba50-6059-424e-9580-c12448a8046e'): Payment

// Get list of payments
Payment::list(): LengthAwarePaginator

// Verify an exist payment
Payment::verify('7cadba50-6059-424e-9580-c12448a8046e', false): bool

// Redirect an exist payment to PSP
Payment::redirect('7cadba50-6059-424e-9580-c12448a8046e'): RedirectResponse

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-16