@pelcro/react-pelcro-js 3.26.0-sandbox.38 → 3.26.0-sandbox.40
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/dist/index.cjs.js +5 -2
- package/dist/index.esm.js +5 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11625,7 +11625,7 @@ const loadPaymentSDKs = () => {
|
|
|
11625
11625
|
if (!window.jQuery) {
|
|
11626
11626
|
window.Pelcro.helpers.loadSDK("https://code.jquery.com/jquery-3.6.0.slim.min.js", "vantiv-jquery-sdk");
|
|
11627
11627
|
}
|
|
11628
|
-
window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/
|
|
11628
|
+
window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js", "vantiv-jquery-sdk");
|
|
11629
11629
|
const eProtectApi3PreLiveURL = "https://request.eprotect.vantivprelive.com/eProtect/eProtect-api3.js";
|
|
11630
11630
|
const eProtectApi3ProductionURL = "https://request.eprotect.vantivcnp.com/eProtect/eProtect-api3.js";
|
|
11631
11631
|
const eProtectApi3scriptUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectApi3ProductionURL : eProtectApi3PreLiveURL;
|
|
@@ -20534,13 +20534,16 @@ const ApplePayButton = _ref => {
|
|
|
20534
20534
|
}
|
|
20535
20535
|
};
|
|
20536
20536
|
const orderId = `pelcro-${new Date().getTime()}`;
|
|
20537
|
+
const eProtectRequestPreLiveURL = "https://request.eprotect.vantivprelive.com";
|
|
20538
|
+
const eProtectRequestProductionURL = "https://request.eprotect.vantivcnp.com";
|
|
20539
|
+
const eProtectRequestUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectRequestProductionURL : eProtectRequestPreLiveURL;
|
|
20537
20540
|
const eProtectRequest = {
|
|
20538
20541
|
paypageId: payPageId,
|
|
20539
20542
|
reportGroup: reportGroup,
|
|
20540
20543
|
orderId: orderId,
|
|
20541
20544
|
id: orderId,
|
|
20542
20545
|
applepay: applePayToken,
|
|
20543
|
-
url:
|
|
20546
|
+
url: eProtectRequestUrlToUse
|
|
20544
20547
|
};
|
|
20545
20548
|
|
|
20546
20549
|
// successCallback function to handle the response from WorldPay.
|
package/dist/index.esm.js
CHANGED
|
@@ -11595,7 +11595,7 @@ const loadPaymentSDKs = () => {
|
|
|
11595
11595
|
if (!window.jQuery) {
|
|
11596
11596
|
window.Pelcro.helpers.loadSDK("https://code.jquery.com/jquery-3.6.0.slim.min.js", "vantiv-jquery-sdk");
|
|
11597
11597
|
}
|
|
11598
|
-
window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/
|
|
11598
|
+
window.Pelcro.helpers.loadSDK("https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js", "vantiv-jquery-sdk");
|
|
11599
11599
|
const eProtectApi3PreLiveURL = "https://request.eprotect.vantivprelive.com/eProtect/eProtect-api3.js";
|
|
11600
11600
|
const eProtectApi3ProductionURL = "https://request.eprotect.vantivcnp.com/eProtect/eProtect-api3.js";
|
|
11601
11601
|
const eProtectApi3scriptUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectApi3ProductionURL : eProtectApi3PreLiveURL;
|
|
@@ -20504,13 +20504,16 @@ const ApplePayButton = _ref => {
|
|
|
20504
20504
|
}
|
|
20505
20505
|
};
|
|
20506
20506
|
const orderId = `pelcro-${new Date().getTime()}`;
|
|
20507
|
+
const eProtectRequestPreLiveURL = "https://request.eprotect.vantivprelive.com";
|
|
20508
|
+
const eProtectRequestProductionURL = "https://request.eprotect.vantivcnp.com";
|
|
20509
|
+
const eProtectRequestUrlToUse = window.Pelcro.site.read().vantiv_gateway_settings.environment === "production" ? eProtectRequestProductionURL : eProtectRequestPreLiveURL;
|
|
20507
20510
|
const eProtectRequest = {
|
|
20508
20511
|
paypageId: payPageId,
|
|
20509
20512
|
reportGroup: reportGroup,
|
|
20510
20513
|
orderId: orderId,
|
|
20511
20514
|
id: orderId,
|
|
20512
20515
|
applepay: applePayToken,
|
|
20513
|
-
url:
|
|
20516
|
+
url: eProtectRequestUrlToUse
|
|
20514
20517
|
};
|
|
20515
20518
|
|
|
20516
20519
|
// successCallback function to handle the response from WorldPay.
|