A function called when the payment process yields a result.
final void Function(Map<String, dynamic> result)? onPaymentResult;