getUPIStatus method
Implementation
Future<String> getUPIStatus(String url) async {
final response = await httpClient.get(Uri.parse(url));
if (response.statusCode != 200) {
throw Exception('error creating order');
}
final json = jsonDecode(response.body);
if (kDebugMode) {
print(json);
}
return response.body;
}