PaymentsElementActions
PaymentsElementActions object
Actions exposed by PaymentsElement via the onReady callback, allowing programmatic control of the payment session.
| Property | Type | Required | Description |
|---|---|---|---|
cancelSession | () => void | required | Cancels the current payment session programmatically. Triggers the onCancel callback. |