Awesome, thanks so much Ben. Problem was I was trying to reconcile Paypal, Formtools and Nochex systems in my head and was ending up thoroughly confused. However your two messages helped me to work my way through it and I've finally got it working this morning. Just in case anyone needs to do this in the future and ends up here, this is what you need to do:
Put these two lines on the page which submits to Nochex:
Put this line in the successful condition section at the bottom of the listener page:
Hard to belive it's taken me over a day to do this :-)
Put these two lines on the page which submits to Nochex:
Code:
<input type="hidden" name ="order_id" value="<?php echo $_SESSION["form_tools_form"]["form_tools_submission_id"]; ?>">
<input type="hidden" name ="optional_1" value="<?php echo $_SESSION["form_tools_form"]["form_tools_form_id"]; ?>">
Put this line in the successful condition section at the bottom of the listener page:
Code:
ft_finalize_submission($_POST['custom'],$_POST['order_id']);
Hard to belive it's taken me over a day to do this :-)