#Kapuetze
1 messages ยท Page 1 of 1 (latest)
Hi ๐
We document this here:
https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-prerequisites
Hi, I am using payment elements with automatic payment methods. Is this the same thing? I thought the request button is something different
The request button is different but the advice we give about Apple Pay is the same
I see, so apple pay has to be enabled on the phone.
The phone I am using has cards added to the wallet. But the button is not showing
Yes, along with many other things. Another nice thing about the Payment Request Button page is, if you go there on the device you want to check, it will show Apple Pay if your device is correctly configured
So when you look at the top of the page: https://stripe.com/docs/stripe-js/elements/payment-request-button
Do you see Apple Pay?
Yes, I do
Okay then your device is correctly configured
So now you need to review your account. Do you have Apple Pay turned on? Have you registered a domain?
I have not registered a domain. Sorry, apparently I didnt read the documentation close enough
Thank you ๐
Yup you need to register with Apple and host the domain verification file on your server to prove you control it.
I have registered the domain. Unfortunately, it is still not showing
Do you have a URL I could visit?
This is the warning I see in Safari when I load that page. Are you sure you have configured everything properly?
We're using stripe connect. I have registered the domain in our platform acount. Do we have to do it manually for each connected account?
Hello! I'm taking over and catching up...
Yep, for Apple Pay to work with direct charges you need to validate the domain on the connected account in question. You also need to make sure you initialize Stripe.js with your platform's publishable key and the connected account's ID.
So all of our customers will have to run the validation in their dashboard or we would have to do it with an api call?
Because for stripe connect the domain will always be our own domain
It's a SaaS
They can't do it via their Dashboards, no. You would need to add it as the platform using the API on their accounts.
You need to do this: https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#verifying-your-domain-with-apple-pay
Combined with this: https://stripe.com/docs/connect/authentication
I understand. We'll try this. Tahnk you
Can the file have an extension? Our server is preventing files without extensions by default
The domain association file? No, it can't have an extension. It must be exactly that filename in exactly that location.