startPayment method
Implementation
@override
Future<void> startPayment(
// String amount,
String secretKey, String jsonRequest) async {
try {
await _methodChannel.invokeMethod('startPayment', {
// 'amount': amount,
'secretKey': secretKey,
'jsonRequest': jsonRequest,
});
} on PlatformException catch (e) {
throw Exception('Failed to start transaction: ${e.message}');
}
}