Oct 17th, 2011, 6:11 AM
Firstly thanks so much for Form Tools, I'm a complete PHP noob but it's allowed me to set up a nice, functional transaction form incredibly easily.
Sincere apologies if this is a stupid request, but I've spent half a day trying to find a solution and drawn a complete blank. I'm using Nochex to process payments on my site. When a successful transaction is completed, Nochex send a callback to a listener on my site (listener code here).
All good so far. However I'm trying to add a finalize and clear_form_sessions command to the end of the script which run if the payment has been successful. ft_finalize_submission doesn't work as $form_id and $sumbission_id don't appear to exist. I've also tried pasting in the standard finalize and clear form code from the api guide but these don't work either.
Any help would be very much appreciated.
Sincere apologies if this is a stupid request, but I've spent half a day trying to find a solution and drawn a complete blank. I'm using Nochex to process payments on my site. When a successful transaction is completed, Nochex send a callback to a listener on my site (listener code here).
All good so far. However I'm trying to add a finalize and clear_form_sessions command to the end of the script which run if the payment has been successful. ft_finalize_submission doesn't work as $form_id and $sumbission_id don't appear to exist. I've also tried pasting in the standard finalize and clear form code from the api guide but these don't work either.
Any help would be very much appreciated.