core-jgi/client
usrdno af81a9f30e FR 2884597 - More flexible Credit Card validation in PaymentProcessor
https://sourceforge.net/tracker/index.php?func=detail&aid=2884597&group_id=176962&atid=879335

Changes in brief:
MPayment: change in the processOnline method:
 * Call the payment processor's validate method before calling pp.processCC
   In this way we can validate the card details before trying to process.
PaymentProcessor:
  * Create a standard validation (using existing CC-validation)
    method that's overridable by subclasses.
PaymentOnline:
  * Remove CC-validation from here since it prevents the use of custom CC-validation
    in the custom PaymentProcessor.
VPayment:
  * Don't validate the credit card details here since the payment processor
    is not yet known here. The validation is made later by the payment processor.
    If validation should be done at this point it should depend on the
    payment processor.

Reasons for change:
Not all credit cards and payment gateways have the same validation standard. Especially
test payment gateways can have very different validation standards.
With this change, the same validation remains, but it can be changed by extending
the PaymentProcessor class.
2010-01-07 17:38:41 +00:00
..
src FR 2884597 - More flexible Credit Card validation in PaymentProcessor 2010-01-07 17:38:41 +00:00
.classpath merged looks into base. 2008-12-10 00:26:17 +00:00
.project move branch adempire311 to trunk 2006-11-17 03:05:56 +00:00
RUN_build.bat move branch adempire311 to trunk 2006-11-17 03:05:56 +00:00
RUN_build.sh move branch adempire311 to trunk 2006-11-17 03:05:56 +00:00
build.xml 2872728 Move Adempiere to Java 6 2009-10-05 04:56:48 +00:00
documentation.bat move branch adempire311 to trunk 2006-11-17 03:05:56 +00:00
packages.txt move branch adempire311 to trunk 2006-11-17 03:05:56 +00:00