straumur-web-component 0.3.5 → 0.3.6
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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1361,9 +1361,8 @@ function GooglePayComponent({ configuration, paymentMethods }) {
|
|
|
1361
1361
|
value: paymentMethods.minorUnitsAmount,
|
|
1362
1362
|
currency: paymentMethods.currency
|
|
1363
1363
|
},
|
|
1364
|
-
onError: handleOnError,
|
|
1365
|
-
onSubmit: handleOnSubmit,
|
|
1366
1364
|
onAdditionalDetails: handleOnSubmitAdditionalData,
|
|
1365
|
+
onError: handleOnError,
|
|
1367
1366
|
onPaymentCompleted: configuration.onPaymentCompleted,
|
|
1368
1367
|
onPaymentFailed: configuration.onPaymentFailed
|
|
1369
1368
|
});
|
|
@@ -1375,6 +1374,7 @@ function GooglePayComponent({ configuration, paymentMethods }) {
|
|
|
1375
1374
|
},
|
|
1376
1375
|
countryCode: "IS",
|
|
1377
1376
|
environment: configuration.environment,
|
|
1377
|
+
onSubmit: handleOnSubmit,
|
|
1378
1378
|
configuration: {
|
|
1379
1379
|
...gpayConfig,
|
|
1380
1380
|
merchantName: paymentMethods.merchantName
|
|
@@ -1537,9 +1537,8 @@ function ApplePayComponent({ configuration, paymentMethods }) {
|
|
|
1537
1537
|
value: paymentMethods.minorUnitsAmount,
|
|
1538
1538
|
currency: paymentMethods.currency
|
|
1539
1539
|
},
|
|
1540
|
-
onError: handleOnError,
|
|
1541
|
-
onSubmit: handleOnSubmit,
|
|
1542
1540
|
onAdditionalDetails: handleOnSubmitAdditionalData,
|
|
1541
|
+
onError: handleOnError,
|
|
1543
1542
|
onPaymentCompleted: configuration.onPaymentCompleted,
|
|
1544
1543
|
onPaymentFailed: configuration.onPaymentFailed
|
|
1545
1544
|
});
|
|
@@ -1553,7 +1552,8 @@ function ApplePayComponent({ configuration, paymentMethods }) {
|
|
|
1553
1552
|
configuration: {
|
|
1554
1553
|
...apayConfig,
|
|
1555
1554
|
merchantName: paymentMethods.merchantName
|
|
1556
|
-
}
|
|
1555
|
+
},
|
|
1556
|
+
onSubmit: handleOnSubmit
|
|
1557
1557
|
};
|
|
1558
1558
|
applePayRef.current = new import_adyen_web3.ApplePay(adyenCardRef.current, applePayConfiguration);
|
|
1559
1559
|
applePayRef.current.isAvailable().then(() => {
|
package/dist/index.mjs
CHANGED
|
@@ -1341,9 +1341,8 @@ function GooglePayComponent({ configuration, paymentMethods }) {
|
|
|
1341
1341
|
value: paymentMethods.minorUnitsAmount,
|
|
1342
1342
|
currency: paymentMethods.currency
|
|
1343
1343
|
},
|
|
1344
|
-
onError: handleOnError,
|
|
1345
|
-
onSubmit: handleOnSubmit,
|
|
1346
1344
|
onAdditionalDetails: handleOnSubmitAdditionalData,
|
|
1345
|
+
onError: handleOnError,
|
|
1347
1346
|
onPaymentCompleted: configuration.onPaymentCompleted,
|
|
1348
1347
|
onPaymentFailed: configuration.onPaymentFailed
|
|
1349
1348
|
});
|
|
@@ -1355,6 +1354,7 @@ function GooglePayComponent({ configuration, paymentMethods }) {
|
|
|
1355
1354
|
},
|
|
1356
1355
|
countryCode: "IS",
|
|
1357
1356
|
environment: configuration.environment,
|
|
1357
|
+
onSubmit: handleOnSubmit,
|
|
1358
1358
|
configuration: {
|
|
1359
1359
|
...gpayConfig,
|
|
1360
1360
|
merchantName: paymentMethods.merchantName
|
|
@@ -1520,9 +1520,8 @@ function ApplePayComponent({ configuration, paymentMethods }) {
|
|
|
1520
1520
|
value: paymentMethods.minorUnitsAmount,
|
|
1521
1521
|
currency: paymentMethods.currency
|
|
1522
1522
|
},
|
|
1523
|
-
onError: handleOnError,
|
|
1524
|
-
onSubmit: handleOnSubmit,
|
|
1525
1523
|
onAdditionalDetails: handleOnSubmitAdditionalData,
|
|
1524
|
+
onError: handleOnError,
|
|
1526
1525
|
onPaymentCompleted: configuration.onPaymentCompleted,
|
|
1527
1526
|
onPaymentFailed: configuration.onPaymentFailed
|
|
1528
1527
|
});
|
|
@@ -1536,7 +1535,8 @@ function ApplePayComponent({ configuration, paymentMethods }) {
|
|
|
1536
1535
|
configuration: {
|
|
1537
1536
|
...apayConfig,
|
|
1538
1537
|
merchantName: paymentMethods.merchantName
|
|
1539
|
-
}
|
|
1538
|
+
},
|
|
1539
|
+
onSubmit: handleOnSubmit
|
|
1540
1540
|
};
|
|
1541
1541
|
applePayRef.current = new ApplePay(adyenCardRef.current, applePayConfiguration);
|
|
1542
1542
|
applePayRef.current.isAvailable().then(() => {
|