handleNextAction method

  1. @override
Future<PaymentIntent> handleNextAction(
  1. String paymentIntentClientSecret, {
  2. String? returnURL,
})
override

Implementation

@override
Future<PaymentIntent> handleNextAction(String paymentIntentClientSecret,
    {String? returnURL}) async {
  final stripe_js.PaymentIntentResponse response =
      await _stripe.handleCardAction(paymentIntentClientSecret);
  return response.paymentIntent!.parse();
}