Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Release 3.19.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments authored and jenkins committed Nov 17, 2020
1 parent 5545591 commit 50171ce
Show file tree
Hide file tree
Showing 14 changed files with 306 additions and 620 deletions.
2 changes: 1 addition & 1 deletion VERSION.TXT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.18.1
3.19.0
3 changes: 3 additions & 0 deletions class-diagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ package "client API response wrappers" <<Rect>> {
interface BasicPaymentItem #f2f2f2{
+JSON json
+String id
+String acquirerCountry
+DisplayHints displayHints
+Array<AccountOnFile> accountsOnFile
+AssociativeArray<String, AccountOnFile> accountOnFileById
Expand All @@ -58,6 +59,7 @@ package "client API response wrappers" <<Rect>> {
+Boolean allowsTokenization
+Boolean autoTokenized
+Boolean allowsInstallments
+String acquirerCountry
+MobileIntegrationLevel mobileIntegrationLevel
+DisplayHints displayHints
+Number minAmount
Expand All @@ -77,6 +79,7 @@ package "client API response wrappers" <<Rect>> {
class BasicPaymentProductGroup #f2f2f2 {
+JSON json
+String id
+String acquirerCountry
+DisplayHints displayHints
+Array<AccountOnFile> accountsOnFile
+AssociativeArray<String, AccountOnFile> accountOnFileById
Expand Down
16 changes: 14 additions & 2 deletions dist/connectsdk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/connectsdk.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/connectsdk.min.js.map

Large diffs are not rendered by default.

16 changes: 14 additions & 2 deletions dist/connectsdk.noEncrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ define("connectsdk.Util", ["connectsdk.core"], function (connectsdk) {
return {
screenSize: window.innerWidth + "x" + window.innerHeight,
platformIdentifier: window.navigator.userAgent,
sdkIdentifier: ((document.GC && document.GC.rppEnabledPage) ? 'rpp-' : '') + 'JavaScriptClientSDK/v3.18.1',
sdkIdentifier: ((document.GC && document.GC.rppEnabledPage) ? 'rpp-' : '') + 'JavaScriptClientSDK/v3.19.0',
sdkCreator: 'Ingenico'
};
},
Expand Down Expand Up @@ -762,9 +762,16 @@ define("connectsdk.ApplePay", ["connectsdk.core", "connectsdk.promise", "connect
var _context = context;
var _C2SCommunicator = C2SCommunicator;

var _countryCode;
if (_context.acquirerCountry) {
_countryCode = _context.acquirerCountry;
} else {
_countryCode = _context.countryCode;
}

var payment = {
currencyCode: _context.currency,
countryCode: _context.countryCode,
countryCode: _countryCode,
total: {
label: _context.displayName,
amount: _context.totalAmount / 100,
Expand Down Expand Up @@ -1600,6 +1607,9 @@ define("connectsdk.C2SCommunicator", ["connectsdk.core", "connectsdk.promise", "
var promise = new Promise();
var _context = context;
_context.displayName = paymentProductSpecificInputs.merchantName;
if (paymentProductSpecificInputs.acquirerCountry) {
_context.acquirerCountry = paymentProductSpecificInputs.acquirerCountry;
}
_context.networks = networks;

_ApplePay.initPayment(_context, this).then(function (res) {
Expand Down Expand Up @@ -1792,6 +1802,7 @@ define("connectsdk.BasicPaymentProduct", ["connectsdk.core", "connectsdk.Account
this.allowsTokenization = json.allowsTokenization;
this.autoTokenized = json.autoTokenized;
this.allowsInstallments = json.allowsInstallments;
this.acquirerCountry = json.acquirerCountry;
this.displayHints = new PaymentProductDisplayHints(json.displayHints);
this.id = json.id;
this.maxAmount = json.maxAmount;
Expand Down Expand Up @@ -1823,6 +1834,7 @@ define("connectsdk.BasicPaymentProductGroup", ["connectsdk.core", "connectsdk.Ac
this.json = json;
this.json.type = "group";
this.id = json.id;
this.acquirerCountry = json.acquirerCountry;
this.displayHints = new PaymentProductDisplayHints(json.displayHints);
this.accountsOnFile = [];
this.accountOnFileById = {};
Expand Down
2 changes: 1 addition & 1 deletion dist/connectsdk.noEncrypt.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/connectsdk.noEncrypt.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 50171ce

Please sign in to comment.