My site is set up to work with your datalink, however my "finish URL" keeps responding back as "INVALID" I believe this is due to cookies.... Is there something I need from your CCbill site to add to my files so this doesn't happen?

This is my sgnp file (finish page)--should I insert ccbill's url or something in it?
Its suppose to redirect me to another file that is private called mbp.php--Users can see only URL of the script mbp.php. When a user tries to go to URL of mbp.php again to make new membership subscribing without on-line payment,
he/she will receive error message. Secure features are also included in other
script places.

Here is the file:
<?

set up redirect URL

$redir_url="mbp.php";

require("config.php");
$msgs_fl="msg1_".$intlang.".php"; require("$msgs_fl");

if ($HTTP_COOKIE_VARS['chvl']!="1"){incorrop();}

setcookie("chvl", "2");
header ("Location: $redir_url");
exit;

function incorrop()
{
global $html_header, $html_footer, $msg;
echo $html_header;
echo "
<center><table width='500'><tr><td>
<font FACE='ARIAL, HELVETICA' COLOR='BLACK'> <font size=-1>
<b><a href='index.php'>".$msg['top'].":</a></b></font>
&nbsp;
</font>
<hr size='1'>
<p>
<center>
<font FACE='ARIAL, HELVETICA' COLOR='#000088' >
<center>
<b> ".$msg['Incorect_operation_v']." </b>
</center></font>
";
echo "
</font></td></tr></table></center>
$html_footer
";
exit;
}

?>

    In order to integrate with CCBill, you need to insert your account ID into your web form as a hidden variable. You also need to log into their control panel and set up your payment plans and forms. Then, you have them generate some basic HTML code you can use inside your form.

    That's just the basics. You have to decide whether to let CCBill manage your accounts for you or if you want to manage your accounts yourself. If you manage your accounts yourself, then you need to have a script for CCBill to pass data back to, to process and provision your accounts.

      Write a Reply...