Thanks Ben, that makes it clearer, but has in fact ended up confusing me more! As I understand it I pass these IDs to Nochex who then send them to the listener? What's confusing me is that I haven't finalized the form before sending the info to Nochex, so it doesn't yet have a submission ID...
Secondly I've tried assigning some values to $form_id and $submission_id as follows but this is still sending a mail with blank values.
$form_id = 8;
$submission_id = 12345;
mail("me@me", "debugging", "Form ID: {$pp["form_id"]}, sub ID: {$_POST['custom']}");
As I understand it the form tools session data is still active after the successful transaction, and there's a condition in the listener to verify the transaction worked, so all I need to do is finalize the active data within this condition?
Sorry again if I'm being dumb about this.
Secondly I've tried assigning some values to $form_id and $submission_id as follows but this is still sending a mail with blank values.
$form_id = 8;
$submission_id = 12345;
mail("me@me", "debugging", "Form ID: {$pp["form_id"]}, sub ID: {$_POST['custom']}");
As I understand it the form tools session data is still active after the successful transaction, and there's a condition in the listener to verify the transaction worked, so all I need to do is finalize the active data within this condition?
Sorry again if I'm being dumb about this.