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
Price included in URL when confirming the form
Started 11 years ago by ketzaldev | 2 posts |
-
Hi,
I'd like to know if it's easy to insert the final price into the redirection page when submitting the form, having the "check/cash" option selected.
I've seen everything is around here:
else if($form_properties['payment_merchant_type'] == 'check'){
//redirect to either success page or custom redirect URL
if(empty($commit_result['form_redirect'])){
header("Location: http{$ssl_suffix}://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."?id={$form_id}&done=1");
exit;
}else{
echo "<script type=\"text/javascript\">top.location.replace('{$commit_result['form_redirect']}')</script>";
exit;
}
}But I don't really know how to do.
Did somebody already tried it?Thanks
KetPosted 11 years ago # -
It is possible to include the price if you are using a custom PHP page for the thank you page. We can store the total into a session variable and then display it using PHP code into your thank you page.
MachForm Founder
Posted 11 years ago #
Reply
You must log in to post.