MLPayResultCode Constants Reference

Declared in MLPayConstants.h

MLPayResultCode

MaxLeap pay result codes

Definition

typedef NS_ENUM(NSInteger, MLPayResultCode ) {
   MLPaySuccess = 0,
   MLPayErrorUnknown = -1,
   MLPayErrorUserCancel = -2,
   MLPayErrorSentFail = -3,
   MLPayErrorUnsupport = -4,
   MLPayErrorAppInvalid = 1,
   MLPayErrorPayFactorNotSet = 2,
   MLPayErrorChannelInvalid = 3,
   MLPayErrorMissParam = 4,
   MLPayErrorParamInvalid = 5,
   MLPayErrorCertFileError = 6,
   MLPayErrorChannelError = 7,
   MLPayErrorRuntimeError = 14,
};

Constants

MLPaySuccess

0: pay succeed

Declared In MLPayConstants.h.

MLPayErrorUnknown

-1: Unknown error, no information avaiable.

Declared In MLPayConstants.h.

MLPayErrorUserCancel

-2: Transaction was cancelled by user

Declared In MLPayConstants.h.

MLPayErrorSentFail

-3: Transaction failed, parameter invalid or connection failed

Declared In MLPayConstants.h.

MLPayErrorUnsupport

-4: Channel or environment not supported

Declared In MLPayConstants.h.

MLPayErrorAppInvalid

1: App invalid

Declared In MLPayConstants.h.

MLPayErrorPayFactorNotSet

2: Pay factor not set on cloud servers

Declared In MLPayConstants.h.

MLPayErrorChannelInvalid

3: Channel invalid

Declared In MLPayConstants.h.

MLPayErrorMissParam

4: Some parameters missing

Declared In MLPayConstants.h.

MLPayErrorParamInvalid

5: Parameter is invalid

Declared In MLPayConstants.h.

MLPayErrorCertFileError

6: Certificate file error

Declared In MLPayConstants.h.

MLPayErrorChannelError

7: Channel error

Declared In MLPayConstants.h.

MLPayErrorRuntimeError

14: Server runtime error, please contact technical support engineer

Declared In MLPayConstants.h.

Declared In

MLPayConstants.h