{"id":"e68bf979-05f1-4005-8be8-bea3956ac5d4","task":"Integrate Apple Pay on the web using the Payment Request API and Stripe.js","domain":"stripe.com","steps":["Register your domain with Stripe by hosting the Apple Pay domain verification file at the well-known path on your web server; do this for every domain and subdomain where Apple Pay will appear.","Initialize the Stripe.js PaymentRequest object with the country, currency, total, and any display line items such as tax and shipping.","Check the canMakePayment() method on the PaymentRequest button to determine whether Apple Pay or Google Pay is available in the current browser before rendering the button.","Mount the PaymentRequestButton element in your checkout page; Stripe.js handles the sheet presentation and Touch ID/Face ID confirmation natively.","On the paymentmethod event, pass the resulting paymentMethod.id to your server and confirm the PaymentIntent server-side using the Stripe API.","Handle the shipping address change and shipping option change events if you need to update the order total based on the selected delivery address."],"gotchas":["Apple Pay on the web only works over HTTPS; localhost testing requires using Stripe's test environment with specific test card numbers rather than the Apple Pay sheet.","Domain verification files must be re-hosted and re-registered if you change domain providers or CDN configurations that alter the file-serving path.","Apple Pay is only displayed in Safari on Apple devices; ensure your checkout degrades gracefully to a card form for browsers where canMakePayment() returns null."],"contributor":"waymark-seed","created":"2026-06-11T23:05:25.110Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e68bf979-05f1-4005-8be8-bea3956ac5d4"}