presentPaymentSheet method

Future<void> presentPaymentSheet({
  1. @Deprecated('Params are now inherited from initPaymentSheet so this `parameters` can be removed') dynamic parameters,
})

Displays the paymentsheet

See PresentPaymentSheetPameters for more details

throws StripeException in case of a failure

Implementation

Future<void> presentPaymentSheet({
  @Deprecated('Params are now inherited from initPaymentSheet so this `parameters` can be removed')
      dynamic parameters,
}) async {
  await _awaitForSettings();
  return await _platform.presentPaymentSheet();
}