-
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: Marcos Garcia <marcos.asgarcia@gmail.com>
e978721f