Skip to content

What triggers G Pay button to display? #19

Open
@paulgoodfield

Description

@paulgoodfield

I've followed the instructions in the docs on registering my website domain with Stripe and Apple Pay, and I can now see the Apply Pay button displaying when visiting my website on Safari (macOS and iOS).

However, I can't seem to get the G Pay button to display in Chrome, even when I'm currently signed into a Google account that has G Pay payment methods set up.

The console is showing the error "IntegrationError: The paymentRequestButton Element is not available in the current environment." and no button gets displayed.

I can't see anything in the docs specifically about G Pay/Google. Am I missing something?

The twig I'm using to display the button is:

{{ craft.webPayments.button({
    cart: craft.commerce.carts.cart
}) }}

Versions:

Web Payments: 1.0.5
Craft: Pro 3.4.28.1
Craft Commerce: 3.1.12

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