#lucy_api
1 messages · Page 1 of 1 (latest)
đź‘‹ Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đź”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1474391713073205250
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
đź‘‹ A good first step is to check if they show up for you at this test site: https://docs.stripe.com/testing/wallets?ui=payment-element This will help identify if it's a client/device issue, or an issue with the integration. Do you see them there?
which toggle?
What does your integration use?
I'm using connect
Ok, and how are you integrating with the the Stripe API? It's probably with one of the options shown above
Or is there a a guide you're following in order to set up your integration? If so, can you share that link here?
Ok, this is probably checkout, so if you click on the Checkout Sessions button above, do you see Google Pay and/or Apple Pay?
I see google pay but not apple pqy
Ok, so Apple pay not showing would indicated an issue with on the device side, so perhaps an unsupported browser or invalid wallet. There's some info on this here: https://docs.stripe.com/testing/wallets?ui=embedded-form#device-requirements
But if Google Pay is showing there, it should also show in your integration
wait i mean this page you sent me doesn't check the integration on my actual account
i opened it in incognito and it showed the same thing
No that page checks that your device/browser is correctly set up to show the wallets (if they don't show there, they won't show in your integration, so it's a way of ruling out device issues before focusing on your integration)
You mentioned you're using Connect. Do you have the ID of the connected account that you're testing this with?
ohh ok yea then my device is fine
platform or user id?
this is my platform id: acct_1BtzDCD7gq5GkHXE
And what's the connected account ID? It will also start with acct_
for each individual account?
here's a connected account ID for an individual: acct_1SzVchRcthRWBUji
The setup is I have a platform (acct_1BtzDCD7gq5GkHXE), and then experts can join the platform with individual accounts (like acct_1SzVchRcthRWBUji) and get paid for their expertise (I am trying to integrate apple and google pay as alternatives to credit card)
⏺ Here's the frontend snippet — the relevant part is lines 109-122:
<PaymentElement
onReady={() => setElementReady(true)}
onLoadError={(e) => {
console.error("Stripe PaymentElement load error:", e);
setLoadError(e.error?.message || "Failed to load payment form. Please reload and try again.");
}}
options={{
layout: "tabs",
wallets: {
applePay: "auto",
googlePay: "auto",
},
}}
/>
From src/components/payment/StripePaymentForm.tsx. The config is correct — "auto" means Stripe will show the
wallet buttons when the browser/device supports them and the domain is properly registered.
And here's the backend domain registration you just deployed (from
supabase/functions/stripe-connect-account/index.ts lines 135-143):
// Register payment method domain on platform for Apple Pay / Google Pay (idempotent)
try {
const domain = new URL(SITE_URL).hostname;
if (domain !== "localhost") {
await stripeRequest("/payment_method_domains", "POST", { domain_name: domain });
}
} catch (e) {
console.log("Platform domain registration (non-fatal):", e.message);
}
Ah, so it looks like you've set up the payment method domains on the Platform account, but not on the connected account (acct_1SzVchRcthRWBUji) - You'll need to set them up there too
Do they need to re-register?
and if the connected account is not made yet (I am just holding payments in the platform acount), will apple pay show up as an option
They will need to just enter the domains in the Payment Method Domains page on the dashboard
Yes, if the checkout session is being created directly on the platform account, this looks like it's all set up correctly already
what does this mean? who is they?
The connected account, although I see it's an Express account, so this may be done a bit differently. Bear with me a moment
oh hm, how do I know if it's an express or checkout?
or connected?
I'm a bit confused about the distinction
I thought i was using connected
Yes, you're using Connect. There are different types of connected accounts https://docs.stripe.com/connect/accounts Yor're using Express. Just looking into the exact requirements for getting gpay/apple pay to work in this scenario
thank you
Is there a URL I can visit to test your integration?
yup
I’m Lucy, a recent Columbia grad in economics and computer science, now working in the D.C. area. I’ve interned across finance and startups (construction tech VC, TMT corporate credit at Guggenheim, and multi-asset investing at Blackstone), built and launched a consumer app at Columbia (5K+ users), and co-founded a nonprofit focused on CS ed...
Is there a way I can get to the checkout page without signing in?
Hmm no but lemme set that up right now
Hi there, taking over for @stoic herald as they had to step away, getting caught up on the thread
thank you
right now what I'm seeing on my end is:
if the connected account is created, the google appear options shows up, if no connected account yet, no google pay
however apple pay doesn't show up regardless
I looked at that page and was able to see Google Pay as an option in my Chrome browser. I'm not exactly sure what you mean when you say "if no connected account yet". Is there something that changes how Google Pay shows up on this page?
Sure - so I have experts on the website and some have created a stripe account and some have not. on /test, I show the display for someone who has set up stripe vs. hasn't and the results are different
wait nvm they both show google pay
but i am not seeing apple pay
on my iphone
Right, that's what I see as well on my desktop Chrome browser
For Apple Pay, are you able to see it on our test page? I think earlier you mentioned that you didn't see it, so you'd need to make sure your device and browser are setup correctly before anything else
https://docs.stripe.com/testing/wallets?ui=embedded-form
If you can’t see your expected wallet in the demos, your device or browser might not meet the following Apple Pay or Google Pay conditions.
The wallet must have at least one card.
You must use a compatible Apple Pay device and Google Pay device.
You must use a supported version of a supported browser for the wallet you’re testing.
Allow applicable browsers to access your wallet.
Chrome: Settings > Autofill and passwords > Payment methods > Allow sites to check if you have payment methods saved
Safari: Settings > Advanced > Allow websites to check for Apple Pay and Apple card
Opera: Settings > Advanced > Payment methods > Allow sites to check if you have payment methods saved
Edge: Settings > Privacy, Search, and Services > Allow sites to check if you have payment methods saved
Don’t use a Chrome incognito window or Safari, Edge, or Opera private window.
Confirm you’re operating from a supported Apple Pay region and Google Pay region.
Stripe doesn’t display Apple Pay or Google Pay for IP addresses in India.
For Apple Pay, confirm your device supports biometric authentication.
Got it, I'm not seeing Apple Pay on that page when I'm viewing in Safari, looking into it
Sorry, juggling a couple of threads, still looking into it
If you have to go soon, we can convert this into a support case for follow up. Otherwise, you can come back onto Discord later when you are available
Okay, I found a potential issue - you registered the domain readnudge.com, but the website redirects to www.readnudge.com
Can you register the www.readnudge.com domain and see if that resolves the issue?