2. Validate the Transaction

The rules are as follows: All four fields are required, the amount must be positive, the expiration date must be YYMM, and the credit card number must pass the checksum test. This last check can be done with the TWebCreditCard component. Set the CardNumber property to the value to check. The Accept property indicates True/False.


     
Copyright (c) 1997 HREF Tools Corp. All Rights Reserved.
Permission granted to Borland for use at the 1997 Borland Developer's Conference.
.