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,
  8. bool forceOverlay = false,
})

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

forceOverlay is used by the web implementation for top-level payment navigation inside embedded WebView / WebKit hosts. Native platforms ignore it.

Implementation

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