#Kapuetze

1 messages ยท Page 1 of 1 (latest)

spare haloBOT
haughty sentinel
mortal light
#

Hi, I am using payment elements with automatic payment methods. Is this the same thing? I thought the request button is something different

haughty sentinel
#

The request button is different but the advice we give about Apple Pay is the same

mortal light
#

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

haughty sentinel
#

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

mortal light
#

Yes, I do

haughty sentinel
#

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?

mortal light
#

I have not registered a domain. Sorry, apparently I didnt read the documentation close enough

#

Thank you ๐Ÿ™‚

haughty sentinel
#

Yup you need to register with Apple and host the domain verification file on your server to prove you control it.

mortal light
#

I have registered the domain. Unfortunately, it is still not showing

haughty sentinel
#

Do you have a URL I could visit?

mortal light
#

The page is normally embedded in an iframe. Could that be an issue for apple?

haughty sentinel
#

This is the warning I see in Safari when I load that page. Are you sure you have configured everything properly?

mortal light
#

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?

spare haloBOT
brave geode
#

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.

mortal light
#

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

brave geode
#

They can't do it via their Dashboards, no. You would need to add it as the platform using the API on their accounts.

mortal light
#

I understand. We'll try this. Tahnk you

#

Can the file have an extension? Our server is preventing files without extensions by default

brave geode
#

The domain association file? No, it can't have an extension. It must be exactly that filename in exactly that location.