paymob-pixel-alpha 1.1.42 → 1.1.44
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/main.js +3 -3
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -81125,7 +81125,7 @@ function Knet(props) {
|
|
|
81125
81125
|
onClick: onPaySubmit,
|
|
81126
81126
|
disabled: loading || errorMessage !== null
|
|
81127
81127
|
}), errorMessage && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
81128
|
-
className: "
|
|
81128
|
+
className: "mt-4 [&>div]:mb-0",
|
|
81129
81129
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ErrorMessageViewTwo_ErrorMessage, {
|
|
81130
81130
|
errorMessage: errorMessage
|
|
81131
81131
|
})
|
|
@@ -81282,13 +81282,13 @@ function KnetApplePay(props) {
|
|
|
81282
81282
|
setLoading(true);
|
|
81283
81283
|
const payload = {
|
|
81284
81284
|
countryCode: countryCode,
|
|
81285
|
-
currencyCode: currency,
|
|
81285
|
+
currencyCode: KnetCurrency || currency,
|
|
81286
81286
|
supportedNetworks: ['visa', 'masterCard', 'amex', 'discover', 'mada', 'maestro', 'electron', 'chinaUnionPay', 'jcb'],
|
|
81287
81287
|
requiredShippingContactFields: [],
|
|
81288
81288
|
merchantCapabilities: ['supports3DS'],
|
|
81289
81289
|
total: {
|
|
81290
81290
|
label: merchantName,
|
|
81291
|
-
amount:
|
|
81291
|
+
amount: formattedEquivalentAmount || formattedAmount
|
|
81292
81292
|
}
|
|
81293
81293
|
};
|
|
81294
81294
|
if (country === 'EGYPT') {
|