Hi
I have to call 2 diffferent continueurls in my payment gateway ifs possible.
The one (in the statement now index.php?page=signup5&status=T) is saying thankyou for payment, an updating the database.
I also have to do some others update in the database. This comes from this page: http://mysite.com/anresponse.php, when a user has done the payment. Is that possible at all?
This is a clip of my payment script:
function make_payment1 ($auto = 0) {
$user = $_SESSION ["cur_user"];
$t = load_cfg ("secure/configure.cfg");
$protocol='3';
$msgtype='authorize';
$merchant='99999999';
$language='da';
$ordernumber =time();
$amount=$t["monthly_cost"];
$currency='DKK';
[COLOR="Red"]$continueurl='http://mysite.com/index.php?page=signup5&status=T';[/COLOR]
$cancelurl='http://mysite.com/index.php?page=signup5&status=F';
$callbackurl='http://mysite.com/user.php';
$autocapture='0';
$cardtypelock='';
$md5secret ='ksahc9832hfphOHPjy3298fdphhs98fhpoLU39fhp2hda39u4ohoaqd02Gqofd337Cm';
$md5check = md5($protocol.$msgtype.$merchant.$language.$ordernumber.$amount.$currency.$continueurl.$cancelurl.$callbackurl.$autocapture.$cardtypelock.$md5secret);
echo "<form action='".$t["sp_url"]."' method='post'>";
echo "<input type='hidden' name='protocol' value='$protocol' />";
echo "<input type='hidden' name='msgtype' value='$msgtype' />";
echo "<input type='hidden' name='merchant' value='$merchant' />";
echo "<input type='hidden' name='language' value='$language' />";
echo "<input type='hidden' name='ordernumber' value='$ordernumber' />";
echo "<input type='hidden' name='amount' value='$amount' />";
echo "<input type='hidden' name='currency' value='$currency' />";
[COLOR="red"]echo "<input type='hidden' name='continueurl' value='$continueurl' />";[/COLOR]
echo "<input type='hidden' name='cancelurl' value='$cancelurl' />";
echo "<input type='hidden' name='callbackurl' value='$callbackurl' />";
echo "<input type='hidden' name='autocapture' value='$autocapture' />";
echo "<input type='hidden' name='cardtypelock' value='$cardtypelock' />";
echo "<input type='hidden' name='md5check' value='$md5check' />";
echo "<input type='submit' value='Go to payment'/><br><input type='image' src='images/creditcard.jpg'/>";
echo "</form>";