Download the PHP package chriskivaze/iveri-php without Composer

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

Iveri Enterprise Integration API Package

Latest Stable Version Latest Unstable Version Total Downloads License

Iveri Enterprise Integration API Package

Requirements

Dependencies (Handled by Composer)

Usage

Example of full 3DSecured Transaction

Create a new configuration instance containing your Iveri account details

Note: The Configuration will not be built and cannot be used in a Transaction instance until it is built. If a required parameter is not set, you will be presented with a ConfigurationValidateException describing the missing required parameter.

Create a new transaction instance with a standard transaction event listener

Note: The Transaction will not be built and cannot be used in a Iveri instance until it is built. If a required parameter is not set, you will be presented with a TransactionValidateException describing the missing required parameter.

Create Iveri instance and associate the configuration and transaction

At this point, your lookup request is ready with a result.

Processing a result

Handling 3DSecure

NOTE: This package does NOT use Iveri's 3DSecure Lookup API, it makes use of the Centinel API. This is due to the lack of support received from Iveri, a request that I have personally pinged several times since December 2015 and still not received a response (Current Date 19 October 2016). Please see the requirements to get your credentials for 3DSecure lookups and auths.

Mastercard's product is called "SecureCode" and Visa's product is called "Verified by Visa". The 3D-Secure refers to three domains involved in the security. They are the Acquiring or Merchant's bank, the Card Association's financial networks ie Mastercard and Visa and the Issuing or Cardholder's bank.

When we perform a 3DSecure lookup on a PAN and we're notified that the PAN is 3DSecure enrolled, we receive a payload containing the threeDomainEnrolled, threeDomainACSUrl and threeDomainPAREQ.

In order to display the 3DSecure authorization page to the customer, we need to submit form data to the above recived threeDomainACSUrl which will render the 3DSecure view in an iframe.

Once the customer has completed the 3DSecure authentication, the 3DSecure process submits an HTTP POST the result back to an endpoint supplied by you which we describe below.

Create the necessary variables

Important At this stage, you will need to have a saved record of the transaction as you will need to redirect the user to another endpoint which will destroy any variables you have at the current point. The preferred method is to store the transaction in a temporary cache which will automatically be destroyed as you generally don't want to deal with the storing of sensitive data.

Creating the View

Create the HTML IFrame which will hold the 3DSecure form received after submitting the POST to the threeDomainSecureACSUrl:

Create the HTML Form which will submit the POST to the threeDomainSecureACSUrl and initiatlize the 3DSecure form into the IFrame.

For clarity sake, this example makes use of a templating engine to render our variables in the view, in your code you may use plain PHP syntax such as `` or whatever framework you may be using.

Completing the 3DSecure Transaction

Regardless of whether or not the 3DSecure process fails, the payload will be submitted to the threeDomainSecureTerminateURL given. On this endpoint, your code must handle the received response which will contain 2 important fields:

At this point, an HTTP POST has been made your URL (threeDomainSecureTerminateURL) and your Iveri API, Configuration and Transaction instances have been lost, so we need to rebuild using the MD which is a unique identifier for our transaction.

Your threeDomainSecureTerminateURL should contain something like the following (Using plain PHP):

Extending the Transaction Listener

When constructing the Transaction instance, you must pass through an instance of TransactionListener which fires off events on certain transaction conditions. You can create your own TransactionListener and receive notifications of these events by can extending the default TransactionListener as follows.

Then setting the transaction to use your custom TransactionListener as follows:

or


All versions of iveri-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
guzzlehttp/guzzle Version ^6.2
ramsey/uuid Version ^3.5
illuminate/validation Version ^5.3
illuminate/support Version ^5.3
illuminate/translation Version ^5.3
stephenlake/centinel Version ^1.0.3
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 chriskivaze/iveri-php contains the following files

Loading the files please wait ....