close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

My customers are getting an error message when choosing a credit card expiration date after 2020.

Thread began 4/11/2016 3:53 pm by Liz Schmidt | Last modified 4/12/2016 11:35 am by Ray Borduin | 1862 views | 6 replies |

Liz Schmidt

My customers are getting an error message when choosing a credit card expiration date after 2020.

When I try to process a phone order with an expiration date of 2021 I get an error "INVALID CREDIT CARD YEAR FORMAT". Is there something that needs to be changed in the code to process a year after 2020?

Sign in to reply to this post

Ray BorduinWebAssist

What payment provider are you using? Can I get a copy of the confirm.php page to see what might be wrong?

Sign in to reply to this post
Did this help? Tips are appreciated...

Liz Schmidt

error on checkout page

We are using Authorize.net. The error is coming up on the checkout.php page, not the confirm.php. How would I send you a copy?

Sign in to reply to this post

Ray BorduinWebAssist

Send me a copy of the checkout page and I'll take a look. Just attach it as a private attachment in a reply to this post.

Sign in to reply to this post
Did this help? Tips are appreciated...

Liz Schmidt

checkout page generating error

checkout page sent as private message

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you can fix it in the javascript on the page... find this:

WAValidateNM(document.ecart_checkout_form.exp_year,'- Invalid credit card year format',2010,2020,0,'','',',.',document.ecart_checkout_form.exp_year,0,true);

The second number is the maximum... set to 2020...you can just change it to a larger number. Change it to 2016,2050 and you won't have to worry about it for a while.

Sign in to reply to this post
Did this help? Tips are appreciated...

Liz Schmidt

Fixed!

Fixed the problem as above...thanks Ray!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...