OzowPaymentInitConfig

OzowPaymentInitConfig object

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

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