paymob-pixel-alpha 1.1.43 → 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.
Files changed (2) hide show
  1. package/main.js +2 -2
  2. package/package.json +1 -1
package/main.js CHANGED
@@ -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: amount
81291
+ amount: formattedEquivalentAmount || formattedAmount
81292
81292
  }
81293
81293
  };
81294
81294
  if (country === 'EGYPT') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paymob-pixel-alpha",
3
- "version": "1.1.43",
3
+ "version": "1.1.44",
4
4
  "keywords": ["paymob","pixel","paymob-pixel"],
5
5
  "main": "./main.js",
6
6
  "license": "MIT",