Hi everyone,
First up sorry if this is a really obvious question, but i've spent all morning looking through the documentation here and as of yet i haven't found the answer. i'm also pretty new to ubercart although i have a lot of experience with drupal.
I'm trying to develop a module to interact with Duplium which is a third party order fulfilment service ie. they do the actual sending out of products.
Basically once a payment is "complete" (or received) on the ubercart side of things i need to send some order information to Duplium in order for them to carry out the order, but i can't work out which hook i should be using.
i've looked at the hook_order (update option) but then i also noticed the uc_cart_complete_sale function in the paypal.module (ipn function) which seems to do something similar? which hook should i be focusing on?
Be great if someone could point me in the direction of the right hook?
Also i'd love to hear of anyones experiences with integrate ubercart and Duplium, if anyone has any?
thanks a lot
Tom



That function is really just used to do some odd jobs on order completion. It does invoke a workflow event, so you could potentially have a workflow action that pushes the order data out for fulfillment. Now that I think about it, this may not be a bad idea... it just requires you to do a little more work up front.

Joined: 04/16/2008