{"_id":"46dnds-globalpayments","_rev":"6-acdf9c044efdbfa36c4e70e52116277e","name":"46dnds-globalpayments","dist-tags":{"latest":"1.3.9"},"versions":{"1.3.3":{"name":"46dnds-globalpayments","version":"1.3.3","keywords":[],"author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","_id":"46dnds-globalpayments@1.3.3","maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"ava":{"files":["lib/test/**/*Test.js"],"source":["lib/src/**/*.js"],"timeout":"5m","failFast":true,"concurrency":1},"bin":{"46dnds_globalpayments-api":"bin/netsuite-post.js"},"dist":{"shasum":"22fce054e62dd73034f7a7b924f57a785011992d","tarball":"https://registry.npmjs.org/46dnds-globalpayments/-/46dnds-globalpayments-1.3.3.tgz","fileCount":600,"integrity":"sha512-Clgdtc2WXmSMgVolbE0Ypt01B2vjie0uJBgvWNIa+DfVDythJ0fikbl78o32717KY8uKG/wJBrGZIGC6c/vWuQ==","signatures":[{"sig":"MEUCIEA2RUB5BsGa4VjtJQQhFU5/gXakDGutyCdD0RtevsF1AiEA7gipmuEe0RLUfOAxdijuvciVSI5tCsT+Ci2EfPUb6PM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2116206},"main":"./lib/src/index.js","gitHead":"64e57623cf7b7f85565cf30927abca82aba29981","scripts":{"docs":"typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src","test":"ava","build":"tsc","format":"prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'","pretest":"npm-run-all build:clean test:lint build","prebuild":"npm-run-all test:lint","test:lint":"tslint --project tsconfig.json src","prepublish":"npm-run-all build","build:clean":"rimraf lib","build:netsuite":"webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js"},"typings":"./lib/src/index","_npmUser":{"name":"46dndsfl","email":"npmjs@46degresn.ca"},"repository":{"url":"git+https://github.com/46dnds/globalpayments-node-sdk.git","type":"git"},"_npmVersion":"10.2.4","description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"20.5.1","dependencies":{"url":"^0.11.0","sha1":"^1.1.1","typedarray":"^0.0.6","es6-promise":"^4.2.8","@azz/elementtree":"^0.1.6"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.17.0","rimraf":"^2.6.3","tslint":"^4.5.1","typedoc":"^0.9.0","webpack":"^3.12.0","prettier":"^1.18.2","typescript":"2.5.2","@types/node":"^7.10.6","npm-run-all":"^4.1.5","@hitc/netsuite-types":"^2017.2.32","awesome-typescript-loader":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/46dnds-globalpayments_1.3.3_1703037471581_0.3372282691168962","host":"s3://npm-registry-packages"}},"1.3.4":{"name":"46dnds-globalpayments","version":"1.3.4","keywords":[],"author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","_id":"46dnds-globalpayments@1.3.4","maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"ava":{"files":["lib/test/**/*Test.js"],"source":["lib/src/**/*.js"],"timeout":"5m","failFast":true,"concurrency":1},"bin":{"46dnds_globalpayments-api":"bin/netsuite-post.js"},"dist":{"shasum":"51a3f5a66ea3278882ed7efb0cad2d3f96f44061","tarball":"https://registry.npmjs.org/46dnds-globalpayments/-/46dnds-globalpayments-1.3.4.tgz","fileCount":78,"integrity":"sha512-iS2j2WRw2Ls3W7YGV6sVY8T8uNq6v4GyE6eq+OOJiPnUKknxfWzixqdl2b5CAw745V6f6o90RpfXR0U1iqTeug==","signatures":[{"sig":"MEQCIDIB64x5ESNgOOL/KXFJS3UHDHKYZzyuwSwrpYVAvwUmAiBWl8mu5vW/uT7kKsnib8JgDiHYRP/ZadmFhmGdzzljVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":233527},"main":"./lib/src/index.js","gitHead":"259fae84d8a75c72eda64d1e5adf1c86456d11ab","scripts":{"docs":"typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src","test":"ava","build":"tsc","format":"prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'","pretest":"npm-run-all build:clean test:lint build","prebuild":"npm-run-all test:lint","test:lint":"tslint --project tsconfig.json src","prepublish":"npm-run-all build","build:clean":"rimraf lib","build:netsuite":"webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js"},"typings":"./lib/src/index","_npmUser":{"name":"46dndsfl","email":"npmjs@46degresn.ca"},"repository":{"url":"git+https://github.com/46dnds/globalpayments-node-sdk.git","type":"git"},"_npmVersion":"10.2.4","description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"20.5.1","dependencies":{"url":"^0.11.0","sha1":"^1.1.1","typedarray":"^0.0.6","es6-promise":"^4.2.8","@azz/elementtree":"^0.1.6"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.17.0","rimraf":"^2.6.3","tslint":"^4.5.1","typedoc":"^0.9.0","webpack":"^3.12.0","prettier":"^1.18.2","typescript":"2.5.2","@types/node":"^7.10.6","npm-run-all":"^4.1.5","@hitc/netsuite-types":"^2017.2.32","awesome-typescript-loader":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/46dnds-globalpayments_1.3.4_1703714751007_0.14467306382993472","host":"s3://npm-registry-packages"}},"1.3.5":{"name":"46dnds-globalpayments","version":"1.3.5","keywords":[],"author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","_id":"46dnds-globalpayments@1.3.5","maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"ava":{"files":["lib/test/**/*Test.js"],"source":["lib/src/**/*.js"],"timeout":"5m","failFast":true,"concurrency":1},"bin":{"46dnds_globalpayments-api":"bin/netsuite-post.js"},"dist":{"shasum":"4a53213aa912306970c96a72e3a3617b648d3040","tarball":"https://registry.npmjs.org/46dnds-globalpayments/-/46dnds-globalpayments-1.3.5.tgz","fileCount":136,"integrity":"sha512-LmqUd0H1X1pS/oiyCByfAxHBvY63uhacAfhzb36gXZWFlCqHfZ1eVRTpX7sH9IDMKYyrtegDUdKvZKvbv6yVnw==","signatures":[{"sig":"MEUCIQDeUKDYajbfKe3sWk+5YVQ1I+0vAsViyZKslxug4Q9G+AIgf4BEFNpl6V20JdFiVIIem3zW5hVk7cCoLWUrakGvUuI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1429987},"main":"./lib/src/index.js","gitHead":"880ee6a9173ea1eec13b64828d18e685ac3d63cf","scripts":{"docs":"typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src","test":"ava","build":"tsc","format":"prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'","pretest":"npm-run-all build:clean test:lint build","prebuild":"npm-run-all test:lint","test:lint":"tslint --project tsconfig.json src","prepublish":"npm-run-all build","build:clean":"rimraf lib","build:netsuite":"webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js"},"typings":"./lib/src/index","_npmUser":{"name":"46dndsfl","email":"npmjs@46degresn.ca"},"repository":{"url":"git+https://github.com/46dnds/globalpayments-node-sdk.git","type":"git"},"_npmVersion":"10.2.4","description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"20.5.1","dependencies":{"url":"^0.11.0","sha1":"^1.1.1","typedarray":"^0.0.6","es6-promise":"^4.2.8","@azz/elementtree":"^0.1.6"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.17.0","rimraf":"^2.6.3","tslint":"^4.5.1","typedoc":"^0.9.0","webpack":"^3.12.0","prettier":"^1.18.2","typescript":"2.5.2","@types/node":"^7.10.6","npm-run-all":"^4.1.5","@hitc/netsuite-types":"^2017.2.32","awesome-typescript-loader":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/46dnds-globalpayments_1.3.5_1703714980009_0.48311808254558253","host":"s3://npm-registry-packages"}},"1.3.6":{"name":"46dnds-globalpayments","version":"1.3.6","keywords":[],"author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","_id":"46dnds-globalpayments@1.3.6","maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"ava":{"files":["lib/test/**/*Test.js"],"source":["lib/src/**/*.js"],"timeout":"5m","failFast":true,"concurrency":1},"bin":{"46dnds_globalpayments-api":"bin/netsuite-post.js"},"dist":{"shasum":"f1f2a389ba11dce811b814691c5c1cd742ae1c1b","tarball":"https://registry.npmjs.org/46dnds-globalpayments/-/46dnds-globalpayments-1.3.6.tgz","fileCount":226,"integrity":"sha512-7CTRZRgsBU0j0lKsKRfwaJcA1kDWO7u/uHDn8WC3+mErun6c/ZA5m11+6iJyt1eAZNLhywjlJs5ethb+4NMsyQ==","signatures":[{"sig":"MEQCICK7lreOXhCYsXn+47fDSe0iBPykEOEW8VyvEDxUq4e7AiBxOiptGLBM7KchxNQ2b7gftSjhV2WTRYKoF2K0Uhh2cA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2047540},"main":"./lib/src/index.js","gitHead":"53dec894e97270e9a3346e47c65a1e1b10acda1c","scripts":{"docs":"typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src","test":"ava","build":"tsc","format":"prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'","pretest":"npm-run-all build:clean test:lint build","prebuild":"npm-run-all test:lint","test:lint":"tslint --project tsconfig.json src","prepublish":"npm-run-all build","build:clean":"rimraf lib","build:netsuite":"webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js"},"typings":"./lib/src/index","_npmUser":{"name":"46dndsfl","email":"npmjs@46degresn.ca"},"repository":{"url":"git+https://github.com/46dnds/globalpayments-node-sdk.git","type":"git"},"_npmVersion":"10.2.4","description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"20.5.1","dependencies":{"url":"^0.11.0","sha1":"^1.1.1","typedarray":"^0.0.6","es6-promise":"^4.2.8","@azz/elementtree":"^0.1.6"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.17.0","rimraf":"^2.6.3","tslint":"^4.5.1","typedoc":"^0.9.0","webpack":"^3.12.0","prettier":"^1.18.2","typescript":"2.5.2","@types/node":"^7.10.6","npm-run-all":"^4.1.5","@hitc/netsuite-types":"^2017.2.32","awesome-typescript-loader":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/46dnds-globalpayments_1.3.6_1703715386308_0.49985821235453387","host":"s3://npm-registry-packages"}},"1.3.7":{"name":"46dnds-globalpayments","version":"1.3.7","keywords":[],"author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","_id":"46dnds-globalpayments@1.3.7","maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"ava":{"files":["lib/test/**/*Test.js"],"source":["lib/src/**/*.js"],"timeout":"5m","failFast":true,"concurrency":1},"bin":{"46dnds_globalpayments-api":"bin/netsuite-post.js"},"dist":{"shasum":"c59b52f6853726a91a0ed0ea260002490d3a77ec","tarball":"https://registry.npmjs.org/46dnds-globalpayments/-/46dnds-globalpayments-1.3.7.tgz","fileCount":226,"integrity":"sha512-tfw2elhDSa7Gxf2rsqggL9iO+e/3ti2mLeAuific1oL1eHBkThzXPRtJYTh9w1vqaquYLzPf9ddIHwnv9CIRDw==","signatures":[{"sig":"MEUCIHbIx9NRt8EXNQM+tz8qQky1qW+/4yMRkPzlUxKprWN/AiEApqZ4Knq9IsELg2SoghDUET/V2jPdFL5SR8+cbS+qBGk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2048353},"main":"./lib/src/index.js","gitHead":"9113a459778894d7146cef022c7570210ff443ae","scripts":{"docs":"typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src","test":"ava","build":"tsc","format":"prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'","pretest":"npm-run-all build:clean test:lint build","prebuild":"npm-run-all test:lint","test:lint":"tslint --project tsconfig.json src","prepublish":"npm-run-all build","build:clean":"rimraf lib","build:netsuite":"webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js"},"typings":"./lib/src/index","_npmUser":{"name":"46dndsfl","email":"npmjs@46degresn.ca"},"repository":{"url":"git+https://github.com/46dnds/globalpayments-node-sdk.git","type":"git"},"_npmVersion":"10.2.4","description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"20.5.1","dependencies":{"url":"^0.11.0","sha1":"^1.1.1","node-fetch":"^3.3.2","typedarray":"^0.0.6","es6-promise":"^4.2.8","@azz/elementtree":"^0.1.6","https-proxy-agent":"^7.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.17.0","rimraf":"^2.6.3","tslint":"^4.5.1","typedoc":"^0.9.0","webpack":"^3.12.0","prettier":"^1.18.2","typescript":"2.5.2","@types/node":"^7.10.14","npm-run-all":"^4.1.5","@hitc/netsuite-types":"^2017.2.32","awesome-typescript-loader":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/46dnds-globalpayments_1.3.7_1703778007575_0.25410097266484133","host":"s3://npm-registry-packages"}},"1.3.8":{"name":"46dnds-globalpayments","version":"1.3.8","keywords":[],"author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","_id":"46dnds-globalpayments@1.3.8","maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"ava":{"files":["lib/test/**/*Test.js"],"source":["lib/src/**/*.js"],"timeout":"5m","failFast":true,"concurrency":1},"bin":{"46dnds_globalpayments-api":"bin/netsuite-post.js"},"dist":{"shasum":"ba5d3b5fe3191c97bba895098434902b96a75c94","tarball":"https://registry.npmjs.org/46dnds-globalpayments/-/46dnds-globalpayments-1.3.8.tgz","fileCount":226,"integrity":"sha512-uQ2sWv64BlQXD7Mau3vs96QAgQ5I+kE2/xKYZdQSUmwz75Rj0ilay6cDZpYGQ4c5cDiLtf9BPlCDYIoJ1TyYrQ==","signatures":[{"sig":"MEUCIQCMcQDn4sebz3bNugeD5XpXGqqAnnFEcqU5RCdqoE1UUwIgLun64DiEcr3xUm9eon0DwSjD2B9q7AnGJbzlKfqsMZ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2048382},"main":"./lib/src/index.js","gitHead":"eb52f73fef4d84ee23c1f9ed2c92b532384fb184","scripts":{"docs":"typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src","test":"ava","build":"tsc","format":"prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'","pretest":"npm-run-all build:clean test:lint build","prebuild":"npm-run-all test:lint","test:lint":"tslint --project tsconfig.json src","prepublish":"npm-run-all build","build:clean":"rimraf lib","build:netsuite":"webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js"},"typings":"./lib/src/index","_npmUser":{"name":"46dndsfl","email":"npmjs@46degresn.ca"},"repository":{"url":"git+https://github.com/46dnds/globalpayments-node-sdk.git","type":"git"},"_npmVersion":"10.2.4","description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"20.5.1","dependencies":{"url":"^0.11.0","sha1":"^1.1.1","node-fetch":"^2.7.0","typedarray":"^0.0.6","es6-promise":"^4.2.8","@azz/elementtree":"^0.1.6","https-proxy-agent":"^7.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.17.0","rimraf":"^2.6.3","tslint":"^4.5.1","typedoc":"^0.9.0","webpack":"^3.12.0","prettier":"^1.18.2","typescript":"2.5.2","@types/node":"^7.10.6","npm-run-all":"^4.1.5","@hitc/netsuite-types":"^2017.2.32","awesome-typescript-loader":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/46dnds-globalpayments_1.3.8_1703779072165_0.9034345041100169","host":"s3://npm-registry-packages"}},"1.3.9":{"name":"46dnds-globalpayments","version":"1.3.9","description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","repository":{"type":"git","url":"git+https://github.com/46dnds/globalpayments-node-sdk.git"},"main":"./lib/src/index.js","typings":"./lib/src/index","scripts":{"build":"tsc","build:netsuite":"webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js","build:clean":"rimraf lib","docs":"typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src","format":"prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'","prebuild":"npm-run-all test:lint","prepublish":"npm-run-all build","pretest":"npm-run-all build:clean test:lint build","test":"ava","test:lint":"tslint --project tsconfig.json src"},"dependencies":{"@azz/elementtree":"^0.1.6","es6-promise":"^4.2.8","https-proxy-agent":"^7.0.2","node-fetch":"^2.7.0","sha1":"^1.1.1","typedarray":"^0.0.6","url":"^0.11.0"},"devDependencies":{"@hitc/netsuite-types":"^2017.2.32","@types/node":"^7.10.6","ava":"^0.17.0","awesome-typescript-loader":"^3.5.0","npm-run-all":"^4.1.5","prettier":"^1.18.2","rimraf":"^2.6.3","tslint":"^4.5.1","typedoc":"^0.9.0","typescript":"2.5.2","webpack":"^3.12.0"},"ava":{"concurrency":1,"timeout":"5m","failFast":true,"files":["lib/test/**/*Test.js"],"source":["lib/src/**/*.js"]},"bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","bin":{"46dnds_globalpayments-api":"bin/netsuite-post.js"},"directories":{"example":"examples","lib":"lib","test":"test"},"keywords":[],"_id":"46dnds-globalpayments@1.3.9","gitHead":"693dea4403abf7b0a8a58217f666f945487e34e4","_nodeVersion":"20.5.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-KrjMEgXufbLVUFPXD+0Aols0Uoikr94b2W2oAMAmyevt5Y5Xu/Bjo8dC//m69XGIONm4N8Wz02VJEcvzlTL4hg==","shasum":"bf35476f489aa0121a2112d94a858ef697dd1efa","tarball":"https://registry.npmjs.org/46dnds-globalpayments/-/46dnds-globalpayments-1.3.9.tgz","fileCount":226,"unpackedSize":2048699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXjjyNGsUVbN3HSUUCbE/Vx5ni1rY1pFLFXasbUByoHAiBxdSm04fATIBlD/pIORiRah+/pqsaVAO024CxDHj/8hw=="}]},"_npmUser":{"name":"46dndsfl","email":"npmjs@46degresn.ca"},"maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/46dnds-globalpayments_1.3.9_1732829531530_0.30414743409903755"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-20T01:57:51.580Z","modified":"2024-11-28T21:32:11.889Z","1.3.3":"2023-12-20T01:57:51.907Z","1.3.4":"2023-12-27T22:05:51.209Z","1.3.5":"2023-12-27T22:09:40.222Z","1.3.6":"2023-12-27T22:16:26.556Z","1.3.7":"2023-12-28T15:40:07.838Z","1.3.8":"2023-12-28T15:57:52.407Z","1.3.9":"2024-11-28T21:32:11.719Z"},"bugs":{"url":"https://github.com/46dnds/globalpayments-node-sdk/issues"},"author":{"name":"Heartland Payment Systems"},"license":"GPL-2.0","homepage":"https://github.com/46dnds/globalpayments-node-sdk#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/46dnds/globalpayments-node-sdk.git"},"description":"Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways (a fixed and viable version by 46 Degrees North Development Studio)","maintainers":[{"name":"46dndsfl","email":"npmjs@46degresn.ca"}],"readme":"<a href=\"https://github.com/globalpayments\" target=\"_blank\">\n    <img src=\"https://globalpayments.github.io/images/globapaymentsLogo.png\" alt=\"Global Payments logo\" title=\"Global Payments\" align=\"right\" width=\"225\" />\n</a>\n\n# Heartland & Global Payments Node.js SDK\n\nThis SDK makes it easy to integrate your Node.js application with our Card Not Present and Card Present APIs.\n\n## Solutions\n\n### General / Omnichannel\n\n* API Payment Processing\n* Apple Pay & Google Pay\n* Secure Card Storage & Customer Management\n* Subscriptions / Recurring Billing Solutions\n* Credit, Debit, Gift & Loyalty, and eCheck/ACH\n\n### Card Not Present (Ecommerce & MOTO) Specific\n\n* Minimize PCI compliance requirements with Hosted Payment Solutions\n* 140+ Authorization Currencies & 16 Settlement Currencies\n* 150+ Local Payment Methods Worldwide\n* Account Updater\n* Inbuilt Fraud Prevention Rules\n* 3D Secure, AVS and CVV Checks\n* 260+ Global Enterprise Fraud Rules\n\n### Card Present (Terminal & POS) Specific\n\n* Secure End-To-End Encryption\n\n## Requirements\n\n* Node.js\n\n## Installation\n\nInstalling the SDK into your solution is usually be done by either using NPM or Yarn.\n\nTo install via [NPM](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\n```\nnpm install --save 46dnds-globalpayments\n```\n\nTo install via [Yarn](https://yarnpkg.com/lang/en/docs/installing-dependencies/):\n\n```\nyarn add globalpayments-api\n```\n\n## Documentation and Examples\n\nYou can find the latest SDK documentation along with code examples and test cards on the [Global Payments - BROKEN LINK, expired since 2021!!](https://developer.realexpayments.com) and [Heartland](https://developer.heartlandpaymentsystems.com/documentation) Developer Hubs.\n\nIn addition you can find working examples in the our example code repository.\n\n_Quick Tip_: The included [test suite](https://github.com/globalpayments/node-sdk/tree/master/test) can be a great source of code samples for using the SDK!\n\n#### Process a Payment Example\n\n```javascript\n//setting config\nconst\nsandbox\t= true,\n{\n  Address,\n  CreditCardData,\n  ServicesConfig,\n  ServicesContainer,\n  HostedPaymentConfig,\n  Transaction\n} = require('46dnds-globalpayments');\n\nconst config = new ServicesConfig();\nconfig.merchantId \t\t= \"YOUR MERCHANT ID\";\nconfig.accountId \t\t= \"YOUR ACCOUNT ID\";\nconfig.sharedSecret \t\t= \"YOUR SUPER SECRET\";\nconfig.serviceUrl \t\t= \"https://api.\"+(sandbox?'sandbox.':'')+\"realexpayments.com/epage-remote.cgi\";\nServicesContainer.configure(config);\n\n\nconst card = new CreditCardData();\ncard.number = \"4111111111111111\";\ncard.expMonth = \"12\";\ncard.expYear = \"2025\";\ncard.cvn = \"123\";\n\ncard\n  .charge(129.99)\n  .withCurrency(\"EUR\")\n  .execute()\n  .then((response) => {\n    const result = response.responseCode;\n    const message = response.responseMessage;\n  })\n  .catch((e) => {\n    // handle  errors\n  });\n```\n\n#### Process a Refund(rebate)\n\n```javascript\nconfig.rebatePassword = 'rebate'; //use your own\nconst refund=Transaction.fromId('TRANSACTION_ID','REFERENCE_ORDER_ID');\nrefund\n  .refund('129.99')\n  .withAuthCode('AUTH_CODE')\n\t.withCurrency('EUR')\n\t.execute()\n  .then((response) => {\n    const result = response.responseCode;\n    const message = response.responseMessage;\n  })\n  .catch((e) => {\n    // handle  errors\n  });\n```\n\n#### Test Card Data\n\n| Name        | Number           | Exp Month | Exp Year | CVN  |\n| ----------- | ---------------- | --------- | -------- | ---- |\n| Visa        | 4263970000005262 | 12        | 2025     | 123  |\n| MasterCard  | 2223000010005780 | 12        | 2019     | 900  |\n| MasterCard  | 5425230000004415 | 12        | 2025     | 123  |\n| Discover    | 6011000000000087 | 12        | 2025     | 123  |\n| Amex        | 374101000000608  | 12        | 2025     | 1234 |\n| JCB         | 3566000000000000 | 12        | 2025     | 123  |\n| Diners Club | 36256000000725   | 12        | 2025     | 123  |\n\n#### Testing Exceptions\n\nDuring your integration you will want to test for specific issuer responses such as 'Card Declined'. Because our sandbox environments do not actually reach out to issuing banks for authorizations, there are specific transaction amounts and/or card numbers that will trigger gateway and issuing bank responses. Please contact your support representative for a complete listing of values used to simulate transaction AVS/CVV results, declines, errors, and other responses that can be caught in your code. Example error handling code:\n\n```javascript\ncard\n  .charge(-5)\n  .withCurrency(\"USD\")\n  .withAddress(address)\n  .execute()\n  .catch((e) => {\n    switch (e.name) {\n      case BuilderError.constructor.name:\n        // handle builder errors\n        break;\n      case ConfigurationError.constructor.name:\n        // handle errors related to your services configuration\n        break;\n      case GatewayError.constructor.name:\n        // handle gateway errors/exceptions\n        break;\n      case UnsupportedTransactionError.constructor.name:\n        // handle errors when the configured gateway doesn't support\n        // desired transaction\n        break;\n      case ApiError.constructor.name:\n      default:\n        // handle all other errors\n        break;\n    }\n  });\n```\n\n## Contributing\n\nAll our code is open sourced and we encourage fellow developers to contribute and help improve it!\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Ensure SDK tests are passing\n4. Commit your changes (`git commit -am 'Add some feature'`)\n5. Push to the branch (`git push origin my-new-feature`)\n6. Create new Pull Request\n\n## License\n\nThis project is licensed under the GNU General Public License v2.0. Please see [LICENSE.md](LICENSE.md) located at the project's root for more details.\n","readmeFilename":"README.md"}