Download the PHP package netpay/omnipay-netpay without Composer

On this page you can find all versions of the php package netpay/omnipay-netpay. 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 omnipay-netpay

Omnipay : NetPay

Latest Stable Version Total Downloads Latest Unstable Version License

Gateway Setup

Basic Gateway Creation Code

On gateway you can set the following options:

Allows you to test your code in test environment:

If your endpoint varies from default you can set it using these functions:

You can set your merchant credentials using functions:

You can set SSL authentication for connection using functions:

Implemented Gateway Functionalities

Transactions using card data can be done following way:

You can use following function on any of previous requests to get order id of the payment:

You can use following function on any of previous requests to get transaction id of the payment:

Transaction id can also be retrieved from capture, refund and void requests.

For token transactions following can be used:

When saving card, permanent token expires when card expires and temporary one expires one hour after creation

You can retrieve created token from previous request the following way:

Deletion of saved card

Retrieve info about stored card

Making transactions using saved tokens

Following methods can be used on all requests:

Returns TRUE on successful transaction and FALSE on error

Returns human readable message if there is one or NULL if not

Following functions apply to purchase, authorize, capture, refund, void and retrieveTransaction methods, if data is unavailable they return NULL:

Value as generated by the acquirer that summarizes the success or otherwise of the proposed operation.

Value generated by the issuing bank in response to a proposal to transfer funds.

The Reference Retrieval Number (RRN) is a unique number generated by the acquirer for a specific merchant transaction. The RRN can be used to retrieve the transaction data from the acquirer.

Unique Order ID of the successful transaction.

The amount that has been successfully authorized for this order.

The amount that has been successfully captured for this order.

The amount that has been successfully refunded for this order.

Summary of the success or otherwise of the proposed operation. List of codes at https://developer.netpay.co.uk/api/transaction/v1#collapseThree?retrieve_transaction_response under response.gateway_code

The acquirer CSC response code generated by the card issuing institution

The card security code result generated to indicate whether the data supplied matches the data held by the cardholder's issuing bank. List of codes at https://developer.netpay.co.uk/api/transaction/v1#collapseThree?retrieve_transaction_response under response.cardsecurity.gateway_code

The acquirer AVS response code generated by the card issuing institution.

The address verification result generated to indicate whether the address data supplied matches the data held by the cardholder's issuing bank. List of codes at https://developer.netpay.co.uk/api/transaction/v1#collapseThree?retrieve_transaction_response under response.cardholder_verification.avs_gateway_code


All versions of omnipay-netpay with dependencies

PHP Build Version
Package Version
Requires omnipay/common Version ~2.0
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 netpay/omnipay-netpay contains the following files

Loading the files please wait ....