verify method

Future<void> verify()

Helper method to call payment verification API.

Implementation

Future<void> verify() async {
  return handlePaymentVerificationException(
    caller: () => service.verify(
      payConfig.pidx,
      isProd: payConfig.environment == Environment.prod,
    ),
    onMessage: onMessage,
    onPaymentResult: onPaymentResult,
    khalti: this,
  );
}