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
Click to copy
Copied
$gateway = Braintree_Configuration::gateway();
$gateway->applePay->registerDomain("www.example.com")
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.