OttVoucherPaymentInitConfig

OttVoucherPaymentInitConfig object

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

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