An event handler that is called when the user has authorized the Apple Pay payment with Touch ID, Face ID, or passcode.
- Safari Desktop 10.0+
- Safari Mobile 10.0+
- Apple Pay JS
This attribute must be set to a function that accepts an
events argument; for example,
onpaymentauthorized function must complete the payment and respond by calling
complete before the 30 second timeout, after which a message appears stating that the payment could not be completed.