@pelcro/react-pelcro-js 3.21.4 → 3.21.5
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
|
@@ -16364,7 +16364,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16364
16364
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16365
16365
|
if (isUsingExistingPaymentMethod) {
|
|
16366
16366
|
// no need to create a new source using tap
|
|
16367
|
-
return handleTapPayment(null);
|
|
16367
|
+
return handleTapPayment(null, state);
|
|
16368
16368
|
}
|
|
16369
16369
|
if (!tapInstanceRef.current) {
|
|
16370
16370
|
return console.error("Tap sdk script wasn't loaded, you need to load tap sdk before rendering the tap payment flow");
|
|
@@ -16649,7 +16649,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16649
16649
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16650
16650
|
if (isUsingExistingPaymentMethod) {
|
|
16651
16651
|
// no need to create a new source using vantiv
|
|
16652
|
-
return handleVantivPayment(null);
|
|
16652
|
+
return handleVantivPayment(null, state.couponCode);
|
|
16653
16653
|
}
|
|
16654
16654
|
if (!vantivInstanceRef.current) {
|
|
16655
16655
|
return console.error("Vantiv sdk script wasn't loaded, you need to load vantiv sdk before rendering the vantiv payment flow");
|
|
@@ -17759,7 +17759,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17759
17759
|
isLoading: true
|
|
17760
17760
|
}, (state, dispatch) => {
|
|
17761
17761
|
if (getSiteCardProcessor() === "vantiv") {
|
|
17762
|
-
return submitUsingVantiv();
|
|
17762
|
+
return submitUsingVantiv(state);
|
|
17763
17763
|
}
|
|
17764
17764
|
if (getSiteCardProcessor() === "tap") {
|
|
17765
17765
|
return submitUsingTap(state);
|
|
@@ -21395,6 +21395,7 @@ const AddressCreateContainer = _ref => {
|
|
|
21395
21395
|
first_name: firstName,
|
|
21396
21396
|
last_name: lastName,
|
|
21397
21397
|
line1: line1,
|
|
21398
|
+
line2: line2,
|
|
21398
21399
|
city: city,
|
|
21399
21400
|
state: state,
|
|
21400
21401
|
country: country,
|
|
@@ -22222,6 +22223,7 @@ const AddressUpdateContainer = _ref => {
|
|
|
22222
22223
|
first_name: firstName,
|
|
22223
22224
|
last_name: lastName,
|
|
22224
22225
|
line1: line1,
|
|
22226
|
+
line2: line2,
|
|
22225
22227
|
city: city,
|
|
22226
22228
|
state: state,
|
|
22227
22229
|
country: country,
|
package/dist/index.esm.js
CHANGED
|
@@ -16334,7 +16334,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16334
16334
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16335
16335
|
if (isUsingExistingPaymentMethod) {
|
|
16336
16336
|
// no need to create a new source using tap
|
|
16337
|
-
return handleTapPayment(null);
|
|
16337
|
+
return handleTapPayment(null, state);
|
|
16338
16338
|
}
|
|
16339
16339
|
if (!tapInstanceRef.current) {
|
|
16340
16340
|
return console.error("Tap sdk script wasn't loaded, you need to load tap sdk before rendering the tap payment flow");
|
|
@@ -16619,7 +16619,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16619
16619
|
const isUsingExistingPaymentMethod = Boolean(selectedPaymentMethodId);
|
|
16620
16620
|
if (isUsingExistingPaymentMethod) {
|
|
16621
16621
|
// no need to create a new source using vantiv
|
|
16622
|
-
return handleVantivPayment(null);
|
|
16622
|
+
return handleVantivPayment(null, state.couponCode);
|
|
16623
16623
|
}
|
|
16624
16624
|
if (!vantivInstanceRef.current) {
|
|
16625
16625
|
return console.error("Vantiv sdk script wasn't loaded, you need to load vantiv sdk before rendering the vantiv payment flow");
|
|
@@ -17729,7 +17729,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17729
17729
|
isLoading: true
|
|
17730
17730
|
}, (state, dispatch) => {
|
|
17731
17731
|
if (getSiteCardProcessor() === "vantiv") {
|
|
17732
|
-
return submitUsingVantiv();
|
|
17732
|
+
return submitUsingVantiv(state);
|
|
17733
17733
|
}
|
|
17734
17734
|
if (getSiteCardProcessor() === "tap") {
|
|
17735
17735
|
return submitUsingTap(state);
|
|
@@ -21365,6 +21365,7 @@ const AddressCreateContainer = _ref => {
|
|
|
21365
21365
|
first_name: firstName,
|
|
21366
21366
|
last_name: lastName,
|
|
21367
21367
|
line1: line1,
|
|
21368
|
+
line2: line2,
|
|
21368
21369
|
city: city,
|
|
21369
21370
|
state: state,
|
|
21370
21371
|
country: country,
|
|
@@ -22192,6 +22193,7 @@ const AddressUpdateContainer = _ref => {
|
|
|
22192
22193
|
first_name: firstName,
|
|
22193
22194
|
last_name: lastName,
|
|
22194
22195
|
line1: line1,
|
|
22196
|
+
line2: line2,
|
|
22195
22197
|
city: city,
|
|
22196
22198
|
state: state,
|
|
22197
22199
|
country: country,
|