#Scott-apple-pay-web
1 messages · Page 1 of 1 (latest)
Hello! What specifically are you trying to implement? Are you using the Payment Request Button? the Payment Element?
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
Do you have a site I can take a look at so I can see if it works on my end?
Sure, one second
This is the web page: https://app.ritepay.co/tags/id=QeP4tdho8ZYK-VM938m95L5N-dGVTqhX7-eC$*$USsaUP8dpmzRRs3F$*$TIQDHChBNEVLBTcYyk3qf$*$Wrs0EVHDOUstjhPqfrjAuGimv12jx1A=
Earn More Tips in Real-Time With Ritepay. Let Your Customer Simply Tap or Scan With Just Their Phone To Tip or Pay You. Get Started Today For Free
Does your integration involve connect? When you registered your apply pay domain did you do so through the dashboard or the API?
Connect is involved, I verified the domain through the dashboard
Is there some server side code I need to include?
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:
- delete the current apple pay domain registrations you have on the dashboard
- re-add them using the API, using the live secret key for the platform and setting the Stripe-Account header to the connect account (you can see an example of how to do this here: https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-using-with-connect)
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"?
Unfortunately in order for the whole flow to work the domain needs to be registered in livemode
Just app.ritepay.co should work
Okay cool, this should all be done on server side when going to the endpoint?
Can you expand on that question just a bit more? Just want to make sure I know what specific action you're asking about
So should I register the domain everytime someone goes to a "tag" endpoint
No, you should only be registering the domain once upfront.
So when a connect account is created, registered the connected account?
Yup! That would be a great time to do it
Perfect, I will add that code now. This wont work if I am in test mode?
Correct - domain verification doesn't work when done in test mode
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
Correct!
Perfect, I will test that with a test live account 🙂