open method

Future<Map<String, dynamic>?> open(
  1. String url,
  2. Map<String, dynamic> params
)

Opens the payment gateway with the given URL and parameters

Returns a map containing:

  • status: 'success', 'error', or 'cancelled'
  • code: Error code or success code
  • message: Human-readable message about the result
  • response: The raw response from the payment gateway (if available)

Implementation

Future<Map<String, dynamic>?> open(String url, Map<String, dynamic> params) {
  throw UnimplementedError('open() has not been implemented.');
}