#daagcentral
1 messages ยท Page 1 of 1 (latest)
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?
When not on incognito, apple and google pay dont show up
yes it is live
try paying with card to but this festival ticket
do you have test credentials I can use? I can't sign up for an account
I see google pay just fine
Have you configured your google wallet correctly?
If you go to this page, do you see Google pay button?
https://stripe.com/docs/stripe-js/elements/payment-request-button
I don't see apple pay though, have you verified the domain correctly?
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#apple-pay-and-google-pay
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
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
is there anything else that you're calling/running at the same time?
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:
Oh are you creating direct charges?
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
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
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 :((
ah hmm
Did you verify the domain on the platform account or the connected account?
also did you add it using your live key or test key? Since you're using connect, you'd need to add the domain to the connected account using your live key as shown here
https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-using-with-connect
I did
Can you share the connected account ID you registered the domain to?
I verified it from the platform account btw
Not from the connected account
Our account id is: acct_1KldYvKeVhbcEmDJ
With direct charges, you need to register the domain on the connected account too
Do we do this on the onboarding stage or the payment stage?
It is upto you, you can do it anytime after onboarding and before payment
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?
It doesnt show up at all on regular chrome. On incognito, it shows up but when I click of the button, it fails immediately
go to https://blocklive.io/event/5161d201-037c-42a4-b6c9-4291a0c0ff10 and try it
The error we are getting is:
Unable to download payment manifest "https://pay.google.com/gp/p/payment_method_manifest.json"
I am seeing Google Pay in my Chrome instance
Which suggests the issue is with your browser configuration
what happens when u click it?
does the confirmation page come up?
It errors out and we see the above error in our console
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
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
This time the modal briefly appeared but was hidden
I don't see the warnings you are seeing, that is your browser
Look at the error
And it looks like your site is stealing focus which is causing the modal to close
Yeah, I don't see that error
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?
No, since the modal closes when it loses focus
hmm, ok, let me try to disable our internal modals
As for the separate window, that isn't something I can speak to as that is Google's UI