goToPaymentPendingSuccessScreen method
void
goToPaymentPendingSuccessScreen()
Navigate to the payment pending success screen This function is called when the payment status is pending or failed and the user is redirected to the success screen with a flag indicating payment failure. We are going to pending screen, even if payment collection or order creation is failed.
Implementation
void goToPaymentPendingSuccessScreen() {
paymentmodestatus = 0;
Get.to(
() => SellInSuccessScreen(
orderId: orderIdFromWeblinkOrDeeplink,
isPaymentFailed: true,
),
);
}