A new environment variable APPLE_PAY_DOMAIN_ASSOCIATION_KEY
A new view, apple_pay_domain_association_view which returns the contents of the env variable when the url /.well-known/apple-developer-merchantid-domain-association is visited
Tests to make sure that the view returns the appropriate response with and without a key set
Description
Related PRs/issues https://github.com/MozillaFoundation/foundation.mozilla.org/issues/10262
This PR adds the following:
APPLE_PAY_DOMAIN_ASSOCIATION_KEY
apple_pay_domain_association_view
which returns the contents of the env variable when the url/.well-known/apple-developer-merchantid-domain-association
is visitedChecklist
Tests
Steps to test:
docker-compose up
Key not found. Please check environment variables.
APPLE_PAY_DOMAIN_ASSOCIATION_KEY