Apple Pay as Payment Option
- This tutorial will cover how to enable Apple Pay as an option presented in the list of Digital Wallet options to your online users/those checking out online from your website via our WordPress Plug-Ins or Pages.
- Digital Wallet is enabled in Plug-Ins and Pages by default; however, Apple Pay and Stripe require an additional step to enable Apple Pay - they require users to register with Apple all of the web domains that will display an Apple Pay button (basically, a domain authentication process). This includes both top level domains (ex. stripe.com) and sub domains(ex. shop.stripe.com).
- To complete the authentication process, first download this Domain Association file.
- Next, install that file on your hosting server at "/.well-known/apple-developer-merchantid-domain-association" on your site. For example, if you're registering https://example.com, make that file available at https://example.com/.well-known/apple-developer-merchantid-domain-association
- Next, tell Stripe to register your domain with Apple. You can do this either by going to the Apple Pay Settings in your Stripe dashboard (https://dashboard.stripe.com/account/payments/apple_pay), or by directly using the API with your Live Secret Key as shown below. Please Note: we've redacted the Live Secret Key here. You can find your Live Secret API Key in your account by clicking Developers in the left hand menu within Stripe and then selecting API Keys and replace {sk_live_••••••••••••••••••••••••} below with your Live secret Key.
- Once you've completed the above steps, Apple Pay will appear as an option for online users who have enabled Apple Pay in their browser.
Comments
0 comments
Article is closed for comments.