mista / pay
该软件包最新版本(dev-master)没有提供许可证信息。
Seven Pay PHP SDK
dev-master
2020-12-31 12:08 UTC
This package is not auto-updated.
Last update: 2024-09-24 08:19:32 UTC
README
Seven Pay PHP Sdk
=======================
This is a payment sdk developed by the Seven Group
Requirements
============
* PHP >= 7
* Latest cURL Extension
Installation
============
composer require mista/pay
Usage
=====
Add the PayUnit Namespace in your desired controller
use SevenPay\PayUnit\PayUnit
Create a new instance of the PayUnit class and pass in all the required attributes
$myPayment = New PayUnit("your_api_key","your_api_password","your_api_username","notify_url","mode");
Call the MakePayment method
$myPayment->makePayment("product_price");
Recomentdations
=======
Please for security reasons make sure you read your Api key, Api password and Api user from the config file