setOnSubmitPayListener()
setOnSubmitPayListener() is called by merchant applications to register a callback listener for payment or card binding submission status. This callback is triggered when a buyer initiates payment or card binding requests in the payment or card binding component UI (for example, by clicking the payment or card binding button).
Method signature
Future<void> setOnSubmitPayListener(
void Function(AMSStatusResult result) onSubmitPayCallback,
)Parameters
Parameter | Data type | Is required? | Description |
Function | Yes | Callback function for payment or card binding submission status. Triggered when the buyer submits payment or card binding requests. |
onSubmitPayCallback
Payment or card binding submission callback function that receives an AMSStatusResult object containing the submission status.
Parameter | Data type | Is required? | Description |
result | Yes | Status results containing payment or card binding submission status and error details. |
Return value
Return Future<void>to indicate that the listener registration submission for payment or card binding has been completed. The result of a payment or card binding submission is not returned by this return value, but by an asynchronous callback notification via onSubmitPayCallback.
Error codes
Payment Element scenario
Code (code) | Status (status) | Suggested prompt for buyers (message) | Description | Further action |
|---|---|---|---|---|
UNKNOWN_EXCEPTION | PROCESSING | Unknown exception. Please check the payment status and contact the merchant. | For unknown reasons, the method call failed. | Consult Antom Technical Support for detailed reasons. It is recommended that merchants try to poll the payment results from the server. If no payment result is found, you can reinitiate the payment using the original paymentSessionData within the validity period of the payment session. |
ORDER_IS_CANCELLED | FAIL | The order status is abnormal. Please check the payment status and contact the merchant. | The order has been canceled. | The merchant cancels the order voluntarily, please check by yourself. |
ORDER_IS_CLOSED | FAIL | The order status is abnormal. Please check the payment status and contact the merchant. | The request you initiated has the same paymentRequestId as the closed transaction. | The order has expired. Reinitiate the payment using the new paymentRequestId. |
INQUIRY_PAYMENT_SESSION_FAILED | FAIL | The order status is abnormal. Please check the payment status and contact the merchant. | Payment session expires. | The order has expired. Reinitiate the payment using the new paymentRequestId. |
PAYMENT_IN_PROCESS | PROCESSING | The payment is being processed, please wait for the payment to complete. | Payment is being processed. | Payment is being processed. It is recommended that merchants try to poll the payment results from the server. If no payment result is found, you can reinitiate the payment using the original paymentSessionData within the validity period of the payment session. |
PAYMENT_RESULT_TIMEOUT | PROCESSING | An error occurred. The transaction cannot be initiated. | Network exception when getting payment results. | Try to poll payment results from the server side. |
USER_CANCELED | PROCESSING | User manually canceled. | Users manually disable the code display or guidance page pop-up. | You can reinitiate the payment using the original paymentSessionData within the validity period of the payment session. |
INVALID_TRANSACTION | FAIL | Invalid transaction. Do not retry, and contact Antom Technical Support for more details. | Invalid transaction. | The transaction is deemed invalid due to missing transaction parameters or formatting errors, risk control rule blocking, duplicate transaction submissions, or channels not supporting the transaction type. It is recommended to check the completeness of request parameters. |
Payment Element saved‑card scenario
Code (code) | Status (status) | Suggested prompt for buyers (message) | Description | Further action |
|---|---|---|---|---|
UNKNOWN_EXCEPTION | PROCESSING | Unknown exception. Please check the payment status and contact the merchant. | For unknown reasons, the method call failed. | It is recommended that merchants try to poll the payment results from the server. If no payment result is found, reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
INQUIRY_PAYMENT_SESSION_FAILED | FAIL | The order status is abnormal. Please check the transaction status and contact the merchant. | Payment session expires. | The order has expired. Reinitiate the payment using the new paymentRequestId. |
USER_BALANCE_NOT_ENOUGH | FAIL | The user's balance is insufficient. Please top up or choose another payment method. | Due to insufficient balance for the buyer using the corresponding payment method, payment cannot be completed. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
ORDER_NOT_EXIST | FAIL | The order status is abnormal. Please check the payment status and contact the merchant. | The order does not exist. | Contact Antom Technical Support for detailed reasons. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
PROCESS_FAIL | FAIL | Unknown exception. Please check the transaction status and contact the merchant. | A general business failure occurred. | Contact Antom Technical Support for detailed reasons. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
ORDER_IS_CANCELLED | FAIL | The order status is abnormal. Please check the payment status and contact the merchant. | The order has been canceled. | The order has been canceled. If need to pay again, reinitiate the payment using the newpaymentRequestId . |
RISK_REJECT | FAIL | Risk control rejected. We recommend changing the card and trying again or contacting the card issuer. | The transaction cannot be further processed because of risk control. If the user has already paid for the transaction, the transaction will be refunded. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
ORDER_IS_CLOSED | FAIL | The order status is abnormal. Please check the payment status and contact the merchant. | The request you initiated has the samepaymentRequestIdas that of the existed transaction, which is closed. | The order has expired. Use a new paymentRequestId to initiate the payment again. |
ACCESS_DENIED | FAIL | Unknown exception. Please check the transaction status and contact the merchant. | Access is denied. | Contact Antom Technical Support for detailed reasons. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
CARD_EXPIRED | FAIL | Your card has expired. Please check the expiration date or use a different card. | Card has expired. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
INVALID_EXPIRY_DATE_FORMAT | FAIL | The card expiration date is incorrect. Please check the expiration date or use a different card. | The format of expiryYear or expiryMonth is incorrect. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
INVALID_EXPIRATION_DATE | FAIL | The card expiration date is incorrect. Please check the expiration date or use a different card. | Values of paymentMethod.paymentMethodMetaData.expiryYear or paymentMethod.paymentMethodMetaData.expiryDate are invalid. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
INVALID_CVV | FAIL | The card CVV is incorrect. Please verify the CVV or use a different card. | The CVV of the card used for transactions is invalid. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
INVALID_CARD_NUMBER | FAIL | The card number is incorrect. Please try using a different card or contact the card issuer. | The card number used for the transaction is invalid. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
SELECTED_CARD_BRAND_NOT_AVAILABLE | FAIL | The card brand is not supported. We recommend changing the card and trying again or contacting the card issuer. | The card brand you specified for the transaction is not supported. | The card brand you specified is not supported. Check the card brand and reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
CARD_NOT_SUPPORTED | FAIL | The card is not supported. Please try using a different card or contact the card issuer. | The card used for transactions is not supported. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
CARD_BIN_QUERY_ERROR | FAIL | The card number is incorrect. Please try using a different card or contact the card issuer. | The card number used for the transaction is invalid. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
PAYMENT_IN_PROCESS | PROCESSING PENDING | The payment is being processed, please wait for the payment to complete. | The payment is being processed. | ROCESSING means that after SDK polling, no payment results were found, and it is recommended to poll the payment results on the server side. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. You can read the userCanceled3D field from the response to determine whether the buyer has proactively closed the 3D popup:
|
CURRENCY_NOT_SUPPORT | FAIL | The merchant does not support this currency, and the transaction cannot be initiated. | The currency is not supported. | Contact Antom Technical Support for detailed reasons. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
INVALID_CARD | FAIL | The card number is invalid. Please check the card details or use a different card. | The card is invalid. It could be that the card number cannot be recognized, the card does not have a corresponding issuing bank, or the card number format is incorrect. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
ISSUER_REJECTS_TRANSACTION | FAIL | The issuing bank has declined the transaction. Please try using a different card or contact the card issuer. | The issuing bank has declined the transaction. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
INVALID_MERCHANT_STATUS | FAIL | Merchant status is abnormal, and the transaction cannot be initiated. | Due to limitations, merchant status is abnormal. | Contact Antom Technical Support for detailed reasons. |
KEY_NOT_FOUND | FAIL | Unknown exception. Please check the transaction status and contact the merchant | The private or public key of Antom or the merchant cannot be found. | Contact Antom Technical Support for detailed reasons. |
MERCHANT_KYB_NOT_QUALIFIED | FAIL | Merchant status is abnormal, and the transaction cannot be initiated. | Payment failure due to abnormal KYB status. You may not have completed KYB, or KYB status may not apply to this transaction. | Contact Antom Technical Support for detailed reasons. |
NO_PAY_OPTIONS | FAIL | No supported payment method. | There are no payment methods available. | Contact Antom Technical Support for detailed reasons. |
PARAM_ILLEGAL | FAIL | Unknown exception. Please check the transaction status and contact the merchant | The required parameters are not passed, or illegal parameters exist. For example, a non-numeric input, an invalid date, or the length and type of the parameter are wrong. | Contact Antom Technical Support for detailed reasons. |
PAYMENT_AMOUNT_EXCEED_LIMIT | FAIL | Merchant status is abnormal, and the transaction cannot be initiated. | The payment amount exceeds the maximum allowed by the contract or payment method. | Check if the payment amount exceeds the limit, or try the payment again with a lower amount. Reinitiate the payment after replacing the amount with the new paymentRequestId. |
PAYMENT_COUNT_EXCEED_LIMIT | FAIL | The number of payment attempts by the merchant has exceeded the limit, and the transaction cannot be initiated. | The number of payment attempts by the merchant has exceeded the limit. | Contact Antom Technical Support for detailed reasons. |
PAYMENT_NOT_QUALIFIED | FAIL | Merchant status is abnormal, and the transaction cannot be initiated. | You are not eligible for payment because you are not registered, have not signed an automatic debit agreement, or are not allowed to pay. | Contact Antom Technical Support for detailed reasons. |
SUSPECTED_CARD | FAIL | Risk control declined. Please try using a different card or contact your card issuer. | The card is suspected of fraud. For example, the card is stolen or restricted. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
SYSTEM_ERROR | FAIL | Unknown exception. Please check the transaction status and contact the merchant. | A system error occurred. | Contact Antom Technical Support for detailed reasons. It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
USER_AMOUNT_EXCEED_LIMIT | FAIL | The amount exceeds the limit. Please initiate the payment with an amount less than or equal to your available balance. | The payment amount exceeds the user payment limit. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
USER_KYC_NOT_QUALIFIED | FAIL | Your account status is unusual. Please try using a different card or contact the card issuer.2 | The payment failed because of the user's KYC status. The user is either not KYC compliant, or the KYC status is not qualified for this transaction (for example, limitations on the payment amount or product information). | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
USER_PAYMENT_VERIFICATION_FAILED | FAIL | Your account status is unusual. Please try using a different card or contact the card issuer. | The user is restricted from payment on the payment method side. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
USER_STATUS_ABNORMAL | FAIL | Your account status is unusual. Please try using a different card or contact the card issuer. | The user status is abnormal on the payment method side. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
DO_NOT_HONOR | FAIL | The payment was declined by the card issuer. We recommend changing the card and trying again or contacting the card issuer. | The payment is declined by the issuing bank. | It is recommended to prompt buyers in a pop-up window. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
SUBMIT_PAYMENT_TIMEOUT | PROCESSING | An error occurred. The transaction cannot be initiated. | Network anomalies when submitting payment. | Buyer network anomalies or Antom service anomalies. Try to poll payment results from the server side. If the payment result is not found, can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
PAYMENT_RESULT_TIMEOUT | PROCESSING | An error occurred. The transaction cannot be initiated. | Network anomalies when obtaining payment results. | Try to poll payment results from the server side. If the payment result is not found, can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
FORM_INVALID | FAIL | Form validation exception. | Incorrect element information filling. | Antom has already tipped buyers for you. Can reinitiate confirmPayment() using the original paymentSessionData within the validity period of the payment session. |
Vaulting Element scenario
code | status | Suggested prompt for buyers (message) | Description | Recommended action |
|---|---|---|---|---|
UNKNOWN_EXCEPTION | PROCESSING | Unknown exception. Please check the payment status and contact the merchant. | The API call failed due to an unknown reason. | Try polling the result from the server side. |
PROCESS_FAIL | FAIL | System error. Please check your payment status and contact the merchant. | A common business failure occurred. | Contact Antom Technical Support for details. |
SELECTED_CARD_BRAND_NOT_AVAILABLE | FAIL | The card brand is not supported. We recommend changing the card and trying again or contacting the card issuer. | The card brand specified by the merchant is not supported. | The card brand specified by the merchant is not supported. Check your configuration. |
RISK_REJECT | FAIL | Risk control rejected. We recommend changing the card and trying again or contacting the card issuer. | Authentication cannot proceed due to risk control.​ | Contact Antom Technical Support for details. |
USER_BALANCE_NOT_ENOUGH | FAIL | The user's balance is insufficient. Please top up or choose another payment method. | The payment cannot be completed because the user has insufficient balance for the selected payment method. | Antom has already notified the user. No further action is required from the merchant. |
ACCESS_DENIED | FAIL | System error. Please check your payment status and contact the merchant. | Access is denied. | Contact Antom Technical Support for details. |
CARD_EXPIRED | FAIL | Your card has expired. Please check the expiration date or use a different card. | The card has expired. | Antom has already notified the user. No further action is required from the merchant. |
INVALID_EXPIRATION_DATE | FAIL | The card expiration date is incorrect. Please check the expiration date or use a different card. | The value of paymentMethod.paymentMethodMetaData.expiryYear or paymentMethod.paymentMethodMetaData.expiryDate is invalid. | Antom has already notified the user. No further action is required from the merchant. |
INVALID_CVV | FAIL | The card CVV is incorrect. Please verify the CVV or use a different card. | The CVV code is invalid. | Antom has already notified the user. No further action is required from the merchant. |
INVALID_CARD_NUMBER | FAIL | The card number is incorrect. Please try using a different card or contact the card issuer. | The card number used for the transaction is invalid. | Antom has already notified the user. No further action is required from the merchant. |
CARD_NOT_SUPPORTED | FAIL | The card is not supported. Please try using a different card or contact the card issuer. | The card used for the transaction is not supported. | Antom has already notified the user. No further action is required from the merchant. |
FRAUD_REJECT | FAIL | We apologize, but we are unable to process this transaction at this time. If a payment was involved, the funds will be automatically refunded to your payment account; no further action is required. | The transaction cannot proceed due to risk control. If the user has already paid for the transaction, the payment will be refunded. | Risk control rejection: the transaction was terminated because it triggered risk control rules. |
DO_NOT_HONOR | FAIL | The payment was declined by the card issuer. We recommend changing the card and trying again or contacting the card issuer. | The payment was declined by the card issuer. | Try using another card, or contact the card issuer. |
PICKUP_CARD | FAIL | Card Not Allowed. Please try another card. | The card issuer requires the merchant to retain the payment card. This typically occurs in suspected counterfeit-card or fraudulent-use scenarios. | Contact the card issuer immediately, or use another card to complete the payment. |
ACCOUNT_CLOSED | FAIL | Card Not Allowed. Please try another card. | The account has been closed. Verify that the account number is correct, and do not process the same card number or token again. | Contact the card issuer immediately, or use another card to complete the payment. |
RESTRICTED_CARD | FAIL | Card restricted. Contact your bank or try another card. | The card issuer has restricted the usage scope of this card. | Contact the card issuer immediately, or use another card to complete the payment. |
BLOCKED_FIRST_USED | FAIL | Blocked by bank. Contact your bank or try another card. | The card may be temporarily blocked because it has not been activated for first use or is subject to special restrictions, such as a newly issued inactive card. | The cardholder should activate the new card, or contact the card issuer to confirm the temporary block status and applicable conditions. |
POLICY | FAIL | Payment declined by bank. Try again or another card. | The transaction is restricted by policy. | The cardholder should contact the card issuer to confirm the reason. |
PAYMENT_AMOUNT_EXCEED_LIMIT | FAIL | Merchant status is abnormal, and the transaction cannot be initiated. | The payment amount exceeds the maximum amount allowed by the contract or payment method. | Check whether the payment amount exceeds the limit, or retry with a lower amount. Contact Antom Technical Support for details about the specific limit. |
CARD_BIN_QUERY_ERROR | FAIL | The card number is incorrect. Please try using a different card or contact the card issuer. | The card number used for the transaction is invalid. | Antom has already notified the user. No further action is required from the merchant. |
VERIFICATION_IN_PROCESS | PROCESSING | Card binding in progress, please wait. | Payment method verification is in progress. | PROCESSING indicates that the SDK did not obtain the authentication result after polling. Poll the authentication result from the server side. |
ORDER_IS_CLOSED | FAIL | The order status is abnormal. Please check the payment status and contact the merchant. | The transaction is closed and the card cannot be bound again. | The order has timed out and been closed. Initiate the request again with a new vaultingRequestId. |
PARAM_ILLEGAL | FAIL | Unknown exception. Please check the payment status and contact the merchant. | A required parameter is missing or an invalid parameter is provided. For example, non-numeric input, an invalid date, or an incorrect parameter length or type. | Check and verify that all required request fields, including header fields and body fields, are correctly passed and valid. |
PAYMENT_COUNT_EXCEED_LIMIT | FAIL | The number of payment attempts by the merchant has exceeded the limit, and the transaction cannot be initiated. | The number of payments exceeds the maximum limit allowed by the payment method. | Contact Antom Technical Support for details. |
STOLEN_CARD | FAIL | Your bank card is in an abnormal state. Please contact your issuing bank or use an alternative payment method to complete the payment. | The card is reported as stolen, indicating a fraudulent account. | The cardholder should contact the card issuer to confirm the reason. |
LOST_CARD | FAIL | Your bank card is in an abnormal state. Please contact your issuing bank or use an alternative payment method to complete the payment. | The card is reported as lost, indicating a fraudulent account. | The cardholder should contact the card issuer to confirm the reason. |
AUTHENTICATION_REQUIRED | FAIL | Additional authentication is required to complete your payment. | 3D Secure authentication is required. | Restart the payment and guide the user to complete 3D Secure authentication. |
VERIFY_TIMES_EXCEED_LIMIT | FAIL | Too many failed attempts. Please request a new verification code. | The current verification code has failed too many times during payment verification. | The user must obtain a new verification code. |
USER_PAYMENT_VERIFICATION_FAILED | FAIL | Your account status is unusual. Please try using a different card or contact the card issuer. | The buyer failed payment verification using the OTP verification method. | Display a prompt to the user. |
UNKNOWN_ERROR | FAIL | An unknown error occurred. Please try again later or contact the merchant. | An unknown exception occurred. This is a fallback error. | Prompt the user to resolve the form error. |
API_GATEWAY_TIMEOUT | PROCESSING | Request timed out. Please try again. | The API gateway timed out. | Prompt the user. |
API_TIMEOUT | PROCESSING | Request timed out. Please try again. | The API response timed out. | Prompt the user. |
API_GATEWAY_ERROR | FAIL | System error. Please try again later or contact the merchant. | An API gateway error occurred. | Prompt the user to resolve the form error. |
API_SYSTEM_ERROR | FAIL | System error. Please try again later or contact the merchant. | An error occurred during the API call. | Prompt the user to resolve the form error. |
VALIDATION_FAILED | FAIL | Form validation failed. | Form validation failed. | Prompt the user to resolve the form error. |
INQUIRY_RESULT_TIMEOUT | PROCESSING | Request timed out. Please try again. | The card binding result inquiry timed out. | Prompt the user. |
MISSING_SUCCESS_REDIRECT_URL | FAIL | System error. Please try again later or contact the merchant. | The success redirect URL is missing. | Prompt the user. Contact Antom Technical Support for details. |
MISSING_3D_REDIRECT_URL | FAIL | System error. Please try again later or contact the merchant. | The 3D Secure redirect URL is missing. | Prompt the user. Contact Antom Technical Support for details. |
NOT_SUPPORT_SUBMIT | FAIL | System error. Please try again later or contact the merchant. | The submitted Element is not supported. | Update your integration code. Do not submit an Element that does not support submission. |
INVALID_MODAL_URL | FAIL | System error. Please try again later or contact the merchant. | The modal URL is invalid. | Prompt the user. Contact Antom Technical Support for details. |
INVALID_REDIRECT_URL | FAIL | System error. Please try again later or contact the merchant. | The redirect URL is invalid. | Check whether the configured redirect URL is valid. |
DDC_UPLOAD_PARAM_ILLEGAL | FAIL | System error. Please try again later or contact the merchant. | The DDC upload parameters are invalid. | Prompt the user. Contact Antom Technical Support for details. |
DDC_UPLOAD_DATA_FAILED | FAIL | System error. Please try again later or contact the merchant. | The DDC channel page encountered an error. | Prompt the user. Contact Antom Technical Support for details. |
DDC_QUERY_ID_MISSING | FAIL | System error. Please try again later or contact the merchant. | An error occurred while querying the DDC result. | Prompt the user. Contact Antom Technical Support for details. |
DDC_QUERY_INFO_MISSING | FAIL | System error. Please try again later or contact the merchant. | An error occurred while querying the DDC result. | Prompt the user. Contact Antom Technical Support for details. |
DDC_QUERY_INFO_UUID_MISSING | FAIL | System error. Please try again later or contact the merchant. | An error occurred while querying the DDC result. | Prompt the user. Contact Antom Technical Support for details. |
DDC_PARAMETERS_INVALID | FAIL | System error. Please try again later or contact the merchant. | Required 3DE parameters are missing. | Prompt the user. Contact Antom Technical Support for details. |
DDC_INQUIRY_3D_REDIRECT_URL_PARAMS_MISSING | FAIL | System error. Please try again later or contact the merchant. | Required 3DE parameters are missing. | Prompt the user. Contact Antom Technical Support for details. |
DDC_QUERY_PAYMENT_REDIRECT_URL_TIMEOUT | PROCESSING | Request timed out. Please try again. | Querying the payment redirect URL timed out. | Prompt the user. |
NOT_SUPPORT_ELEMENT | FAIL | System error. Please try again later or contact the merchant. | The specified elementType is not supported. | Update your integration code. Do not create an unsupported Element. |
SESSION_DATA_INVALID | FAIL | System error. Please try again later or contact the merchant. | The provided sessionData is invalid. | Check your integration code and verify that the provided sessionData is correct. |
ELEMENT_INIT_FAILED | FAIL | System error. Please try again later or contact the merchant. | Failed to initialize the Element. | Prompt the user. Contact Antom Technical Support for details. |
GENERATE_ELEMENT_KEY_FAILED | FAIL | System error. Please try again later or contact the merchant. | Failed to generate a unique key for the Element. | Prompt the user. Contact Antom Technical Support for details. |
CANNOT_CREATE_SAME_ELEMENT_TWICE | FAIL | System error. Please try again later or contact the merchant. | The same Element was created multiple times. | Update your integration code. Do not create the same Element more than once at the same time. |
MOUNT_TIMEOUT | FAIL | System error. Please try again later or contact the merchant. | Mounting the Element timed out. | Prompt the user. Contact Antom Technical Support for details. |
MOUNT_MISSING_CONTAINER | FAIL | System error. Please try again later or contact the merchant. | No container element was provided for mounting. | Update your integration code and provide a valid container element. |
MOUNT_IFRAME_LOAD_ERROR | FAIL | System error. Please try again later or contact the merchant. | Failed to load the iframe. | Prompt the user. Contact Antom Technical Support for details. |
MOUNT_NOT_SUPPORT | FAIL | System error. Please try again later or contact the merchant. | The Element cannot be mounted in the current state. This may occur after the Element has been destroyed or when mounting is attempted multiple times. | Update your integration code. Do not mount an Element again after it has been destroyed. |
MOUNT_INITIAL_FAILED | FAIL | System error. Please try again later or contact the merchant. | Failed to initialize mounting. | Prompt the user. Contact Antom Technical Support for details. |
MISSING_PAYMENT_METHOD | FAIL | System error. Please try again later or contact the merchant. | The rendering template was not provided. | Prompt the user. Contact Antom Technical Support for details. |
USER_CLOSE_VAULTING | PROCESSING | N/A | The user closed the card binding semi-modal. | No further action is required from the merchant. |