Hi Ryan,
I have a new programmer doing some work on our site, and he had the task of fixing this. I noticed that he made changes to uc_cart.module. (I try to never hack modules). Anyway, he made a change to uc_cart_checkout_form_validate to look at the credit fields and do set_error by reading $_REQUEST[cc_exp_month] and $_REQUEST[cc_exp_year] to do the work.
Did you say that you can have 2 validation events for a form using hook_form_alter()?
New Programmers :)
#1 Fri, 02/22/2008 - 20:16
What hooks are invoked on "Review Order" (5 replies) Wed, 02/06/2008 - 23:45
- Re: What hooks are invoked on "Review Order" (02/07/2008 - 00:29)
- Re: Re: What hooks are invoked on "Review Order" (02/07/2008 - 09:00)
- New Programmers :) (02/22/2008 - 20:16)
- I got it to work, but not sure if its OK (02/22/2008 - 20:42)
- Re: I got it to work, but not sure if its OK (02/25/2008 - 08:59)
- I got it to work, but not sure if its OK (02/22/2008 - 20:42)
- New Programmers :) (02/22/2008 - 20:16)
- Re: Re: What hooks are invoked on "Review Order" (02/07/2008 - 09:00)
|
|



Joined: 10/29/2007