[ic] log_transaction question Correction
DB
DB at M-and-D.com
Mon Jan 31 17:17:39 UTC 2011
> My transactions table has a field named 'paid' which I set in my
> log_transactions with this line:
>
> paid: [if value mv_payment !~ /credit.*card/i]1[/if]
>
>
> But I've now added PayPalExpress as a payment option (Thanks Lyn!), and
> I want that field also set to "1" when PayPal is used.
>
> Would it be a bad idea to just add a second line like this?
>
> paid: [if value mv_payment !~ /credit.*card/i]1[/if]
> paid: [if value mv_payment !~ /paypalexpress/i]1[/if]
>
>
> DB
oops - I want the field set to "1" when PayPal is NOT used. Sorry !
DB
More information about the interchange-users
mailing list