globalpayments-api 3.10.7 → 3.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Latest - v3.10.
|
|
3
|
+
## Latest - v3.10.8 (10/03/25):
|
|
4
|
+
|
|
5
|
+
### Enhancements:
|
|
6
|
+
|
|
7
|
+
- [Other] Unify all branding under Global Payments
|
|
8
|
+
|
|
9
|
+
## v3.10.7 (07/23/25):
|
|
4
10
|
|
|
5
11
|
### Enhancements:
|
|
6
12
|
|
|
@@ -206,4 +212,4 @@
|
|
|
206
212
|
|
|
207
213
|
## v1.4.8 (12/13/22)
|
|
208
214
|
|
|
209
|
-
####
|
|
215
|
+
####
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="https://globalpayments.github.io/images/globapaymentsLogo.png" alt="Global Payments logo" title="Global Payments" align="right" width="225" />
|
|
3
3
|
</a>
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Global Payments Node.js SDK
|
|
6
6
|
|
|
7
7
|
This SDK makes it easy to integrate your Node.js application with our Card Not Present and Card Present APIs.
|
|
8
8
|
|
|
@@ -52,11 +52,13 @@ yarn add globalpayments-api
|
|
|
52
52
|
|
|
53
53
|
## Documentation and Examples
|
|
54
54
|
|
|
55
|
-
You can find the latest SDK documentation along with code examples and test cards on
|
|
55
|
+
You can find the latest SDK documentation along with code examples and test cards on
|
|
56
|
+
the [Global Payments](https://developer.globalpay.com) Developer Hub.
|
|
56
57
|
|
|
57
58
|
In addition you can find working examples in the our example code repository.
|
|
58
59
|
|
|
59
|
-
_Quick Tip_: The included [test suite](https://github.com/globalpayments/node-sdk/tree/master/test) can be a great
|
|
60
|
+
_Quick Tip_: The included [test suite](https://github.com/globalpayments/node-sdk/tree/master/test) can be a great
|
|
61
|
+
source of code samples for using the SDK!
|
|
60
62
|
|
|
61
63
|
#### Process a Payment Example
|
|
62
64
|
|
|
@@ -83,7 +85,7 @@ card
|
|
|
83
85
|
#### Test Card Data
|
|
84
86
|
|
|
85
87
|
| Name | Number | Exp Month | Exp Year | CVN |
|
|
86
|
-
|
|
88
|
+
|-------------|------------------|-----------|----------|------|
|
|
87
89
|
| Visa | 4263970000005262 | 12 | 2025 | 123 |
|
|
88
90
|
| MasterCard | 2223000010005780 | 12 | 2019 | 900 |
|
|
89
91
|
| MasterCard | 5425230000004415 | 12 | 2025 | 123 |
|
|
@@ -94,7 +96,11 @@ card
|
|
|
94
96
|
|
|
95
97
|
#### Testing Exceptions
|
|
96
98
|
|
|
97
|
-
During your integration you will want to test for specific issuer responses such as 'Card Declined'. Because our sandbox
|
|
99
|
+
During your integration you will want to test for specific issuer responses such as 'Card Declined'. Because our sandbox
|
|
100
|
+
environments do not actually reach out to issuing banks for authorizations, there are specific transaction amounts
|
|
101
|
+
and/or card numbers that will trigger gateway and issuing bank responses. Please contact your support representative for
|
|
102
|
+
a complete listing of values used to simulate transaction AVS/CVV results, declines, errors, and other responses that
|
|
103
|
+
can be caught in your code. Example error handling code:
|
|
98
104
|
|
|
99
105
|
```javascript
|
|
100
106
|
card
|
|
@@ -138,4 +144,5 @@ All our code is open sourced and we encourage fellow developers to contribute an
|
|
|
138
144
|
|
|
139
145
|
## License
|
|
140
146
|
|
|
141
|
-
This project is licensed under the GNU General Public License v2.0. Please see [LICENSE.md](LICENSE.md) located at the
|
|
147
|
+
This project is licensed under the GNU General Public License v2.0. Please see [LICENSE.md](LICENSE.md) located at the
|
|
148
|
+
project's root for more details.
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeviceAttributeInfo = void 0;
|
|
4
4
|
class DeviceAttributeInfo {
|
|
5
5
|
/// <summary>
|
|
6
|
-
/// Name of the attribute item. For example "Heartland.AMD.OfficeKey" which is specific to Portico devices for AMD. The avlue of this item is passed to
|
|
6
|
+
/// Name of the attribute item. For example "Heartland.AMD.OfficeKey" which is specific to Portico devices for AMD. The avlue of this item is passed to Global Payments for equipment boarding
|
|
7
7
|
/// AttributeName and AttributeValue are optional as a pair. But if one is specified, both must be specified.
|
|
8
8
|
/// </summary>
|
|
9
9
|
name;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceAttributeInfo.js","sourceRoot":"","sources":["../../../../src/Entities/ProFac/DeviceAttributeInfo.ts"],"names":[],"mappings":";;;AAAA,MAAa,mBAAmB;IAC9B,aAAa;IACb,
|
|
1
|
+
{"version":3,"file":"DeviceAttributeInfo.js","sourceRoot":"","sources":["../../../../src/Entities/ProFac/DeviceAttributeInfo.ts"],"names":[],"mappings":";;;AAAA,MAAa,mBAAmB;IAC9B,aAAa;IACb,8LAA8L;IAC9L,6GAA6G;IAC7G,cAAc;IACP,IAAI,CAAS;IACpB,aAAa;IACb,kHAAkH;IAClH,6GAA6G;IAC7G,cAAc;IACP,KAAK,CAAS;CACtB;AAXD,kDAWC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "globalpayments-api",
|
|
3
|
-
"version" : "3.10.
|
|
4
|
-
"description": "Global Payments SDK for NodeJS for
|
|
5
|
-
"author": "
|
|
3
|
+
"version" : "3.10.8",
|
|
4
|
+
"description": "Global Payments SDK for NodeJS for Global Payments eCommerce gateways",
|
|
5
|
+
"author": "Global Payments",
|
|
6
6
|
"license": "GPL-2.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=16.20.2"
|