Skip to content

Commit

Permalink
Updated default endpoint for TLS 1.2 and version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmacdomhnall committed Dec 7, 2016
1 parent bc330e7 commit c1c5e52
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Realex JS SDK
You can sign up for a Realex account at https://www.realexpayments.com.
# Realex JS Library
You can sign up for a Realex account at https://developer.realexpayments.com

## Hosted Payment Page (HPP) JS SDK
## Hosted Payment Page (HPP) JS Library

### Usage
The Javascript required to initialise the SDK is below. This code must only be executed when the DOM is fully loaded.
The Javascript required to initialise the library is below. This code must only be executed when the DOM is fully loaded.
```javascript
RealexHpp.init(payButtonId, merchantUrl, jsonFromServerSdk);
```
Expand All @@ -15,7 +15,7 @@ RealexHpp.init(payButtonId, merchantUrl, jsonFromServerSdk);
### Consuming the resulting POST
Once the payment has completed the Realex JSON response will be posted within to the supplied merchantUrl. The name of the field containing the JSON response is hppResponse.

## Remote JS SDK
## Remote JS Library

### Validation functions
* validateCardNumber - validates card number format and performs a Luhn check
Expand Down
4 changes: 2 additions & 2 deletions dist/rxp-js.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! rxp-js - v1.2.0 - 2015-10-28
/*! rxp-js - v1.2.1
* The official Realex Payments JS SDK
* https://github.com/realexpayments/rxp-js
* Licensed MIT
Expand All @@ -7,7 +7,7 @@ var RealexHpp = (function() {

'use strict';

var hppUrl = "https://hpp.realexpayments.com/pay";
var hppUrl = "https://pay.realexpayments.com/pay";

var randomId = randomId || Math.random().toString(16).substr(2,8);

Expand Down
4 changes: 2 additions & 2 deletions dist/rxp-js.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/rxp-hpp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var RealexHpp = (function() {

'use strict';

var hppUrl = "https://hpp.realexpayments.com/pay";
var hppUrl = "https://pay.realexpayments.com/pay";

var randomId = randomId || Math.random().toString(16).substr(2,8);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rxp-js",
"description": "The official Realex Payments JS SDK",
"version": "1.2.0",
"version": "1.2.1",
"homepage": "https://github.com/realexpayments/rxp-js",
"author": {
"name": "Realex Developer",
Expand Down

0 comments on commit c1c5e52

Please sign in to comment.