ZapperPaymentInitConfig

ZapperPaymentInitConfig object

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

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