Skip to content

Improvements #149

@Updula

Description

@Updula
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions