@pelcro/react-pelcro-js 3.22.0-beta.12 → 3.22.0-beta.14
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 -3
- package/dist/index.esm.js +5 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -16407,7 +16407,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16407
16407
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16408
16408
|
if (isUsingExistingPaymentMethod) {
|
|
16409
16409
|
// no need to create a new source using tap
|
|
16410
|
-
return handleTapPayment(null);
|
|
16410
|
+
return handleTapPayment(null, state);
|
|
16411
16411
|
}
|
|
16412
16412
|
if (!tapInstanceRef.current) {
|
|
16413
16413
|
return console.error("Tap sdk script wasn't loaded, you need to load tap sdk before rendering the tap payment flow");
|
|
@@ -16692,7 +16692,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16692
16692
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16693
16693
|
if (isUsingExistingPaymentMethod) {
|
|
16694
16694
|
// no need to create a new source using vantiv
|
|
16695
|
-
return handleVantivPayment(null);
|
|
16695
|
+
return handleVantivPayment(null, state.couponCode);
|
|
16696
16696
|
}
|
|
16697
16697
|
if (!vantivInstanceRef.current) {
|
|
16698
16698
|
return console.error("Vantiv sdk script wasn't loaded, you need to load vantiv sdk before rendering the vantiv payment flow");
|
|
@@ -17828,7 +17828,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17828
17828
|
return submitPayment(state);
|
|
17829
17829
|
}
|
|
17830
17830
|
if (getSiteCardProcessor() === "vantiv") {
|
|
17831
|
-
return submitUsingVantiv();
|
|
17831
|
+
return submitUsingVantiv(state);
|
|
17832
17832
|
}
|
|
17833
17833
|
if (getSiteCardProcessor() === "tap") {
|
|
17834
17834
|
return submitUsingTap(state);
|
|
@@ -21527,6 +21527,7 @@ const AddressCreateContainer = _ref => {
|
|
|
21527
21527
|
first_name: firstName,
|
|
21528
21528
|
last_name: lastName,
|
|
21529
21529
|
line1: line1,
|
|
21530
|
+
line2: line2,
|
|
21530
21531
|
city: city,
|
|
21531
21532
|
state: state,
|
|
21532
21533
|
country: country,
|
|
@@ -22354,6 +22355,7 @@ const AddressUpdateContainer = _ref => {
|
|
|
22354
22355
|
first_name: firstName,
|
|
22355
22356
|
last_name: lastName,
|
|
22356
22357
|
line1: line1,
|
|
22358
|
+
line2: line2,
|
|
22357
22359
|
city: city,
|
|
22358
22360
|
state: state,
|
|
22359
22361
|
country: country,
|
package/dist/index.esm.js
CHANGED
|
@@ -16377,7 +16377,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16377
16377
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16378
16378
|
if (isUsingExistingPaymentMethod) {
|
|
16379
16379
|
// no need to create a new source using tap
|
|
16380
|
-
return handleTapPayment(null);
|
|
16380
|
+
return handleTapPayment(null, state);
|
|
16381
16381
|
}
|
|
16382
16382
|
if (!tapInstanceRef.current) {
|
|
16383
16383
|
return console.error("Tap sdk script wasn't loaded, you need to load tap sdk before rendering the tap payment flow");
|
|
@@ -16662,7 +16662,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16662
16662
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16663
16663
|
if (isUsingExistingPaymentMethod) {
|
|
16664
16664
|
// no need to create a new source using vantiv
|
|
16665
|
-
return handleVantivPayment(null);
|
|
16665
|
+
return handleVantivPayment(null, state.couponCode);
|
|
16666
16666
|
}
|
|
16667
16667
|
if (!vantivInstanceRef.current) {
|
|
16668
16668
|
return console.error("Vantiv sdk script wasn't loaded, you need to load vantiv sdk before rendering the vantiv payment flow");
|
|
@@ -17798,7 +17798,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17798
17798
|
return submitPayment(state);
|
|
17799
17799
|
}
|
|
17800
17800
|
if (getSiteCardProcessor() === "vantiv") {
|
|
17801
|
-
return submitUsingVantiv();
|
|
17801
|
+
return submitUsingVantiv(state);
|
|
17802
17802
|
}
|
|
17803
17803
|
if (getSiteCardProcessor() === "tap") {
|
|
17804
17804
|
return submitUsingTap(state);
|
|
@@ -21497,6 +21497,7 @@ const AddressCreateContainer = _ref => {
|
|
|
21497
21497
|
first_name: firstName,
|
|
21498
21498
|
last_name: lastName,
|
|
21499
21499
|
line1: line1,
|
|
21500
|
+
line2: line2,
|
|
21500
21501
|
city: city,
|
|
21501
21502
|
state: state,
|
|
21502
21503
|
country: country,
|
|
@@ -22324,6 +22325,7 @@ const AddressUpdateContainer = _ref => {
|
|
|
22324
22325
|
first_name: firstName,
|
|
22325
22326
|
last_name: lastName,
|
|
22326
22327
|
line1: line1,
|
|
22328
|
+
line2: line2,
|
|
22327
22329
|
city: city,
|
|
22328
22330
|
state: state,
|
|
22329
22331
|
country: country,
|