Mock the ApplePaySession API from Safari for easier testing of Apple Pay during development
Mock the ApplePaySession object available only on Safari & Apple devices, allowing you to handle the basic development of ApplePay from the comfort of Chrome.
Current functionality:
1 - Display the Apple Pay button for elements with the 'apple-pay-button' class
2 - Basic validation that you have implemented the 'onvalidatemerchant' and 'onpaymentauthorized' functionality
Latest reviews
- (2022-08-26) Gianni Santangelo: Does exactly what I needed it to do. Don't have to borrow my wife's iPhone anymore to test.