in the accounting/entitydef/entitymodel.xml

for the CreditCard entity def you have the following
for the cardnumber field
      <field name="cardNumber"
type="credit-card-number" encrypt="true"></field>

the encrypt="true" will encrypt the data before being
stored so that you do not have to specifically encrypt
it before entering it into the entity.

--- Vinay Agarwal <[EMAIL PROTECTED]> wrote:

> Hello,
> 
>  
> 
> Looking at the CreditCard and
> PaymentMethodAndCreditCard entities (e.g. on
> Si's demo link
>
https://demo.opensourcestrategies.com:8445/ordermgr/control/main),
> the
> cardNumber field is shown normally in CreditCard
> entity and with some kind
> of encoding in PaymentMethodAndCreditCard for the
> same credit cards. I
> checked createCreditCard service and it doesn't seem
> to encode credit card
> numbers before storing. Is it a view entity display
> bug? Thanks in advance.
> 
>  
> 
> Regards,
> 
> Vinay Agarwal
> 
>  
> 
> 

Reply via email to