定制 towoju5/advcash 二次开发

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

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

towoju5/advcash

最新稳定版本:v0.1

Composer 安装命令:

composer require towoju5/advcash

包简介

README 文档

README

You can install it by running below command in the root folder of Laravel:

composer require codemenco/advcash

Settings

By default, receive routes are disabled. You can turn it on through ADVCASH_DEF=true

To put your routes, such methods are available at the facade.

$route_url - A clean link to the page(It is relate to SCI not API).

static setSuccessRoute(string $route_url): void
static setStatusRoute(string $route_url): void
static setFailRoute(string $route_url): void

Add to .env

#SCI
ADVCASH_NAME=
ADVCASH_EMAIL=
ADVCASH_PASS=

#API
ADVCASH_API_NAME=
ADVCASH_API_EMAIL=
ADVCASH_API_PASS=

If you need access to the view, run the command

php artisan vendor:publish --provider="Codemenco\Advcash\AdvcashServiceProvider"

Events

Codemenco\Advcash\Events\AdvcashPaymentIncome (AdvcashConfirmResponse $payment)
Codemenco\Advcash\Events\AdvcashPaymentCancel (array $payment)
Codemenco\Advcash\Events\AdvcashPaymentStatus (AdvcashConfirmResponse $payment)

Usage

$formHtml = Advcash::createBitcoinRequest(float $amount, string $order_id): string
AdvcashApi::sendMoney(float $amount, 'EUR', string $email, string $note, false): string

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-15