MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: credit card validation



******    message to minivend-users from Larry Leszczynski <larryl@furph.com>     ******

Hello Joachim -

> hmmm...are there a way, to give visitor more information, why credit
> card is not valid?  I have seen, some people type his card number two or
> more times and they have not realize the wrong date. It will be nice, to
> give visitor information about wrong number or wrong date or wrong
> cardtype. It this possible? 
> 
> With friendly greeting
> 
> Joachim

I've made a few patches to MiniVend 3.12 that do the trick.  They
return error messages like:
   "Missing credit card number"
   "Unknown credit card type"
   "Credit card expiration date has passed"
   "Credit card number fails checksum test"

You'll need to modify these files:
   lib/Vend/ValidCC.pm
   lib/Vend/Interpolate.pm
   bin/minivend
   pages/special/needfield.html

The patches (and zip files containing all four) can be found at:
   http://www.furph.com/minivend/
(Maybe Mike can consider adding to the distribution?)


Larry Leszczynski
larryl@furph.com
--
  furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
info@furph.com	   http://www.furph.com		734-513-7759 (FAX)

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: