CardPaymentInitConfig

CardPaymentInitConfig object

Configuration options for card payment processing, including lifecycle event handlers for cancel, error, failure, and success states.

PropertyTypeRequiredDescription
onCancel(response: CardPaymentSessionResponse) => voidoptionalCallback invoked when the card payment process is canceled.
onError(response: CardPaymentSessionResponse) => voidoptionalCallback invoked when an error occurs during card payment processing.
onFailure(response: CardPaymentSessionResponse) => voidoptionalCallback invoked when a card payment transaction fails.
onSuccess(response: CardPaymentSessionResponse) => voidoptionalCallback invoked when a card payment transaction completes successfully.
On this page: