rocrom
11-20-2004, 11:45 AM
Hi Everyone
I have a from that was set up to use Paysystem, we know what happen to them.
I would like to us the same form and just use it for 2checkout. i am not sure what values to add. I cut and paste the current info for paysystem. maybe someone can tell me what to change to use it for 2checkout
elseif ($payment == "PaySystems") {
// create paysystems form
echo '
<form method=post action="https://secure.paysystems1.com/cgi-v310/payment/onlinesale-tpppro.asp" onSubmit="'.sendmail($company_name,$client_name,$color,$email,$url,$description,$comments,$payment,$item_name,$amount,$mailTo,$mailFrom,$msgSubject,$msgBody).'">
<input type="hidden" name="product1" value="'.$item_name.'">
<input type="hidden" name="total" value="'.$amount.'">
<input type="hidden" name="email" value="'.$email.'">
<input type="hidden" name="companyid" value="'.$paysystemsID.'">
<input type="hidden" name="formget" value="Y">
<input type="hidden" name="redirect" value="'.$thankyou.'">
<input type="hidden" name="redirectfail" value="'.$failed.'">
';
}
echo '<input type="submit" value="Place Order">  <input type="button" value="Go Back" onClick="history.go(-1)"></form>';
echo '</td></tr></table></div>';
I have a from that was set up to use Paysystem, we know what happen to them.
I would like to us the same form and just use it for 2checkout. i am not sure what values to add. I cut and paste the current info for paysystem. maybe someone can tell me what to change to use it for 2checkout
elseif ($payment == "PaySystems") {
// create paysystems form
echo '
<form method=post action="https://secure.paysystems1.com/cgi-v310/payment/onlinesale-tpppro.asp" onSubmit="'.sendmail($company_name,$client_name,$color,$email,$url,$description,$comments,$payment,$item_name,$amount,$mailTo,$mailFrom,$msgSubject,$msgBody).'">
<input type="hidden" name="product1" value="'.$item_name.'">
<input type="hidden" name="total" value="'.$amount.'">
<input type="hidden" name="email" value="'.$email.'">
<input type="hidden" name="companyid" value="'.$paysystemsID.'">
<input type="hidden" name="formget" value="Y">
<input type="hidden" name="redirect" value="'.$thankyou.'">
<input type="hidden" name="redirectfail" value="'.$failed.'">
';
}
echo '<input type="submit" value="Place Order">  <input type="button" value="Go Back" onClick="history.go(-1)"></form>';
echo '</td></tr></table></div>';
