Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable ApplePay by adding merchand ID #26672

Merged
merged 7 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions facia/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"assets.cache./public/security.txt"="public, max-age=900"
"assets.cache./public/security.txt.asc"="public, max-age=900"

# Caching for applepay merchantId file
"assets.cache./public/apple-developer-merchantid-domain-association.txt"="public, max-age=900"

pekko {
loggers = ["org.apache.pekko.event.Logging$DefaultLogger", "org.apache.pekko.event.slf4j.Slf4jLogger"]
loglevel = WARNING
Expand Down
2 changes: 2 additions & 0 deletions facia/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ GET /humans.txt
GET /.well-known/security.txt controllers.Assets.at(path="/public", file="security.txt")
GET /.well-known/security.txt.asc controllers.Assets.at(path="/public", file="security.txt.asc")

GET /.well-known/apple-developer-merchantid-domain-association.txt controllers.Assets.at(path="/public", file="apple-developer-merchantid-domain-association.txt")

GET /.well-known/amphtml/apikey.pub controllers.FaciaController.ampRsaPublicKey()

# AMP
Expand Down
74 changes: 74 additions & 0 deletions facia/public/apple-developer-merchantid-domain-association.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
MIIQbQYJKoZIhvcNAQcCoIIQXjCCEFoCAQExCzAJBgUrDgMCGgUAMHwGCSqGSIb3DQEHAaBvBG17
InRlYW1JZCI6Ijk5OFA5VTVOR0oiLCJkb21haW4iOiJtLmNvZGUuZGV2LXRoZWd1YXJkaWFuLmNv
bSIsImRhdGVDcmVhdGVkIjoiMjAyMy0xMS0wM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