Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Expiration Date error


rztv

Recommended Posts

Using Authorize.net AIM Module - seems clean until confirmation page SUBMIT - then, regarless of what expiration date is entered, returns to Payment page with "Credit Card Error" !

 

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

 

 

Happens in Test and Live modes.

 

Order Confirmation page looks fine - all info properly displayed - including "valid" expiration date.

 

Click SUBMIT and error show up.

 

Any ideas?

Link to comment
Share on other sites

Hello,

 

Have you tried capturing the information sent back from Authorize.net and looking at it?

 

RookuhShay

 

Never sends info to Authorize.net. Kicks out error "Credit Card Error!

 

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

 

has to be bad file.... cc_validation.php would be my guess, but I can't find anything wrong with it.

 

Any other ideas?

Link to comment
Share on other sites

Never sends info to Authorize.net. Kicks out error "Credit Card Error!

 

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

 

has to be bad file.... cc_validation.php would be my guess, but I can't find anything wrong with it.

 

Not posting to database either.

 

Any other ideas?

Link to comment
Share on other sites

Try uninstalling the module from Oscommerce. Download the original authorizenet_cc_aim.php when you first installed Oscommerce overwriting the authorizenet_cc_aim.php on the server and reinstalled it.

 

I ran into a simular situation, this cured it.

 

RookuhShay

Link to comment
Share on other sites

Try uninstalling the module from Oscommerce. Download the original authorizenet_cc_aim.php when you first installed Oscommerce overwriting the authorizenet_cc_aim.php on the server and reinstalled it.

 

I ran into a simular situation, this cured it.

 

RookuhShay

That didn't do it. removed that file and replaced all edited files with originals. Then re-installed and same issue. CC.php works - doesn't return error, but athorizenet_cc_aim.php does. Have compared files, can't see where issue is.

 

I think it has to be in checkout_process.php If I read this code right, that's where it validates cc_expires, and then passes along to next process.

 

If you have any other idea, please let me know.

 

All this stems from cc.php not storing expiration date in database. Used to work and encrypted date, but not in latest version of cc.php.

 

Thanks,

RZ

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...