Improvements
Updula opened this issue · comments
- Enqueue https://pay.google.com/gp/p/js/pay.js script only if google pay is enabled.
- Add support for any custom checkout fields in ApplePay JS, for example we have a field with name
mobile/email
which breaks ApplePay popup from working, 1 line fix added to the applepay filed fixed it:if(name === 'mobile/email') { return true; }
- Show Fawry even if current currency is not EGP, our store supports multiple gateways we don't use EGP as main currency, but we have a converter that makes currency switch to EGP upon Fawry selection. This way we're supporting multiple currencies. issue found in
if ($value == 'fawry' && $currencyCode == 'EGP' && $countryCode == 'EG') {
- Remove shipping label in ApplePay popup unless shipping is set.
- Add discount label in ApplePay popup if exists.
- Add fees label in ApplePay popup if exists.
- Add tax label in ApplePay popup if exists.