[ic] order.profile logic commands

Ed LaFrance interchange-users@interchange.redhat.com
Tue Apr 30 11:15:00 2002


At 07:08 PM 4/29/2002 -0700, you wrote:

>I was trying to perform some checks on some numbers for checking a date of
>birth to see if it is past a certain age.  I tried this and it didn't work,
>this code is from the orders.profile, all I get is
>
>(elsif): No format check routine for 'value'
>
>when I go through an order.  I guess that means the order profile is not
>working, but I can't think of what could be wrong, from what I've seen from
>the other order profiles, ITL can be used there without any problems, Any
>help would be appreciated!
>
>profiles.order    code follows:
>
>__NAME__                            credit_card

[snip arg=big_ol_nasty_chunk_o_code]

>-----------------------------------------
>Brendan Crosser-McGay
>brendan@paymentonline.com
>-----------------------------------------

That [if] monster you just posted is probably the strongest argument I have 
seen for writing a custom order check instead. Check the ic_ecommerce doc 
that is included in the current dist for guidelines.

- Ed L.

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================