Contents

oncancel

An event handler that is automatically called when the payment UI is dismissed.

Declaration

attribute EventHandler oncancel;

Mentioned in

Discussion

This function can be called even after an onpaymentauthorized event has been dispatched. Both the user and the web page can dismiss the payment sheet and abandon the transaction.

See Also

Ending the session