Author: jonesde
Date: Tue Mar 6 16:23:44 2007 New Revision: 515393 URL: http://svn.apache.org/viewvc?view=rev&rev=515393 Log: Removed cvvNumber from CreditCard, added comment about use of securityCode on the OrderPaymentPreference which is where this should really be stored Modified: ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml ofbiz/trunk/applications/order/entitydef/entitymodel.xml Modified: ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml?view=diff&rev=515393&r1=515392&r2=515393 ============================================================================== --- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Tue Mar 6 16:23:44 2007 @@ -1921,7 +1921,6 @@ <field name="paymentMethodId" type="id-ne"></field> <field name="cardType" type="short-varchar"></field> <field name="cardNumber" type="credit-card-number" encrypt="true"></field> - <field name="cvvNumber" type="credit-card-number" encrypt="true"><description>NOTE: THIS SHOULD NEVER BE PERSISTED OUTSIDE THE SCOPE OF A SINGLE TRANSACTION, TYPICALLY ONLY FOR AUTHORIZATION PURPOSES, SHOULD BE REMOVED IMMEDIATELY FOLLOWING USE; this is the 3 digit on back (for Visa, MC, etc) or 4 digit on front (Amex, etc) card verification code; also note that this field is longer than needed to accommodate encryption.</description></field> <field name="validFromDate" type="credit-card-date"><description>Not common in some parts of the world.</description></field> <field name="expireDate" type="credit-card-date"></field> <field name="issueNumber" type="credit-card-date"><description>Single digit number on some Switch and Maestro cards</description></field> Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?view=diff&rev=515393&r1=515392&r2=515393 ============================================================================== --- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Tue Mar 6 16:23:44 2007 @@ -918,7 +918,13 @@ <field name="paymentMethodTypeId" type="id"></field> <field name="paymentMethodId" type="id"></field> <field name="finAccountId" type="id"><description>For paying with a fin account instead of payment method on file</description></field> - <field name="securityCode" type="long-varchar" encrypt="true"></field> + <field name="securityCode" type="long-varchar" encrypt="true"> + <description>NOTE: THIS SHOULD NEVER BE PERSISTED OUTSIDE THE SCOPE OF A SINGLE TRANSACTION, + TYPICALLY ONLY FOR AUTHORIZATION PURPOSES, SHOULD BE REMOVED IMMEDIATELY FOLLOWING USE; + this is the 3 digit on back (for Visa, MC, etc) or 4 digit on front (Amex, etc) card + verification code; also note that this field is longer than needed to accommodate encryption. + </description> + </field> <field name="presentFlag" type="indicator"></field> <field name="overflowFlag" type="indicator"></field> <field name="maxAmount" type="currency-amount"></field> |
Free forum by Nabble | Edit this page |