#jesus-prb-https

1 messages · Page 1 of 1 (latest)

proud lionBOT
worthy pollen
#

Is your test page served over HTTPS? I know GPay won't show up for HTTP pages

#

Trying to think of what else may be happening here

crisp wagon
#

Yes, I'm testing on https

#

Previously it did not do it and it did not show anything, now it does but only the Link button

icy osprey
#

do you have a link to your site?

crisp wagon
#

I'm not sorry. I'm working development from local

icy osprey
#

I see, how does HTTPS work then? Are you using ngrok?
Unfortunately the fastest way to help is for me to look at your real site, otherwise all I can really do is guess. You might be logged into Link and have cookies set from it, in which case I believe we default to showing Link instead of Google Pay if both are available. You could try an incognito window

#

might also be worth checking in the Console in the browser devtools if there are any warnings/errors being logged

crisp wagon
#

I am going to do tests from a test environment, from local I am in Angular with SSL but I have the following errors:

  • SSL certificate is not valid. Security level: DANGEROUS.
  • No UI will be shown. CanMakePayment and hasEnrolledInstrument will always return false. Show will be rejected with NotSupportedError.
icy osprey
#

that seems like the problem then

#

it won't work with a self-signed certificate like that(you can use services like ngrok to expose local sites on an SSL connection, or wait until your site is deployed on a live site to check this part of things)

crisp wagon
#

I'm going to try, please give me a couple of minutes