Payment Enums
Deep Link Payment Response Code
Class DeepLinkPaymentResponseCode |
Parameter | Platform | Code | Description |
---|---|---|---|
PaymentTransactionStatusInquiry |
iOS / Android |
0000 |
Request transaction status inquiry API. |
PaymentTokenNotFound |
iOS / Android |
0001 |
Payment token not found. |
PaymentCancelled |
iOS / Android |
0002 |
The payment cancelled. |
OpenAppWithDataSuccess |
iOS / Android |
0003 |
Open app by data scheme success. |
OpenAppWithFallbackDataSuccess |
iOS / Android |
0003 |
Open app by fallback data success. |
RetryOpenAppWithFallbackData |
iOS / Android |
0004 |
Open app by data scheme failed, due to user may not install the targeted app and re-try open app by fallback data. |
OpenAppWithDataAndFallbackFailed |
iOS / Android |
0005 |
Open app by data scheme and fallback data both failed. |
ValidationFailed |
iOS / Android |
0099 |
Validation failed due to invalid value for {values}, these value are required for the payment. |
InvalidPaymentResultResponseCallback |
iOS / Android |
0099 |
The payment result response callback cannot be null/nil. |
ThirdPartySDKFailed |
Android |
0099 |
Third party SDK failed. |
LaunchPaymentActivityFailed |
Android |
0099 |
Launch payment activity failed. |
PaymentInfoInitializationFailed |
Android |
0099 |
The payment info initialization failed. |
Google Pay Payment Response Code
Class GooglePayPaymentResponseCode |
Parameter | Platform | Code | Description |
---|---|---|---|
TokenGeneratedSuccess |
Android |
0000 |
The Google Pay token successfully generated. |
SupportedDevice |
Android |
0000 |
The Google Pay supported on this device. |
TokenGenerateFailed |
Android |
0001 |
The Google Pay token generate failed. |
PaymentCancelled |
Android |
0002 |
The Google Pay cancelled. |
UnsupportedDevice |
Android |
0003 |
The Google Pay unsupported on this device. |
PaymentFailed |
Android |
0004 |
The Google Pay payment failed, please check GooglePayResult for more information. |
PayloadReadyToRequestFailed |
Android |
0005 |
The Google Pay ready to request payload generate failed. |
PayloadPaymentDataRequestFailed |
Android |
0005 |
The Google Pay payment data request payload generate failed. |
ValidationFailed |
Android |
0099 |
Validation failed due to invalid value for {values}, these value are required for the payment. |
InvalidPaymentResultResponseCallback |
Android |
0099 |
The payment result response callback cannot be null/nil. |
ThirdPartySDKFailed |
Android |
0099 |
Third party SDK failed. |
LaunchPaymentActivityFailed |
Android |
0099 |
Launch payment activity failed. |
PaymentInfoInitializationFailed |
Android |
0099 |
The payment info initialization failed. |
Apple Pay Payment Response Code
Class ApplePayPaymentResponseCode |
Parameter | Platform | Code | Description |
---|---|---|---|
TokenGeneratedSuccess |
iOS |
0000 |
The Apple Pay token successfully generated. |
SupportedDevice |
iOS |
0000 |
The Apple Pay supported on this device. |
TokenGenerateFailed |
iOS |
0001 |
The Apple Pay token generate failed. |
PaymentCancelled |
iOS |
0002 |
The Apple Pay cancelled. |
UnsupportedDevice |
iOS |
0003 |
The Apple Pay unsupported on this device. |
ValidationFailed |
iOS |
0099 |
Validation failed due to invalid value for {values}, these value are required for the payment. |
InvalidPaymentResultResponseCallback |
iOS |
0099 |
The payment result response callback cannot be null/nil. |
ZaloPay Payment Response Code
Class ZaloPayPaymentResponseCode |
Parameter | Platform | Code | Description |
---|---|---|---|
PaymentSuccess |
iOS / Android |
0000 |
The payment success, please use payment token for request transaction status inquiry API. |
PaymentCancelled |
iOS / Android |
0001 |
The payment cancelled, please check ZaloPayResult for more information. |
PaymentFailed |
iOS / Android |
0002 |
The payment failed, please check ZaloPayResult for more information. |
ValidationFailed |
iOS / Android |
0099 |
Validation failed due to invalid value for {values}, these value are required for the payment. |
InvalidPaymentResultResponseCallback |
iOS / Android |
0099 |
The payment result response callback cannot be null/nil. |
ThirdPartySDKFailed |
Android |
0099 |
Third party SDK failed. |
LaunchPaymentActivityFailed |
Android |
0099 |
Launch payment activity failed. |
PaymentInfoInitializationFailed |
Android |
0099 |
The payment info initialization failed. |
Updated about 21 hours ago