@pelcro/react-pelcro-js 3.23.0-beta.16 → 3.23.0-beta.17
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 +7 -1
- package/dist/index.esm.js +7 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17711,6 +17711,7 @@ class CybersourceGateway {
|
|
|
17711
17711
|
isExistingSource,
|
|
17712
17712
|
fingerprint_session_id
|
|
17713
17713
|
} = options;
|
|
17714
|
+
console.log("Options 1", options);
|
|
17714
17715
|
const params = isExistingSource ? {
|
|
17715
17716
|
source_id: token
|
|
17716
17717
|
} : {
|
|
@@ -17724,7 +17725,7 @@ class CybersourceGateway {
|
|
|
17724
17725
|
campaign_key: window.Pelcro.helpers.getURLParameter("campaign_key"),
|
|
17725
17726
|
coupon_code: couponCode,
|
|
17726
17727
|
address_id: product.address_required ? addressId : null,
|
|
17727
|
-
fingerprint_session_id,
|
|
17728
|
+
fingerprint_session_id: fingerprint_session_id,
|
|
17728
17729
|
...params
|
|
17729
17730
|
}, (err, res) => {
|
|
17730
17731
|
callback(err, res);
|
|
@@ -17743,6 +17744,7 @@ class CybersourceGateway {
|
|
|
17743
17744
|
addressId,
|
|
17744
17745
|
isExistingSource
|
|
17745
17746
|
} = options;
|
|
17747
|
+
console.log("Options 2", options);
|
|
17746
17748
|
const params = isExistingSource ? {
|
|
17747
17749
|
source_id: token
|
|
17748
17750
|
} : {
|
|
@@ -17775,6 +17777,7 @@ class CybersourceGateway {
|
|
|
17775
17777
|
addressId,
|
|
17776
17778
|
isExistingSource
|
|
17777
17779
|
} = options;
|
|
17780
|
+
console.log("Options 3", options);
|
|
17778
17781
|
const params = isExistingSource ? {
|
|
17779
17782
|
source_id: token
|
|
17780
17783
|
} : {
|
|
@@ -17811,6 +17814,7 @@ class CybersourceGateway {
|
|
|
17811
17814
|
addressId,
|
|
17812
17815
|
isExistingSource
|
|
17813
17816
|
} = options;
|
|
17817
|
+
console.log("Options 4", options);
|
|
17814
17818
|
const params = isExistingSource ? {
|
|
17815
17819
|
source_id: token
|
|
17816
17820
|
} : {
|
|
@@ -17839,6 +17843,7 @@ class CybersourceGateway {
|
|
|
17839
17843
|
addressId,
|
|
17840
17844
|
isExistingSource
|
|
17841
17845
|
} = options;
|
|
17846
|
+
console.log("Options 5", options);
|
|
17842
17847
|
const params = isExistingSource ? {
|
|
17843
17848
|
source_id: token
|
|
17844
17849
|
} : {
|
|
@@ -17865,6 +17870,7 @@ class CybersourceGateway {
|
|
|
17865
17870
|
token,
|
|
17866
17871
|
invoiceId
|
|
17867
17872
|
} = options;
|
|
17873
|
+
console.log("Options 6", options);
|
|
17868
17874
|
const params = options.isExistingSource ? {
|
|
17869
17875
|
source_id: token,
|
|
17870
17876
|
invoice_id: invoiceId
|
package/dist/index.esm.js
CHANGED
|
@@ -17681,6 +17681,7 @@ class CybersourceGateway {
|
|
|
17681
17681
|
isExistingSource,
|
|
17682
17682
|
fingerprint_session_id
|
|
17683
17683
|
} = options;
|
|
17684
|
+
console.log("Options 1", options);
|
|
17684
17685
|
const params = isExistingSource ? {
|
|
17685
17686
|
source_id: token
|
|
17686
17687
|
} : {
|
|
@@ -17694,7 +17695,7 @@ class CybersourceGateway {
|
|
|
17694
17695
|
campaign_key: window.Pelcro.helpers.getURLParameter("campaign_key"),
|
|
17695
17696
|
coupon_code: couponCode,
|
|
17696
17697
|
address_id: product.address_required ? addressId : null,
|
|
17697
|
-
fingerprint_session_id,
|
|
17698
|
+
fingerprint_session_id: fingerprint_session_id,
|
|
17698
17699
|
...params
|
|
17699
17700
|
}, (err, res) => {
|
|
17700
17701
|
callback(err, res);
|
|
@@ -17713,6 +17714,7 @@ class CybersourceGateway {
|
|
|
17713
17714
|
addressId,
|
|
17714
17715
|
isExistingSource
|
|
17715
17716
|
} = options;
|
|
17717
|
+
console.log("Options 2", options);
|
|
17716
17718
|
const params = isExistingSource ? {
|
|
17717
17719
|
source_id: token
|
|
17718
17720
|
} : {
|
|
@@ -17745,6 +17747,7 @@ class CybersourceGateway {
|
|
|
17745
17747
|
addressId,
|
|
17746
17748
|
isExistingSource
|
|
17747
17749
|
} = options;
|
|
17750
|
+
console.log("Options 3", options);
|
|
17748
17751
|
const params = isExistingSource ? {
|
|
17749
17752
|
source_id: token
|
|
17750
17753
|
} : {
|
|
@@ -17781,6 +17784,7 @@ class CybersourceGateway {
|
|
|
17781
17784
|
addressId,
|
|
17782
17785
|
isExistingSource
|
|
17783
17786
|
} = options;
|
|
17787
|
+
console.log("Options 4", options);
|
|
17784
17788
|
const params = isExistingSource ? {
|
|
17785
17789
|
source_id: token
|
|
17786
17790
|
} : {
|
|
@@ -17809,6 +17813,7 @@ class CybersourceGateway {
|
|
|
17809
17813
|
addressId,
|
|
17810
17814
|
isExistingSource
|
|
17811
17815
|
} = options;
|
|
17816
|
+
console.log("Options 5", options);
|
|
17812
17817
|
const params = isExistingSource ? {
|
|
17813
17818
|
source_id: token
|
|
17814
17819
|
} : {
|
|
@@ -17835,6 +17840,7 @@ class CybersourceGateway {
|
|
|
17835
17840
|
token,
|
|
17836
17841
|
invoiceId
|
|
17837
17842
|
} = options;
|
|
17843
|
+
console.log("Options 6", options);
|
|
17838
17844
|
const params = options.isExistingSource ? {
|
|
17839
17845
|
source_id: token,
|
|
17840
17846
|
invoice_id: invoiceId
|