Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with error codes coding.


everyth5

Recommended Posts

I have a small problem with the error code coding for the english.php file for Payment Information that I cannot figure out. any of the codes display the following text

 

The expiry date entered for the credit card is invalid.<br>Please check the date and try again.

 

 

The first four digits of the number entered are: 1111.<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.

 

Note that the <br> in both text are being displayed when this error occurs. Not very professional looking. Please tell me how to fix it. The actual coding is as below.

 

define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.');

define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.');

define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s.<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.');

 

What is wrong with it?????

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...