MasterPassPaymentInitConfig

MasterPassPaymentInitConfig object

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

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