hfsepayment/laravel-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

hfsepayment/laravel-plugin

最新稳定版本:v1.0.3

Composer 安装命令:

composer require hfsepayment/laravel-plugin

包简介

Epay payment gateway class for Laravel

README 文档

README

alt text
Epay payment gateway class for Laravel framework.

Installation

composer require hfsepayment/laravel-plugin

Usage

<?php

use HFSEpayment\Epayment;

$pay = new Epayment();

$payment = [
   'env'            => "test",
   'client_id'      => "test",
   'client_secret'  => "yF587AV9Ms94qN2QShFzVR3vFnWkhjbAK3sG",
   'secret_hash'    => 'qwerty12345',
   'terminal'       => "67e34d63-102f-4bd1-898e-370781d0074d",
   'invoiceId'      => "300022002",
   'amount'         => 10,
   'currency'       => "KZT",
   'backLink'       => "https://example.kz/success.html",
   'failureBackLink' => "https://example.kz/failure.html",
   'postLink'       => "https://example.kz/",
   'failurePostLink' => "https://example.kz/order/1123/fail",
   'language'       => "rus",
   'telephone'      => "",
   'email'          => "",
   // ...additional props
];
    
$pay->gateway($payment);

Payment properties

For more information visit the official docs

Property Required Default Description
env yes Either test or production
client_id yes
client_secret yes
secret_hash yes
terminal yes
invoiceId yes
amount yes
backLink yes
failureBackLink yes
postLink yes
failurePostLink yes
currency no "KZT"
language no "rus"
description no ""
accountId no ""
telephone no ""
email no ""
More additional properties no null If you need to send any property you can add it as a property of array

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-27