You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+63-46
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,16 @@
1
+
# Please use our new PHP SDK
2
+
We've moved. We highly recommend you use the Global Payments PHP SDK
3
+
which supports all the features of this SDK and will benefit from all future releases:
4
+
https://github.com/globalpayments/php-sdk
5
+
6
+
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.
7
+
1
8
# Realex Payments HPP PHP SDK
2
-
You can sign up for a free Realex Payments sandbox account at https://developer.realexpayments.com
9
+
You can sign up for a Global Payments (formerly Realex Payments) account at https://developer.globalpay.com
3
10
4
11
## Requirements ##
5
12
- PHP >= 5.3.9
13
+
- For security and support we highly recommend you use PHP 7
6
14
- Composer (https://getcomposer.org/)
7
15
8
16
## Instructions ##
@@ -12,7 +20,7 @@ You can sign up for a free Realex Payments sandbox account at https://developer.
12
20
```
13
21
{
14
22
"require": {
15
-
"realexpayments/rxp-hpp-php": "1.1.2"
23
+
"realexpayments/rxp-hpp-php": "1.1.3"
16
24
}
17
25
}
18
26
```
@@ -32,71 +40,80 @@ You can sign up for a free Realex Payments sandbox account at https://developer.
32
40
3. Add a reference to the autoloader class anywhere you need to use the sdk
33
41
34
42
```php
35
-
require_once ('vendor/autoload.php');
43
+
require_once ('vendor/autoload.php');
36
44
```
37
45
38
46
4. Use the sdk <br/>
39
47
40
48
```php
41
-
$hppRequest = ( new HppRequest() )
42
-
->addMerchantId( "myMerchantId" )
43
-
->addAccount( "mySubAccount" )
44
-
....
49
+
$hppRequest = new HppRequest();
50
+
$hppRequest->addMerchantId("MerchantId");
51
+
$hppRequest->addAccount("internet");
52
+
....
45
53
```
46
54
47
-
##SDK Example##
55
+
## Usage
48
56
49
-
### Creating Request JSON for Realex JS SDK
57
+
### Creating HPP Request JSON for Realex Payments JS Library
0 commit comments