Apple Pay
Introducing Web Component Apple Pay
To simplify Apple Pay on the web, Jupico provides a reusable, framework-agnostic <apple-pay-jupico> component. You embed one script and drop a single tag to render the native Apple Pay button, handle merchant validation, present the sheet, and return a short-lived token (or payment payload) on success.
Prerequisites:
- Serve over HTTPS.
- Register your domain(s) to use Apple Pay on the Web.
- Apple Pay only appears on eligible devices/browsers (Safari/iOS/macOS with Wallet set up).
apple-pay-jupico include the Web Component
Use the <apple-pay-jupico> tag and pass the required properties.
🔹 Required Properties
sessions: opaque authorization sessions object from your backend (don’t modify it).transaction-complete: callback invoked when the Apple Pay sheet finishes (success/cancel/error).
web flow, the component performs merchant validation and presents the Apple Pay sheet on user click. Apple requires a user gesture to open the sheet.
Updated 9 days ago
