Re: RFC: Credit card processing
| From: | Justin Patrin | Date: | Mon, 15 Dec 2003 19:30:42 +0000 |
| Subject: | Re: RFC: Credit card processing | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24439@lists.php.net to get a copy of this message | ||
Pierre-Alain Joye wrote:
On Sun, 14 Dec 2003 17:56:51 -0800 Ian Eure <ieure@debian.org> wrote:Again, it is not only a sanity check. Depending on your payemt processor and your deal with them, it may cost you *per connection*, whether ot not the CC is valid, declined, etc. It is a *very good idea* IMHO to validate as much as you can before sending it off. -- paperCrane <Justin Patrin>On Sunday 14 December 2003 02:38 am, Stefan Neufeind wrote:Fully agreed. In most of cases CC validation is done on a remote system (gateways), only a little check to save your server of useless requests. pierreShould definitely go into package "Validate". Things like this have already been discussed before. As long as just Validating is concerned we agreed to better place it in "Validate". If you can also do payment-handling we agreed that it is "Payment".It is definitely focused on payment processing. The validation of information before the request is made is incidental, and merely present as a sanity check before making a high-latency network request.