getPendingCheckoutId method

  1. @override
Future<InappifySdkResult<String>> getPendingCheckoutId()
inherited

Returns the non-secret checkout id retained for a browser redirect.

A successful result may contain null when no checkout is pending. Session credentials and payment status must never be returned by this method.

Implementation

@override
Future<InappifySdkResult<String>> getPendingCheckoutId() {
  return _run<String>(
    'getPendingCheckoutId',
    requiresConfiguration: false,
    action: () async => _bridge.readPendingCheckout(),
  );
}