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
Copy
Copied
$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

Still have questions?

If you can’t find an answer, contact our Support team