Guest Posted August 23, 2004 Share Posted August 23, 2004 I tried to post in other forums but it was not possible. For those how want to use 2checkout new version I found a little simple way: in secure.php around line 207: find: // echo"<form target=\"_self\" action=\"https://www.2checkout.com/cgi-bin/sbuyers/cartpurchase.2c\" name=\"SecureForm\" method=\"post\"> // <input type=\"hidden\" name=\"sid\" value=\"$cust1\"> // <input type=\"hidden\" name=\"cart_order_id\" value=\"$cart_order_id\"> // <input type=\"hidden\" name=\"total\" value=\"$payable\"> // <input type=\"hidden\" name=\"card_holder_name\" value=\"$name\"> // <input type=\"hidden\" name=\"street_address\" value=\"$add_1 $add_2\"> // <input type=\"hidden\" name=\"city\" value=\"$town\"> // <input type=\"hidden\" name=\"state\" value=\"$county\"> // <input type=\"hidden\" name=\"session\" value=\"$session\"> // <input type=\"hidden\" name=\"country\" value=\"$country\"> // <input type=\"hidden\" name=\"zip\" value=\"$postcode\"> // <input type=\"hidden\" name=\"phone\" value=\"$phone\"> // <input type=\"hidden\" name=\"email\" value=\"$email\"> // <input type=\"hidden\" name=\"demo\" value=\"$test\"> // </form>"; and replace it with: $insertGoTo="https://www2.2checkout.com/2co/buyer/purchase?sid=$cust1&total=$payable&cart_order_id=$cart_order_id"; print "<script language=\"JavaScript\">"; print "window.location = '$insertGoTo' "; print "</script>"; Hope this helps. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 23, 2004 Share Posted August 23, 2004 Has anyone worked on confirmation after the credit card proccess? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2004 Share Posted November 15, 2004 Tried that, now it doesn't work at all. Any other suggestion, I think I missed something Mat Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.