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