CardPaymentInitConfig
CardPaymentInitConfig object
Configuration options for card payment processing, including lifecycle event handlers for cancel, error, failure, and success states.
| Property | Type | Required | Description |
|---|---|---|---|
onCancel | (response: CardPaymentSessionResponse) => void | optional | Callback invoked when the card payment process is canceled. |
onError | (response: CardPaymentSessionResponse) => void | optional | Callback invoked when an error occurs during card payment processing. |
onFailure | (response: CardPaymentSessionResponse) => void | optional | Callback invoked when a card payment transaction fails. |
onSuccess | (response: CardPaymentSessionResponse) => void | optional | Callback invoked when a card payment transaction completes successfully. |