completed first web iteration

This commit is contained in:
2025-11-25 20:06:33 +02:00
parent 895925d32f
commit 32b383afa9
41 changed files with 3703 additions and 2613 deletions

View File

@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:go_router/go_router.dart';
@@ -81,10 +82,13 @@ class ConfirmController extends ChangeNotifier {
transactionController.updateReceiptData(response);
if (transactionController.model.selectedPaymentProcessor.authType ==
"WEB") {
if (transactionController.model.selectedPaymentProcessor.authType == "WEB") {
if (context.mounted) {
context.push('/gateway');
if(kIsWeb){
context.push('/gateway-web');
}else {
context.push('/gateway');
}
}
} else {
await pollTransaction(transactionController.model.receiptData?['id']);