Re: ATTN: Validate Package Maintainer
| From: | Pierre-Alain Joye | Date: | Sun, 14 Dec 2003 11:07:29 +0000 |
| Subject: | Re: ATTN: Validate Package Maintainer | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24407@lists.php.net to get a copy of this message | ||
On Sun, 14 Dec 2003 11:50:33 +0100
Pierre-Alain Joye <paj@pearfr.org> wrote:
> On Sat, 13 Dec 2003 23:41:53 -0500 (EST)
> "Joe Stump" <joe@joestump.net> wrote:
>
> > I would recommend making the existing Validate::creditCard() a
> > wrapper for this.
>
> Is there any case where you have to valid only the expiration date,
> the cvv2, the number or the type? I can imagine to test the number for
> non supported CC type, but...
Forget that, after a 2nd coffee validate the type is a requirement
(still the cvv2 but well ;) ).
I see it well in Finance. Stefan?
I would like to keep basic syntax check in Validate (for instance, quick
CC validation before any call to an online payment system) and propose
the full CC validation as part of Finance. Comments?
pierre