[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Hard Core customization
>
> I am trying to have IC call a shell script during the invoice
> generation to create an activation key which will be a part of the
> email copy that goes out to the user. I've read all of the
> documentation that is included, but I haven't been able to find a
> mention of this kind of customization.
>
> Could someone give me a brief idea of what would be the most
> "correct" way to do this? I'm very good with Perl and could probably
> go in and hack things up but I wouldn't want to do something that
> would just disappear next time I do an upgrade.
>
You could create a UserTag that opens a pipe to your script, passes
whatever arguments the script requires and collects/returns the output
for your use.
If you call the UserTag from your etc/log_transaction file, you could
save the results into a scratch. From there you could save the
scratch into the transaction table and then use it on your receipt
page and in your emails etc.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/