PHPackages                             adriaroca/rxp-hpp-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. adriaroca/rxp-hpp-php

ActiveLibrary[Payment Processing](/categories/payments)

adriaroca/rxp-hpp-php
=====================

SDK to send requests and parse responses from Realex Payments using HPP

v1.1.3(6y ago)036MITPHPPHP &gt;=5.3.9

Since Sep 15Pushed 6y agoCompare

[ Source](https://github.com/adriaroca/rxp-hpp-php)[ Packagist](https://packagist.org/packages/adriaroca/rxp-hpp-php)[ RSS](/packages/adriaroca-rxp-hpp-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (6)Used By (0)

Please use our new PHP SDK
==========================

[](#please-use-our-new-php-sdk)

We've moved. We highly recommend you use the Global Payments PHP SDK which supports all the features of this SDK and will benefit from all future releases:

With the latest update (1.1.3) this SDK supports the mandatory and recommended HPP fields for 3D Secure 2. Going forward it will only receive critical security updates, no further feature updates will be released beyond 3D Secure 2.

Realex Payments HPP PHP SDK
===========================

[](#realex-payments-hpp-php-sdk)

You can sign up for a Global Payments (formerly Realex Payments) account at

Requirements
------------

[](#requirements)

- PHP &gt;= 5.3.9
- For security and support we highly recommend you use PHP 7
- Composer ()

Instructions
------------

[](#instructions)

1. Add the following to your 'composer.json' file

    ```
    {
        "require": {
            "realexpayments/rxp-hpp-php": "1.1.3"
        }
    }

    ```
2. Inside the application directory run composer:

    ```
    composer update

    ```

    OR (depending on your server configuration)

    ```
    php composer.phar update

    ```
3. Add a reference to the autoloader class anywhere you need to use the sdk

    ```
    require_once ('vendor/autoload.php');
    ```
4. Use the sdk

    ```
    $hppRequest = new HppRequest();
    $hppRequest->addMerchantId("MerchantId");
    $hppRequest->addAccount("internet");
    ....
    ```

Usage
-----

[](#usage)

### Creating HPP Request JSON for Realex Payments JS Library

[](#creating-hpp-request-json-for-realex-payments-js-library)

```
