gouda/laravel-hyperpay
最新稳定版本:v1.1.1
Composer 安装命令:
composer require gouda/laravel-hyperpay
包简介
README 文档
README
sample package for laravel applications to integrate with HyperPay
Hi, I'm Gouda! 👋
🚀 About Me
I'm a Tecnical team lead...
Installation
Install with composer
composer require gouda/laravel-hyperpay
Add service Providor in config/app.php
\Gouda\LaravelHyperpay\HyperPayServiceProvider::class,
run migration
php artisan migrate
Environment Variables
To run this package, you will need to add the following environment variables to your .env file
HYPERPAY_TOKEN
HYPERPAY_ENTITY_ID
HYPERPAY_URL
OR run command:
php artisan vendor:publish --tag=HyperPay-package-config
How to use ?
payment without user:
- this function to make transaction without Model User , just pass following params:
$payment = new HyperPayPayment(); $payment->payWithOutUser('mohamed', 1000, '1311 1111 111 111', '05/25', '123'); // params : [name , amount, card number , card expirationdate, card security code]
This function will return payment number and save log in database.
Support
For support, email dev.mohamedgouda@gmail.com
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-01