mista/pay

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

Seven Pay PHP SDK

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mista/pay

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

This package is not auto-updated.

Last update: 2025-12-30 14:45:50 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