Menu

Configurable Alert Message

Use this feature to customize various alert messages that appear during checkout and in the My Account and Admin sections.

The table below lists the main features.

FeaturesDescription
Customize Account Level MessagesCustomize the alert messages which shoppers can see in their My Account section.
Customize Admin AccessWorldpay Configuration MessagesCustomize the alert message for the Access Worldpay messages.
Customize Checkout MessagesCustomize the alert messages which shoppers can see during checkout.

Main configuration

To customize the alert messages, do the following:

  1. Go to Stores > Configuration > Sales > AccessWorldpay Exception Codes to choose the types of alerts you want to customize.

There are three levels (groups) of alerts that you can customize:

The table below describes these fields, and what you need to input to complete configuration.

FeaturesDescription
Message CodeA unique code used within the script to assign the alert message. This is a mandatory field.
Actual MessageThe default message that the plugin displays. This is a mandatory field.
Custom MessageEnter the text that will replace the actual message. This is an optional field, but it does not accept entries made of white spaces (space or tab).
ActionIf you need to add a different message in future, a delete icon appears so that you can delete the current, incorrect message.

Account level alert messages

To configure these messages, do the following:

  1. Go to Stores > Configuration > Sales > AccessWorldpay Exception Codes: Customize Account Level Message. A screen appears with the existing messages, and space to enter the new message.

  2. Find the message you want to modify or replace and enter the new text in the white Custom Message box.

  3. Click the Add button at the bottom of the screen (you may have to scroll down) to enter your next text. A delete icon appears in the Action column next to your new message. This is so you can delete your message and enter a new one in the future, if needed.

The information on the screen is in the table below:

Message codeActual (default) message
MCAM0Please verify the Billing Address in your Address Book before adding a new card
MCAM1Token does not exist anymore. Please delete the card.
MCAM2The card has been updated
MCAM3Duplicate Entry. This card number is already saved
MCAM4Entered card number does not match with the selected type
MCAM5Please enter 3 digit valid Card Verification Number
MCAM6Item is deleted successfully
MCAM9There appears to be an issue with your stored data, please review in your account and update details as applicable
MCAM10Please select the card type
MCAM11You already appear to have this card number stored, we have updated your saved card details with the new data. You can verify this from my saved cards section in my account dashboard
MCAM12Please enter 4 digit valid Card Verification Number
MCAM13You already appear to have this card number stored, if your card details have changed, you can update these via the My Cards section.
MCAM14Your card could not be saved
GMCAM0The current customer is not authorized.
GMCAM1ID is missing from request. Please specify the ID.
GMCAM2tokenid is missing from request. Please specify the tokenid.
GMCAM3tokenid supplied does not exist. Please verify the tokenid.
GMCAM4Token data supplied does not exist for current customer
GMCAM5Please try after some time
GMCAM6The current customer is not authorized.
GMCAM7The current customer is not authorized.
GMCAM8ID is missing from request. Please specify the ID.
GMCAM9tokenid is missing from request. Please specify the tokenid
GMCAM10cardholdername is missing from request. Please specify the cardholdername
GMCAM11cardexpirymonth is missing from request. Please specify the cardexpirymonth
GMCAM12Invalid expiry month
GMCAM13cardexpiryyear is missing from request. Please specify the cardexpiryyear
GMCAM14Invalid expiry year
GMCAM15Invalid expiry date
GMCAM16tokenid supplied does not exist. Please verify the tokenid
GMCAM17Token data supplied does not exist for current customer

Administration AccessWorldpay configuration messages

To configure these messages, do the following:

  1. Go to Stores > Configuration > Sales > AccessWorldpay Exception Codes: Customize Admin AccessWorldpay Configuration Message. A screen appears with the existing messages, and space to enter the new message.

  2. Find the message you want to modify or replace and enter the new text in the white Custom Message box.

  3. Click the Add button at the bottom of the screen to enter your next text. A delete icon appears in the Action column next to your new message. This is so you can delete your message and enter a new one in the future, if needed.

The information on the screen is in the table below:

Message codeActual (default) message
ACAM12Error code %s already exist!
ACAM13Detected only whitespace character for code

Checkout messages

To configure these messages, do the following:

  1. Go to Stores > Configuration > Sales > AccessWorldpay Exception Codes: Customize Checkout Message. A screen appears with the existing messages, and space to enter the new message.

  2. Find the message you want to modify or replace and enter the new text in the white Custom Message box.

  3. Click the Add button at the bottom of the screen (you may have to scroll down) to enter your next text. A delete icon appears in the Action column next to your new message. This is so you can delete your message and enter a new one in the future, if needed.

The information on the screen is in the table below:

Message codeActual (default) message
CCAM0Card number should contain between 12 and 20 numeric characters
CCAM1Please, verify the disclaimer before saving the card
CCAM2The card number entered is invalid
CCAM3Card brand is not supported
CCAM4Please, enter valid Card Verification Number
CCAM5Error: Please verify your data
CCAM6Session Expired. Please try again
CCAM7Something went wrong while processing your order. Please try again later.
CCAM8Please try after some time
CCAM9Error: Token does not exist. Please delete it from My Account
CCAM10Unfortunately the order could not be processed. Please contact us or try again later
CCAM11Order %s has been declined, please check your details and try again
CCAM12An unexpected error occurred. Please try to place the order again.
CCAM13An error occurred on the server. Please try to place the order again.
CCAM14Your token is no longer scheme compliant. Please delete this card on my account and save new card.
CCAM15Invalid Payment Type. Please Refresh and check again
CCAM16Invalid Configuration. Please Refresh and check again
CCAM17No matching order found in Worldpay to refund. Please visit your Worldpay merchantinterface and refund the order manually.
CCAM18Something happened, please refresh the page and try again.
CCAM19Authentication Failed
CCAM20Invalid Payment Details. Please Refresh and check again
CCAM21Maximum number of updates for this token exceeded
CCAM22Please select one of the options
CCAM23Error: Please, Enter CVV
GCCAM0Required parameter "worldpay_cc" for "payment_method" is missing.
GCCAM1Required parameter "cc_name" for "worldpay_cc" is missing.
GCCAM2Required parameter "cc_number" for "worldpay_cc" is missing.
GCCAM3Required parameter "cc_exp_month" for "worldpay_cc" is missing.
GCCAM4Invalid expiry month
GCCAM5Required parameter "cc_exp_year" for "worldpay_cc" is missing.
GCCAM6Invalid expiry year
GCCAM7Invalid expiry date
GCCAM8Required parameter "cvc" for "worldpay_cc" is missing.
GCCAM9Required parameter "save_card" for "worldpay_cc" is missing.

Shopper's experience

Here are some examples of the default message, and the custom message that replaces it.

Original default message

Above is an example of CCAM2 in theCheckout messagessection. The actual default message in red is The card number entered is invalid.

Below the default message has been replaced by a customized message - Invalid Card Number! Please check and try again.

Customized message


Here is another example.

Original default message

Above is an example of MCAM10 in theAccount level alert messagessection. The actual default message in red is Please select the card type.

Below the default message has been replaced by a customized message - Please Select Credit Card Type.

Customized message