Comparing version 0.0.4 to 1.0.0
@@ -46,6 +46,8 @@ 'use strict'; | ||
this._HMACKey = options.HMACKey; | ||
this._url = 'https://live.adyen.com/hpp/pay.shtml?'; | ||
this._paymentPage = options.paymentPage || 'pay'; | ||
this._url = 'https://live.adyen.com/hpp/' + this._paymentPage + '.shtml?'; | ||
if (options.test === true) { | ||
this._url = 'https://test.adyen.com/hpp/pay.shtml?'; | ||
this._url = 'https://test.adyen.com/hpp/' + this._paymentPage + '.shtml?'; | ||
} | ||
@@ -78,2 +80,4 @@ | ||
shopperStatement: options.shopperStatement || null, | ||
skipSelection: options.skipSelection || false, | ||
brandCode: options.brandCode || null, | ||
@@ -153,2 +157,2 @@ // Signature for payment | ||
module.exports = HPP; | ||
module.exports = HPP; |
{ | ||
"name": "adyen", | ||
"version": "0.0.4", | ||
"version": "1.0.0", | ||
"description": "NodeJS module for the Adyen payment provider", | ||
@@ -5,0 +5,0 @@ "main": "./lib/adyen", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
188
1
12932
7