openPayment method

Future<Map?> openPayment({
  1. required String url,
  2. required Map<String, String> params,
  3. String? title,
  4. bool javaScript = true,
  5. bool devLogs = false,
  6. String? actionUrl,
  7. String? actionPath,
})

Returns a Map like: { success: bool, data: String?, cancelled: bool }

Implementation

Future<Map<dynamic, dynamic>?> openPayment({
  required String url,
  required Map<String, String> params,
  String? title,
  bool javaScript = true,
  bool devLogs = false, // <-- add this
  String? actionUrl,
  String? actionPath,
}) {
  throw UnimplementedError('openPayment() has not been implemented.');
}