• Resolved marcoqwerty

    (@marcoqwerty)


    Please someone could confirm that Checkout Page Button Placement for Google pay it works in both conditions?

    On my side the button is duplicated on the gateway section and in the Place Order at the end of the checkout form.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @marcoqwerty

    Thank you for contacting Payment Plugins. I reviewed your site and your checkout page looks correct and Google Pay showed once in the payment method section.

    It looks like you have the Checkout Button Placement option set to In payment gateway section. https://paymentplugins.com/documentation/paypal/googlepay/#checkout-page-button-placement

    Kind Regards

    Thread Starter marcoqwerty

    (@marcoqwerty)

    Thank you for the answer

    No i could confirm that i have in the settings PLACE ORDER BUTTON in Checkout Placement button.

    Actually to avoid to see 2 buttons, one in the Gateway and other in the Checkout i add a JS script that remove PLACE ORDER buttin if GOOGLE PAY is selected.

    If i revome this script i saw two buttons, different from Paypal where the setting works correctly and i m able to see only PAY WITH PAYPAL instead PLACE ORDER.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @marcoqwerty

    Please remove your custom script so I can observe what you’re describing.

    Kind Regards

    Thread Starter marcoqwerty

    (@marcoqwerty)

    DONE removed, now you can take a look

    Plugin Author Clayton R

    (@mrclayton)

    Hi @marcoqwerty

    Google Pay isn’t appearing twice, it’s the GPay button and the place order button which you can see in this screenshot of your checkout page:

    The checkout block is very restrictive on what can be customized. WooCommerce does not allow the place order button to be swapped for the GPay button so the button is rendered in the payment method section.

    If you use the Checkout Shortcode the GPay button can will render in place of the place order button.

    Kind Regards

    Thread Starter marcoqwerty

    (@marcoqwerty)

    Ok but for Paypal it does, and in the setting is allowed, or not?

    What do you mean about Checkout Shortcode?

    Im actually using the Checkout Block with Guthemberg

    Thank you!

    Plugin Author Clayton R

    (@mrclayton)

    Ok but for Paypal it does, and in the setting is allowed, or not?

    That is because PayPal supports a redirect to the PayPal hosted payment page. Google Pay does not have the same redirect functionality available to it.

    What do you mean about Checkout Shortcode?

    The Checkout Shortcode is another way to render a checkout page on your store. https://woocommerce.com/document/woocommerce-shortcodes/#woocommerce-shortcodes

    The checkout shortcode is more flexible since it’s built using PHP and HTML where as the checkout block is React based.

    Kind Regards

    Thread Starter marcoqwerty

    (@marcoqwerty)

    OK thank you for the answer, but as it show here:

    https://paymentplugins.com/documentation/paypal/googlepay/#checkout-page-button-placement

    How i could archive this?

    Im using the classic woocommerce shortcode placed in the guthemberg editor, i switch to the block.

    Plugin Author Clayton R

    (@mrclayton)

    How i could archive this?

    To achieve this you must use the checkout shortcode because the option Place Order Button is only for the checkout shortcode.

    As stated previously, the checkout block is much more limited in what we can customize. The checkout shortcode is much more customizable.

    Kind Regards

    Thread Starter marcoqwerty

    (@marcoqwerty)

    Ok but you could agree with me that checkout shortcode is pretty ugly itself.

    Btw thank you for the answer, if you could specify in the documentation would be great.

    Best regards

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.