How to get Apple Pay accepted in your Gift Up! checkout
In order to accept payment using Apple Pay on your custom-built website, you will need to upload a file to a specific location and be using Stripe as your payment provider in Gift Up!
- Download this domain association file and host it at
/.well-known/apple-developer-merchantid-domain-association
on your site.
For example, if you're registeringhttps://yourdomain.com
, make that file available athttps://yourdomain.com/.well-known/apple-developer-merchantid-domain-association
Once this file is publicly available, it can take an hour or two for Apple Pay to register in Apple's system for your domain. - Register your web domain in your Stripe account for "Apple Pay on the Web" transactions in your Stripe dashboard here: https://dashboard.stripe.com/settings/payment_method_domains?enabled=true. It's also a good idea to add giftup.app to the domains list also, so your Gift Up hosted checkout works with Apple Pay in your Stripe account.
To test Apple Pay is working and enabled, you will need the correct hardware. Here's a guide from Apple.
If you're having any issues getting it to work, contact Stripe for advice. They do have a complete guide here: https://stripe.com/docs/stripe-js/elements/payment-request-button#verifying-your-domain-with-apple-pay