#Srujan
1 messages · Page 1 of 1 (latest)
Like if I go to my top level domain for the website and to that endpoint it shows a file. So we're hosting the file already, but should I add the web domain as well to the dashboard apple registration?
Will I need separate web domains registered with apple pay for it to show on safari browser or chrome?
Apple Pay will only show up on Safari. Are you not seeing it there?
Shouldn't it show up on iOS 16+ in chrome as well
And I haven't tested yet but I'm confused by which domain I need to register here
Also, to test locally, would I register a permanent ngrok address, port my local host to that address, and register that address here? and locally would I create a route /.well-known/apple-developer-merchantid-domain-association and have the domain association file text in that route?
And, are the verification files all the same?
I'm getting You do not have the correct file hosted at https://sparkd.com/.well-known/apple-developer-merchantid-domain-association. To verify with Apple that you control your domain, you must host this file: https://stripe.com/files/apple-pay/apple-developer-merchantid-domain-association. For more information, see https://stripe.com/docs/stripe-js/elements/payment-request-button#verifying-your-domain-with-apple-pay. Even though the file seems to be the same one I downloaded
Sorry for the barrage
Let's focus on one question at a time, otherwise we're going to get caught up in the details and lose track of what's actually going wrong.
Where are you wanting Apple Pay to show up? It looks like you're attempting to register an iOS app, but you're talking about Safari and Chrome. So which are you trying to set up Apple Pay for?
We have both an iOS app and a web app. Ideally want apple pay for both. We want apple pay in safari and chrome on iphones (that are eligible), and we want apple pay in safari on tablets/macs for the web app
I'm specifically dealing with Apple pay using the Payment Element for our web react app
I think the problem is we have that same endpoint used up at our base domain for the iOS Universal links and we need it for our web app as well (different domain association files)
Okay, so if you're looking for web integrations for Apple Pay, then you need to host the domain association file on your website at the address mentioned in the above error message. You would need to set up the web app and the native app certificates separately (hence why there are separate sections in the Stripe Dashboard)
Okay sweet thank you. And I'm guessing we'll have to register at different subdomains then since we can't host both at the same top level domain?
Correct
ok what about local testing and the ngrok process i described above?
You would need to expose the local machine to the internet and host the file the same way you did with the web app.
So the file would be hosted at <some Ngrok address>/.well-known/apple-developer-merchantid-domain-association
Does stripe use any cookies under the hood?
on react web app?
when I type document.cookie I get this '_ga=GA1.1.267705329.1669662972; __stripe_mid=7180d2db-c9fb-42f9-8f5f-f38df6b67a893f68cc; __stripe_sid=0697ddb2-9fb5-4445-b450-e434785982df9f860d; _ga_GSFY93PC6Y=GS1.1.1671048181.15.0.1671048204.0.0.0'
legally do I have to display a cookie warning?
I cannot offer legal advice
You will need to review the cookie policy and consult with your own counsel
I guess I'm a bit confused, does the Payment Element and Elements provider utilize cookies when they are used by users of our website? Is it required? The cookie policy I'm looking at seems like it's talking about the Stripe website specifically
You can review the specific cookies use by different parts of Stripe here:
https://stripe.com/cookie-settings#authentication