mista/pay

There is no license information available for the latest version (dev-master) of this package.

Seven Pay PHP SDK

dev-master 2020-12-31 12:08 UTC

This package is not auto-updated.

Last update: 2025-05-20 12:00:41 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