Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Confirming CC Payment, Returns to Sign-In Page! Please HELP!


sabotage79

Recommended Posts

Using the IONGATE module, when I select IonGate payment , and input a valid credit card, click next, and then confirm, I see in the status bar that its comunicating with Iongate, but then after a couple seconds, im directed back to the login screen!

 

Where do I start the trouble shooting? Anyone have simular problems? This is being done over secure SSL sucessfully with no errors.

Using CVS 01/03/03 with many mods.

 

If it comes to it, i'll setup a fresh install of 01/03/03 with the IonGate module, and see what happens. If it does work, I really don't know where to begin the troubleshooting.

 

Please help! :shock:

Ryan

Link to comment
Share on other sites

I should also mention that the transaction is being sent successfully, as I am able to see it when I log into my IonGate, but the customer never gets to the Checkout_Sucess.php page.

 

I just ran a test on my local machine which is running PHP 4.2.3, and the checkout is successful. The problem happens on my live server which is running PHP 4.3.0

 

I know there were issues in the past with PHP 4.3.0. Does Anyone have a solution?

 

Ryan

Link to comment
Share on other sites

It looks like its a problem with 4.3.0 and Registered Globals. I upgraded to PHP 4.3.0 on my local server and inserted this in application_top.php:

 

$HTTP_SERVER_VARS =& $_SERVER; 

$HTTP_ENV_VARS =& $_ENV; 

$HTTP_COOKIE_VARS =& $_COOKIE; 

$HTTP_GET_VARS =& $_GET; 

$HTTP_POST_VARS =& $_POST; 

$HTTP_POST_FILES =& $_FILES; 

$HTTP_SESSION_VARS =& $_SESSION;

 

Everything works now on my LOCAL server, but when I try to insert the above on my LIVE server which is running 4.3.0, it doesn't fix it. Both servers are running 4.3.0.

 

Anyone know why this could be?

Link to comment
Share on other sites

Problem solved! I would like to thank Brian, who released the IonGate Payment Module.

 

----

Ok, here is your problem. The URL for your SSL site is a different

domain. Cookies work off domains, so all your session stuff is saved on

decalcity.com, but your SSL stuff is https://yourhost.com/~username.

Therefore, when iongate returns to that, and checkout_process.php checks the session, it doesn't find anyone logged in. This will be fixed with a cert on the yoursite.com domain.

 

THANK YOU BRIAN!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...