This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Payment Information {total_amount} in SESSION


  1. cdixon
    Member

    I'm using the Payment option of 'check/cash' to show a total amount on the form and then redirect to my own php file.
    I've edited the post-functions.php file to allow session variables to be used:

    if ($form_id == 46974) {
    	$_SESSION['entry_no'] = $record_insert_id;
    }

    All variables show up fine EXCEPT $_SESSION['forms-data']['total_amount'].
    Do I need something more in the post-functions.php file to allow Payment Information fields to be available in the session variables?

    Posted 11 years ago #

RSS feed for this topic

Reply