Matt Rowe
unread,May 21, 2012, 3:02:25 PM5/21/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Satchmo users
Hi list,
I'm hoping you can help with this issue.
I'm working on a Braintree processor that works with authorizations.
I'm using the capture_on_ship_listener to run the
"capture_authorizations" function in payment/listeners.py. I believe
my processor is working correctly: when the status is set to
"Shipped," then the order authorization is verified, and set to
complete.
This is all great. However, there is additional form handling that
comes along and overrides the OrderAuthorization _after_ the signal
has been triggered. It's setting the OrderAuthorizations according to
how they were displayed in the form on the admin page. So, if I don't
manually select the "complete" checkbox in the OrderAuthorization, it
gets reset to the existing state.
Is there any way around this? Any ideas?
Thanks,
Matt