[ic] log_transaction question

DB DB at M-and-D.com
Mon Jan 31 17:15:48 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



More information about the interchange-users mailing list