Seems strange. What payment module are you using? -Chris
On Tue, Oct 6, 2009 at 2:54 PM, lifewithryan <[email protected]> wrote: > > I have a developer on my team who is using the order_success signal > to output an xml file that our SAP backend will the pick up. > > However, it appears order_success is getting called twice from what we > can tell and we are therefore getting two order files instead of one > per order. Below is a copy of the text he's sent me explaining the > scenario: > > I have one method defined in models.py which takes the Order object > passed to it (sender), extracts information from it, formats this > information into xml templates using the Django templating system, > then saves the output xml to a file. Immediately after the method is > defined, the method is registered as a handler for the "order_success" > signal using the syntax "order_success.connect(method)." This occurs > only once in the source. Upon completing an order, two separate xml > files are generated. Both are identical, except for the file's name > which is generated based on a md5 hash of the file salted with the > current unix timestamp. It appears that the signal is being called > twice upon completion of the order. As far as I am aware, this is not > the correct behavior since the balance should only go to zero at one > point in the transaction. > > Any ideas?? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
