VP-ASP New User
Posted - February 15 2005 : 11:39:19
| When I get to the credit card entry page, I was surprised that since it was February all ready that it still said 1 as the month with the year as 05. I'm still in test mode so I would always have to change the month. Digging into the code, I found the bug so thought I would share it.
It's in function GenerateMM and is located in 2 files. The problem line is:
If name = month then
and it doesn't always match because of comparing different variable types. Changing it to this lets it work:
If cint(name) = cint(month) then
Here's the 2 files and the lines where the problem line is located.
sslshopcheckout.asp: line 581
shopvalidatecreditcards.asp: line 191
Hope that helps somebody.