diff --git a/ts/features/payments/barcode/screens/PaymentsBarcodeChoiceScreen.tsx b/ts/features/payments/barcode/screens/PaymentsBarcodeChoiceScreen.tsx index 06fbd849435..3003d7b49b6 100644 --- a/ts/features/payments/barcode/screens/PaymentsBarcodeChoiceScreen.tsx +++ b/ts/features/payments/barcode/screens/PaymentsBarcodeChoiceScreen.tsx @@ -70,7 +70,9 @@ const PaymentsBarcodeChoiceScreen = () => { analytics.trackBarcodeMultipleCodesSelection(); if (isNewWalletSectionEnabled) { - startPaymentFlowWithRptId(barcode.rptId); + startPaymentFlowWithRptId(barcode.rptId, { + onSuccess: "showTransaction" + }); } else { dispatch(paymentInitializeState()); navigation.navigate(ROUTES.WALLET_NAVIGATOR, { diff --git a/ts/features/payments/barcode/screens/PaymentsBarcodeScanScreen.tsx b/ts/features/payments/barcode/screens/PaymentsBarcodeScanScreen.tsx index d7fe4365fd0..77b95b6ec97 100644 --- a/ts/features/payments/barcode/screens/PaymentsBarcodeScanScreen.tsx +++ b/ts/features/payments/barcode/screens/PaymentsBarcodeScanScreen.tsx @@ -94,7 +94,9 @@ const PaymentsBarcodeScanScreen = () => { if (barcode.type === "PAGOPA") { if (isNewWalletSectionEnabled) { - startPaymentFlowWithRptId(barcode.rptId); + startPaymentFlowWithRptId(barcode.rptId, { + onSuccess: "showTransaction" + }); } else { dispatch(paymentInitializeState()); switch (barcode.format) { diff --git a/ts/features/payments/checkout/screens/WalletPaymentInputFiscalCodeScreen.tsx b/ts/features/payments/checkout/screens/WalletPaymentInputFiscalCodeScreen.tsx index 03580b0834e..4366599121b 100644 --- a/ts/features/payments/checkout/screens/WalletPaymentInputFiscalCodeScreen.tsx +++ b/ts/features/payments/checkout/screens/WalletPaymentInputFiscalCodeScreen.tsx @@ -93,7 +93,7 @@ const WalletPaymentInputFiscalCodeScreen = () => { navigation.pop(); // Navigate to the payment details screen (payment verification) if (isNewWalletSectionEnabled) { - startPaymentFlowWithRptId(rptId); + startPaymentFlowWithRptId(rptId, { onSuccess: "showTransaction" }); } else { dispatch(paymentInitializeState()); navigation.navigate(ROUTES.WALLET_NAVIGATOR, {