Download the PHP package jeybin/networkintl without Composer

On this page you can find all versions of the php package jeybin/networkintl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package networkintl

Network International - Ngenius Payment Gateway Wrapper For Laravel

jeybin/networkintl is a wrapper package or in other words a helper package for implementing the Network International (NGENIUS) payment gateway in Laravel Projects.

Features

Installation

Requires PHP v7.0+ to run. Install the jeybin/networkintl using the command

After installation publish the config and service providers using

Once everything publishes, run the migration command to create the required tables

If you want to copy the Job files from the package run the command below, this will create the Jobs files required for the webhook listener. (path : App\Jobs\NgeniusWebhooks)

Once all the installation procedures are done there will be two tables available in your database one will be called as ngenius_gateway this table holds the configurations for the gateway

Columns Description
id Auto increment value (Primary Key) of the table
active 1 or 0 for assigning the active gateway if have multiple
type The type of configuration, accepting values are live/sandbox
api_key Api from network international
reference_id Reference id from Network international
base_url Api base url (different base urls in live and sandbox)
Other table is ngenius_gateway_webhooks this table will save the data received in the webhook URL. Columns Description
id Auto increment value (Primary Key) of the table
event_id Event id (payload->eventId)
event_name Event name (payload->eventName)
order_reference Order reference (payload->order->reference)
merchant_order_reference Merchant order reference (payload->order->merchantOrderReference)
email Email of the payer (payload->order->emailAddress)
currency Payment currency (payload->order->amount->currencyCode)
amount Payment amount (payload->order->amount->amount)
payload Full payload data received inside the webhook url in JSON format (payload)
exception Save exception if any

Usage

To create purchase order import use Jeybin\Networkintl\Ngenius to the class

The payment request ($paymentUrlRequest) is an array with following keys.

Key Description
amount Payment amount in merchant currency
payer_email Email address of the payer
order_reference Merchant order reference number
redirect_url Redirection path once the payment is successed
cancel_url Redirection path once the payment is cancelled
cancel_text The text need to be shown in the cancel button
merchant_defined Array of details you want like to pass like product name etc
language Gateway language, default is English, allowed parameters en,ar and fr
billing Required, Array of billing array details parameters are first_name, last_name , address,city,country
skip_confirmation_page Boolean value, by default false
skip3DS Boolean value, by default false

To check the status of an order simply pass order-status as type with order reference number in the request

Reference

License

MIT


All versions of networkintl with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7
psr/log Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jeybin/networkintl contains the following files

Loading the files please wait ....