MobicredPaymentInitConfig
MobicredPaymentInitConfig object
Configuration options for Mobicred payment processing, including lifecycle event handlers for cancel, error, failure, and success states.
| Property | Type | Required | Description |
|---|---|---|---|
onCancel | (response: PaymentsSessionResponse) => void | optional | Callback invoked when the Mobicred payment process is canceled. |
onError | (response: PaymentsSessionResponse) => void | optional | Callback invoked when an error occurs during Mobicred payment processing. |
onFailure | (response: PaymentsSessionResponse) => void | optional | Callback invoked when a Mobicred payment transaction fails. |
onSuccess | (response: PaymentsSessionResponse) => void | optional | Callback invoked when a Mobicred payment transaction completes successfully. |