2 ms·
There's the Payment Request API[1] which in theory allows you to use a single JS interface to declare a payment intent and your providers (so far only Apple Pay
by hadrien01 3y ago
There's the Payment Request API[1] which in theory allows you to use a single JS interface to declare a payment intent and your providers (so far only Apple Pay, Samsung Pay, and Google Pay are compatible). Though it is a single way of declaring your payment for multiple providers, you still need to subscribe to each provider individually and implement each specific post-authorization logic.
[1] https://developer.mozilla.org/docs/Web/API/Payment_Request_API https://developer.mozilla.org/docs/Web/API/Payment_Request_A...