www.uburst.com www.uburst.com

"Credit card expiration"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Future Feature Wish List
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Credit card expiration"
Posted by jdempsey on Mar-13-02 at 06:16 PM (EST)
After all the trouble of doing a checksum the system doesn't check the card expiration date.

It checks for missing input but will accept any input (such as "XXXXX"). I could write a Javascript to check the data BUT. . . This would use the date on the customers PC which is often wrong. Servers rarely have incorrect time/date. It is also tricky to do when the uShop.pl creates the "continue" button.

So it really needs to be checked in the CGI along with the checksum and missing input. Or at least there should be an option to do so.

Linkpoint (whom I despise but am stuck with) uses two select boxes "expmonth" and "expyear". This makes it easier to do the math. uShop has a "select" option but this is not practical with only one variable. You would need 12 entries per year.

As I told my client, "Details, details, details"

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Credit card expiration, Bill Weiner, Mar-14-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Credit card expiration"
Posted by Bill Weiner on Mar-14-02 at 06:45 AM (EST)
Yes, I suppose we could add some additional format checking for the credit card expiration date... but the validated format would probably have to be configurable ... or, as you mentioned, "optional" ... because various users are using different formats. We'll look into it for a future release.

In any case, depending on the format that you want to allow, you could modify the "validate_credit_card_parameters" subroutine in the ushop-lib.pl script. That "validate_credit_card_parameters" handles validating all of the credit card fields ... including the expiration date ... so you could add any additional checks you want there.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.