executePayment abstract method
Future<MFGetPaymentStatusResponse>
executePayment(
- MFExecutePaymentRequest executePaymentRequest,
- String lang, {
- dynamic onInvoiceCreated(
- String invoiceId
Execute payment manually (for Manual mode)
Use this method after setupWithManualExecute to execute the payment. You can add custom validation or business logic before calling this method.
Callbacks:
onInvoiceCreated: Called when invoice is created (before payment execution)
Returns the payment status response after execution completes
Implementation
Future<MFGetPaymentStatusResponse> executePayment(
MFExecutePaymentRequest executePaymentRequest, String lang,
{Function(String invoiceId)? onInvoiceCreated});