#daagcentral

1 messages ยท Page 1 of 1 (latest)

earnest gateBOT
daring pollen
#

Hello ๐Ÿ‘‹
Incognito mode can't be relied on as Apple Pay will always show up (even if its not configured correctly) and Google Pay will never show up (even if its configured correctly)

#

Is the page you're trying to get apple/google pay on live? If so, can you share the URL?

bright shale
#

When not on incognito, apple and google pay dont show up

#

yes it is live

#

try paying with card to but this festival ticket

daring pollen
#

do you have test credentials I can use? I can't sign up for an account

bright shale
#

let me make you one real quick

daring pollen
#

I see google pay just fine

#

Have you configured your google wallet correctly?

bright shale
#

I havent done either. We just turned it on on the payment methods setting, We havent done anything else tho

#

Can you click on google pay and look at ur console?

#

it errors out

daring pollen
#

That line in the doc refers to Stripe hosted checkout page, you're using Stripe Elements (PaymentElement)

#

Can you share the code you're running? Specifically the PaymentElement + ConfirmPayment code

bright shale
#

Checkout Form:

#

When people click pay now, we run this

daring pollen
#

is there anything else that you're calling/running at the same time?

bright shale
#

There are a bunch of internal things like logging, changing status of the order on our tables, etc. With regards to stripe there's nothing else

#

Here's how we get the client token from backend:

daring pollen
#

Oh are you creating direct charges?

bright shale
#

yes

#

we have event producers directly on our platform who sell tickets to events on our page

#

On the payment setting, we have custimization turned off

#

apple and google pay are on

#

we havent done the /.well-known/apple-developer-merchantid-domain-association

#

I think that's what we need

daring pollen
#

Yeah I'd recommend going through the steps outlined in the doc I shared above for apple pay.

If you're using direct charges, you'd also need to set Stripe-Account header on client-side

bright shale
#

yes, we've done that

#

There are no additional steps for google tho, why is that one failing?

#

Added the changes, still no apple pay :((

daring pollen
#

ah hmm

#

Did you verify the domain on the platform account or the connected account?

bright shale
#

I did

daring pollen
#

Can you share the connected account ID you registered the domain to?

bright shale
#

I verified it from the platform account btw

#

Not from the connected account

#

Our account id is: acct_1KldYvKeVhbcEmDJ

daring pollen
#

With direct charges, you need to register the domain on the connected account too

earnest gateBOT
bright shale
#

Do we do this on the onboarding stage or the payment stage?

daring pollen
#

It is upto you, you can do it anytime after onboarding and before payment

bright shale
#

Cool, thanks

#

Apple pay works!!!

#

Thanks you!

#

Google still failing tho

fresh frigate
#

Hi ๐Ÿ‘‹

I'm stepping in as @daring pollen had to go. What is the context that GooglePay is failing? Does it not show up or does the payment flow fail at some point?

bright shale
#

It doesnt show up at all on regular chrome. On incognito, it shows up but when I click of the button, it fails immediately

#

The error we are getting is:

Unable to download payment manifest "https://pay.google.com/gp/p/payment_method_manifest.json"

fresh frigate
#

I am seeing Google Pay in my Chrome instance

#

Which suggests the issue is with your browser configuration

bright shale
#

what happens when u click it?

#

does the confirmation page come up?

#

It errors out and we see the above error in our console

fresh frigate
#

It launched the Google Pay interface in a separate window (instead of a modal).

#

It also looks like there are multiple semi-opaque overlays on your web page

bright shale
#

Can you send a screenshot?

#

None of that is showing up for me.

#

Might have to try on my coleague's mac

#

this is what we see

fresh frigate
#

This time the modal briefly appeared but was hidden

#

I don't see the warnings you are seeing, that is your browser

bright shale
#

Look at the error

fresh frigate
#

And it looks like your site is stealing focus which is causing the modal to close

#

Yeah, I don't see that error

bright shale
#

hmm.. can we make it pop up on a different window all the time?

#

Also if it was stealing focus, it wouldve shown in the background no?

fresh frigate
#

No, since the modal closes when it loses focus

bright shale
#

hmm, ok, let me try to disable our internal modals

fresh frigate
#

As for the separate window, that isn't something I can speak to as that is Google's UI

bright shale
#

Ok, we'll disable for now. Looking into it.

#

Thanks for your help