VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Change Card Expiry to Select
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mark Priest
VP-ASP Expert

United Kingdom
570 Posts

Posted - November 28 2006 :  11:52:16  Show Profile  Reply with Quote
Hi All,

Because in version 6 the card expiry is filled out with the current month and year it appears a lot of people seem to skip this important information as it appears already filled out. This is causing a large amount of failed transactions.

Can someone help me in removing the automated selection of these fields so the customer has to select the dates.

Regards,

Mark

support
Administrator

4266 Posts

Posted - November 28 2006 :  16:34:09  Show Profile  Visit support's Homepage  Reply with Quote
Hi Mark,

I agree with you on this one. We will be removing this feature for version 650.

Thanks
Cam

VP-ASP Support
Go to Top of Page

Mark Priest
VP-ASP Expert

United Kingdom
570 Posts

Posted - November 28 2006 :  18:57:12  Show Profile  Reply with Quote
Hi Cam,

Thats good to hear, I know what file needs changing NOW but I dont want to screw it up, can you help with this one, my customer is having to call 10 - 15 people a day because of wrong dates which is taking up a lot of his time.

Regards,

Mark
Go to Top of Page

support
Administrator

4266 Posts

Posted - November 29 2006 :  17:18:18  Show Profile  Visit support's Homepage  Reply with Quote
Hi Mark,

To remove the automatic selection, open up shopvalidatecreditcards.asp and locate at around line 191-195:
If name = month then
Selected="Selected"
else
Selected=""
end if

Just add a ' in front of all 5 lines to comment them out.

You would also do the same in the GenerateYY function at around 215-219:
if currentyear=Yearpart then
Selected="Selected"
else
Selected=""
end if

Regards,
Joseph

VP-ASP Support
Go to Top of Page

Mark Priest
VP-ASP Expert

United Kingdom
570 Posts

Posted - November 29 2006 :  19:29:19  Show Profile  Reply with Quote
HI Joseph

Thats great, thank you. Is there a way to add -- to the top of each box? at the moment it shows 01 06 I would like to get rid of the numbers.

Regards,

Mark
Go to Top of Page

support
Administrator

4266 Posts

Posted - November 29 2006 :  22:02:07  Show Profile  Visit support's Homepage  Reply with Quote
Hi Mark,

In the GeneratMM and GenerateYY functions, you should see the following line in both:
value="<SELECT name=" & name & " class='txtfielddropdown'>"

Add the following underneath both instances:
value = value & "<option value="""">--</option>"

Regards,
Joseph

VP-ASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000