Instance Method

abort

Aborts the current Apple Pay session.

Declaration

void abort();

Discussion

Dismisses the payment sheet and ends the Apple Pay session without completing a transaction. Only the web page can call abort.

See Also

Ending the Session

oncancel

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