Re: Looking for advice on how to integrate third party library

Posts: 3744
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I'm not sure how you'll integrate it into the file download available e-mail, but I don't think you want to override uc_cart_complete_sale(). Perhaps you can try making the API call through a custom module w/ hook_order() on the 'submit' $op and store the key in the order's data array. Then you can define a token for the key that you can use in the e-mails...

Looking for advice on how to integrate third party library By: devonl (4 replies) Thu, 05/08/2008 - 20:06