We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

  • cyattilakiss's avatar
    [PW-2091] Fix Google Pay environment value in PRODUCTION (#641) · e978721f
    cyattilakiss authored
    * Fix Google Pay environment value in PRODUCTION
    
    Google pay expects `PRODUCTION` and not `LIVE` in case of production
    environment
    Add getGooglePayEnvironment() to retrieve environment value to Google
    pay
    Replace the getCheckoutEnvironment() with getGooglePayEnvironment() on
    the frontend for Google pay
    
    * Move Google Pay fix into the AdyenGooglePayConfigProvider()
    
    Move getGooglePayEnvironment() and PRODUCTION const from Helper/Data to
    AdyenGooglePayConfigProvider and make it private
    Change environment key back to checkoutEnvironment to be consistent with
    the rest if the checkout components and overwrite the live value with
    production only for Google pay
    Co-authored-by: default avatarMarcos Garcia <marcos.asgarcia@gmail.com>
    e978721f
AdyenGooglePayConfigProvider.php 4.63 KB