confirmPayment method

void confirmPayment(
  1. bool isSuccess
)

Indicates to the user if the payment was successful on the payment sheet Pass true to indicate a successful payment, false otherwise

Implementation

void confirmPayment(bool isSuccess) =>
    _channel.invokeMethod("confirmPayment", isSuccess);