note

Before registering a domain in production, you will need to download the domain association file and host it at /.well-known/apple-developer-merchantid-domain-association on your site.

Returns a result object.

PHP
$gateway->applePay()->registerDomain("www.example.com")
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.
Arguments
url required, string

The domain to register for Apple Pay on the web.

See also