Welcome, Guest ( Customer Panel | Login )




 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-CART Expert

United Kingdom
580 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

4679 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-CART Expert

United Kingdom
580 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

4679 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-CART Expert

United Kingdom
580 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

4679 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
0 Item(s)
$0.00