Overview
Apple Pay integration allows customers to pay using their Apple devices (iPhone, iPad, Mac) with Touch ID, Face ID, or passcode authentication. The Paysight Widget supports Apple Pay for a seamless checkout experience.How Apple Pay Beta Works on Paysight
Apple Pay is enabled on Paysight through a guided setup process managed by our team during the beta phase.-
Custom Widget Subdomain
For each merchant account (MID) using Apple Pay, we provision a dedicated subdomain for the Paysight Widget (for example,
pay.yourstore.com). This domain is required by Apple for Apple Pay validation. - Merchant Enrollment Paysight handles Apple Pay merchant enrollment on your behalf. Apple Pay is currently enabled per merchant account, one MID at a time. To complete enrollment, we require your company name, registered address, and MCC code.
- Merchant Identifier Once enrollment is complete, we provide you with a unique Apple Pay merchant identifier. This identifier must be included in your widget configuration to enable Apple Pay for the selected merchant account.
This setup process will be fully automated within the Paysight UI in an upcoming release. During the beta period, enrollment is handled manually per MID upon request.
Prerequisites
Contact Your Account Manager
Apple Pay is currently in closed beta. Contact your Paysight account manager to request access.
Install and load the Widget
Ensure you have the Paysight Widget installed or loaded on your page. See Installation.
Steps to Get Started
Verify Company Details
Make sure you have filled in all details in the Companies section of Paysight for the relevant MIDs.
Choose Subdomain
Decide on a subdomain for each company/MID you would like to use (e.g.,
pay.mystore.com).Choose Support URL
Decide on a support URL for each company/MID (e.g.,
mystore.com or dedicated support URL).Open Support Ticket
Open a Support Ticket on Paysight with title Apple Pay - MID ID and provide us with all of the above information.
Apple Pay Configuration
Once you receive approval for your MIDs, you can initialize your widget with the additionalapplePay property:
Configuration Properties
- applePayMerchantId (string, required): Apple Pay merchant identifier provided by Paysight (per merchant account)
- applePayDomain (string, required): Apple Pay domain (per merchant account) - the subdomain you chose during setup
- applePaySupportUrl (string, required): Support URL for Apple Pay wallet redirects. If user goes to Apple Pay via wallet, we redirect to this URL
Apple Pay requires a minimum of Name and Email to process a transaction. These can be provided either:
- As fields in the widget configuration, or
- In the customer object in the widget configuration
Implementation Examples
Field Requirements
Apple Pay requires a minimum of Name and Email to process a transaction. These can be provided in one of two ways:Option 1: Using Fields
Include Name and Email fields in your widget configuration:Option 2: Using Customer Object
Provide Name and Email in the customer object:You can use either approach - fields or customer object - or a combination of both. As long as Name and Email are provided, Apple Pay will work correctly.
Limitations and Caveats
Configuration Management
Currently, you must pass the completeapplePay configuration object in your widget initialization:
- Apple Pay configuration will be controlled from your merchant accounts in Paysight
- The
applePayMerchantId,applePayDomain, andapplePaySupportUrlfields will become optional overrides - A new
applePay.enabledboolean property will be available to toggle Apple Pay on/off
MID Selection
Currently, only one MID per widget initialization can be used with Apple Pay. Upcoming changes:- We will be rolling out an update that automatically selects an Apple Pay compatible MID from your MID router
- This will allow seamless Apple Pay support across multiple merchant accounts
Platform Support
Currently, Apple Pay is limited to the Paysight Widget implementation. Current limitations:- Shopify checkout is not supported
- Only available through the Paysight Widget SDK
Stay tuned for updates as we continue to expand Apple Pay support across more platforms and simplify the configuration process.
Event Handling
Handle widget events to provide feedback to users during the Apple Pay flow:Full event details and patterns: Event Handling and Events Reference.
Testing
Use Production Environment
Apple Pay requires a production environment. Make sure you’re using
environment: 'production' in your configuration.Test on Apple Devices
Apple Pay is only available on Apple devices (iPhone, iPad, Mac). Test your integration on these devices.
Best Practices
- Always provide Name and Email: Apple Pay requires Name and Email to process transactions. These can be provided via fields or the customer object in your widget configuration.
- Test on real devices: Apple Pay functionality is only available on Apple devices, so test on actual hardware.
- Handle errors gracefully: Implement proper error handling for cases where Apple Pay may not be available.
- Provide fallback options: Ensure your widget still works with standard card payments if Apple Pay is unavailable.
- Verify DNS configuration: Make sure your subdomain DNS records are correctly configured before going live.
Troubleshooting
Apple Pay Button Not Showing
- Verify that you’re testing on an Apple device (iPhone, iPad, or Mac)
- Check that your merchant account has been enrolled with Apple Pay
- Ensure DNS records for your subdomain are properly configured
- Confirm that you’re using the correct
applePayMerchantIdprovided by Paysight
Payment Fails
- Ensure Name and Email are provided either via fields or the customer object
- Verify that your
applePayDomainmatches the subdomain configured in DNS - Check that your
applePaySupportUrlis accessible and returns a valid page - Contact support if issues persist