#BlackLabSoftware
1 messages ยท Page 1 of 1 (latest)
Hello ๐
There are a couple of factors which decide if Apple Pay/Google Pay are available or not.
1/ Are you using Stripe Tax?
2/ Are Google Pay/Apple Pay configured correctly on your machine/browser?
There's also domain registration for Apple Pay
What kind of fund flow are you implementing? Direct charges or destination charges?
Hi there! we're not using stripe tax
and we've whitelisted both our domains for apple pay in test
our other engineer has just flagged that we don't have automatic_payment_methods set to true, would that be it?
it's been working without it on our development site, but now we're on live, they're not showing.
Is your site public? If so, is there a way you can share a direct URL to the page where you render the PaymentElement?
I do see Google Pay here
Looks like my browser isn't configured correctly yet.
Let me check...
we can't see apple pay in mobile safari
Our other engineer says that there's something like an algorithm that chooses the best payment methods for conversion? is there a way to force the payment methods to show regardless
Apple pay would be showing here, but it looks like this page or your account is improperly set up
Quick question, are you using Connect on this page? Like is your account a platform and this payment will go to some connected account?
Yes that's correct
Do you have the ID of the connected account that you are trying to use on this page? (acct_123)
Thank you!
no thank you for the help
And do you know if you are using direct charges (payment intent created directly on the account) or destination charges (payment intent on platform but will send funds to account) here?
direct charges, we're passing stripe_account => 'acct_1MHeE9ECZ38biduy' to the payment intent when it's created
Gotcha, so in this case it looks like the issue is that this apple pay domain is not registered on the connected account. One minute as I look up the details on this setup
so all of our customers would have to verify the domain in their stripe account?
i did look into the settings for the connected account but the apple pay section in payment methods doesn't appear to have a section for whitelisting domains
Correct, you will do it through the API, which can make it easier, though it might be a bit more difficult if these users each have their own URL for their own site that they are taking payments on
we should be able to manage that okay i think
So for connect you actually can't add the domains through the dashboard, it has to be done with the API
Gotcha
So basically for connect payments like this, you need the connected account to be connected to you in live mode and you need to register the domain with your live mode key (even for test mode payments, unfortunately)
we also don't seem to be seeing google pay option on the URL provided above
We show how to make the call to register the domain on this page https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-using-with-connect
Interesting, I did when I checked earlier
Does google pay show up for you otherwise in the same browser?
Do you see a clickable Google Pay button at the top of this page? https://stripe.com/docs/stripe-js/elements/payment-request-button
It has done for this same form but on our development domain
Yep
Same form but on our dev site has it:
Interesting, that page shows it but https://socialsync.app/fundraiser/cr-0g1o4mne/donate does not? Is there a difference between what account is being used between those two pages or something?
Actually yes, different account connected to dev and live
Google pay is defaulted to on for the account socialsync.app though
Can you send me the ID of that second connected account?
They have different statuses, if that helps?
acct_1MHQZKEDP7ASuNQM is the one on dev
I don't think the account status should affect it but it does look like it has google pay turned on otherwise
Do you have the ID of the payment intent that was on the page that did not have google pay?
Thank you. Still trying to figure out exactl why this isn't showing up here. That payment intent appears to be set up properly and the account does too. Trying to think of where else this might be going wrong
I initially thought adblock extension but it's turned off for our domains anyway
Nothing in the browser console either
I am still having trouble thinking of what else this might be. It is still showing up for me so in theory it should be able to show up to anyone with a valid google pay wallet. It is especially strange that it is showing up for you on one of your dev sites but not the other
yeah, and it's not just me, it's other members of our team too
Do you know what differences there are between the two sites?
Hi!
Yeah, but weirdly its displaying for other people, just not me (and 3 other members of our team)
Are you based in India?
No we're in the UK
Weird
One more idea, one sec
Can you go here: https://rsolomakhin.github.io/pr/gp2/ and tell me what you see at the top?
Can you just click "Buy" and then close the Google Pay modal
Then go back to your page and let me know if you see it now
You've already confirmed you could see the button at top of page here: https://stripe.com/docs/stripe-js/elements/payment-request-button right?
Ah yeah I see you did above
Very strange
Very.
Never seen it not show up for someone who can see it at the webpage when I can see it myself....
Does the same thing happen for you with Apple Pay? Not sure if you are on an iOS device?
So we've determined that Apple Pay doesn't show because it isn't whitelisted for our live domain in the connected account
but on our dev domain it does
Gotcha
And you can make a test Google Pay payment via the button at https://stripe.com/docs/stripe-js/elements/payment-request-button, correct?
Yep!