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

Commit 73456ad2 authored by cyattilakiss's avatar cyattilakiss Committed by Ángel Campos

Set showPayButton to true at Google Pay checkout component (#623)

Different versions of checkout components have different default
settings for showing the pay button. In 3.2.0 therefore the Google Pay
button does not show while in 3.0.0 it does. With this new setting the
Google Pay button will be shown anyway.

By default we cannot set this property to true because other payment
methods does not require to render their own pay button and it is better
to use the Magento default place order button instead.
parent bf80c29f
...@@ -100,6 +100,7 @@ define( ...@@ -100,6 +100,7 @@ define(
} }
}); });
var googlepay = self.checkoutComponent.create('paywithgoogle', { var googlepay = self.checkoutComponent.create('paywithgoogle', {
showPayButton: true,
environment: self.getCheckoutEnvironment().toUpperCase(), environment: self.getCheckoutEnvironment().toUpperCase(),
configuration: { configuration: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment