presentPaymentSheet method

Future<PaymentSheetPaymentOption?> presentPaymentSheet({
  1. PaymentSheetPresentOptions? options,
})

Displays the paymentsheet

See PresentPaymentSheetPameters for more details

throws StripeException in case of a failure

Implementation

Future<PaymentSheetPaymentOption?> presentPaymentSheet({
  PaymentSheetPresentOptions? options,
}) async {
  await _awaitForSettings();
  return await _platform.presentPaymentSheet(options: options);
}