PaymentsElementActions

PaymentsElementActions object

Actions exposed by PaymentsElement via the onReady callback, allowing programmatic control of the payment session.

PropertyTypeRequiredDescription
cancelSession() => voidrequiredCancels the current payment session programmatically. Triggers the onCancel callback.
On this page: