Payment Enums

Deep Link Payment Response Code


Class DeepLinkPaymentResponseCode
ParameterPlatformCodeDescription
PaymentTransactionStatusInquiry
PaymentTransactionStatusInquiryDescription
iOS / Android0000Request transaction status inquiry API.
PaymentTokenNotFound
PaymentTokenNotFoundDescription
iOS / Android0001Payment token not found.
PaymentCancelled
PaymentCancelledDescription
iOS / Android0002Payment cancelled.
OpenAppWithDataSuccess
OpenAppWithDataSuccessDescription
iOS / Android0003Open app by data scheme success.
OpenAppWithFallbackDataSuccess
OpenAppWithFallbackDataSuccessDescription
iOS / Android0003Open app by fallback data success.
RetryOpenAppWithFallbackData
RetryOpenAppWithFallbackDataDescription
iOS / Android0004Open app by data scheme failed, due to user may not install the targeted app and re-try open app by fallback data.
OpenAppWithDataAndFallbackFailed
OpenAppWithDataAndFallbackFailedDescription
iOS / Android0005Open app by data scheme and fallback data both failed.
ValidationFailed
ValidationFailedDescription
iOS / Android0099Validation failed due to invalid value for {values}, these value are required for the payment.
InvalidPaymentResultResponseCallback
InvalidPaymentResultResponseCallbackDescription
iOS / Android0099The payment result response callback cannot be null/nil.
ThirdPartySDKFailed
ThirdPartySDKFailedDescription
Android0099Third party SDK failed.
LaunchPaymentActivityFailed
LaunchPaymentActivityFailedDescription
Android0099Launch payment activity failed.
PaymentInfoInitializationFailed
PaymentInfoInitializationFailedDescription
Android0099The payment info initialization failed.

Google Pay Payment Response Code


Class GooglePayPaymentResponseCode
ParameterPlatformCodeDescription
TokenGeneratedSuccess
TokenGeneratedSuccessDescription
Android0000The Google Pay token successfully generated.
SupportedDevice
SupportedDeviceDescription
Android0000The Google Pay supported on this device.
TokenGenerateFailed
TokenGenerateFailedDescription
Android0001The Google Pay token generate failed.
PaymentCancelled
PaymentCancelledDescription
Android0002The Google Pay cancelled.
UnsupportedDevice
UnsupportedDeviceDescription
Android0003The Google Pay unsupported on this device.
PaymentFailed
PaymentFailedDescription
Android0004The Google Pay payment failed, please check GooglePayResult for more information.
PayloadReadyToRequestFailed
PayloadReadyToRequestFailedDescription
Android0005The Google Pay ready to request payload generate failed.
PayloadPaymentDataRequestFailed
PayloadPaymentDataRequestFailedDescription
Android0005The Google Pay payment data request payload generate failed.
ValidationFailed
ValidationFailedDescription
Android0099Validation failed due to invalid value for {values}, these value are required for the payment.
InvalidPaymentResultResponseCallback
InvalidPaymentResultResponseCallbackDescription
Android0099The payment result response callback cannot be null/nil.
ThirdPartySDKFailed
ThirdPartySDKFailedDescription
Android0099Third party SDK failed.
LaunchPaymentActivityFailed
LaunchPaymentActivityFailedDescription
Android0099Launch payment activity failed.
PaymentInfoInitializationFailed
PaymentInfoInitializationFailedDescription
Android0099The payment info initialization failed.

Apple Pay Payment Response Code


Class ApplePayPaymentResponseCode
ParameterPlatformCodeDescription
TokenGeneratedSuccess
TokenGeneratedSuccessDescription
iOS0000The Apple Pay token successfully generated.
SupportedDevice
SupportedDeviceDescription
iOS0000The Apple Pay supported on this device.
TokenGenerateFailed
TokenGenerateFailedDescription
iOS0001The Apple Pay token generate failed.
PaymentCancelled
PaymentCancelledDescription
iOS0002The Apple Pay cancelled.
UnsupportedDevice
UnsupportedDeviceDescription
iOS0003The Apple Pay unsupported on this device.
ValidationFailed
ValidationFailedDescription
iOS0099Validation failed due to invalid value for {values}, these value are required for the payment.
InvalidPaymentResultResponseCallback
InvalidPaymentResultResponseCallbackDescription
iOS0099The payment result response callback cannot be null/nil.

ZaloPay Payment Response Code


Class ZaloPayPaymentResponseCode
ParameterPlatformCodeDescription
PaymentSuccess
PaymentSuccessDescription
iOS / Android0000The payment success, please use payment token for request transaction status inquiry API.
PaymentCancelled
PaymentCancelledDescription
iOS / Android0001The payment cancelled, please check ZaloPayResult for more information.
PaymentFailed
PaymentFailedDescription
iOS / Android0002The payment failed, please check ZaloPayResult for more information.
ValidationFailed
ValidationFailedDescription
iOS / Android0099Validation failed due to invalid value for {values}, these value are required for the payment.
InvalidPaymentResultResponseCallback
InvalidPaymentResultResponseCallbackDescription
iOS / Android0099The payment result response callback cannot be null/nil.
ThirdPartySDKFailed
ThirdPartySDKFailedDescription
Android0099Third party SDK failed.
LaunchPaymentActivityFailed
LaunchPaymentActivityFailedDescription
Android0099Launch payment activity failed.
PaymentInfoInitializationFailed
PaymentInfoInitializationFailedDescription
Android0099The payment info initialization failed.