diff --git a/lib/services/buy/simplex/simplex_api.dart b/lib/services/buy/simplex/simplex_api.dart index 47e92fda4..9ac74042f 100644 --- a/lib/services/buy/simplex/simplex_api.dart +++ b/lib/services/buy/simplex/simplex_api.dart @@ -123,10 +123,7 @@ class SimplexAPI { List cryptos = []; List fiats = []; - print(jsonArray); - for (final fiat in jsonArray as List) { - print(fiat); fiats.add(Fiat.fromJson({ 'ticker': "${fiat['ticker_symbol']}", 'name': "${fiat['ticker_symbol']}", @@ -244,7 +241,7 @@ class SimplexAPI { throw Exception('newOrder exception: statusCode= ${res.statusCode}'); } final jsonArray = jsonDecode(res.body); // TODO check if valid json - print(jsonArray); + SimplexOrder _order = SimplexOrder( quote: quote, paymentId: "${jsonArray['paymentId']}", @@ -272,8 +269,6 @@ class SimplexAPI { mode: LaunchMode.externalApplication, ); - print(status); - return BuyResponse(value: status); } catch (e, s) { Logging.instance.log("newOrder exception: $e\n$s", level: LogLevel.Error);