#Scott-apple-pay-web

1 messages · Page 1 of 1 (latest)

dire knot
#

Hello! What specifically are you trying to implement? Are you using the Payment Request Button? the Payment Element?

warm parrot
#

Yes, just like how google pay works

#

I just verified my domain but I still don't see the apple pay button showing up.

#

Google pay works perfectly

dire knot
#

Do you have a site I can take a look at so I can see if it works on my end?

warm parrot
#

Sure, one second

dire knot
#

Does your integration involve connect? When you registered your apply pay domain did you do so through the dashboard or the API?

warm parrot
#

Connect is involved, I verified the domain through the dashboard

#

Is there some server side code I need to include?

dire knot
#

Yeah if you're using connect + direct charges (using the Stripe-Account header) you'll need to verify the apple pay domain through the API and not the dashboard. To fix this you'll want to do the following:

Collect payment and address information from customers who use Apple Pay, Google Pay, and browser-saved cards with Payment Request APIs such as Microsoft Pay on Edge.

warm parrot
#

Can I verify the domain in test mode also? I do need to verify it works correctly first before live

#

Also for domain, should I register pass in the full URL including the UUID of the user? or just "app.ritepay.co"?

dire knot
#

Unfortunately in order for the whole flow to work the domain needs to be registered in livemode

#

Just app.ritepay.co should work

warm parrot
#

Okay cool, this should all be done on server side when going to the endpoint?

dire knot
#

Can you expand on that question just a bit more? Just want to make sure I know what specific action you're asking about

warm parrot
#

So should I register the domain everytime someone goes to a "tag" endpoint

dire knot
#

No, you should only be registering the domain once upfront.

warm parrot
#

So when a connect account is created, registered the connected account?

dire knot
#

Yup! That would be a great time to do it

warm parrot
#

Perfect, I will add that code now. This wont work if I am in test mode?

dire knot
#

Correct - domain verification doesn't work when done in test mode

warm parrot
#

No problem, so I wont be able to test apple pay with test mode connect accounts at all?

#

Only when things go livemode

#

Just want to clarify

dire knot
#

Correct!

warm parrot
#

Perfect, I will test that with a test live account 🙂