Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.1

Request #16049 Make CreditCard::expDate have a setter
Submitted: 2009-03-20 09:02 UTC
From: doconnor Assigned: doconnor
Status: Assigned Package: Payment_Process2 (version 0.2.0)
PHP Version: 5.2.9 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 16 - 14 = ?

 
 [2009-03-20 09:02 UTC] doconnor (Daniel O'Connor)
Description: ------------ Expiry date is modeled differently for different drivers. Validation is a pain. Make it so there is a: $card->setExpiryDate($month, $year); // $month should be 0-12 $year should be 4 digits It should raise exceptions if either thing is invalid.

Comments

 [2009-03-21 06:30 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: doconnor