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.

Ruby
Copy
Copied
gateway.apple_pay.register_domain("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