Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Orders not appearing in admin


Guest

Recommended Posts

Posted

Hi I am using secure trading as a payment module and having some problems with customer?s orders not appearing in the ?orders? file in admin. Searching this forum I?ve that the most likely reason is that the customer is not returning to my site?s checkout_success.php page after a successful transaction of their card details (there is a link to go back to my site but customers are obviously not using it).

 

What I would like to do is put a bit of code into the transaction successful page (which is is an html file) to open checkout_success.php in a new window. Is this possible? If someone knows the code to enable me to do this it would be greatly appreciated.

 

I have a similar thing on my transaction failure page (see code below) This redirects the customer back (in the same window). I don?t want to redirect on a successful transaction as the customer may want to print the page from their records.

 

<meta http-equiv="Refresh" content="10;URL=http://www.cfbsupplies.co.uk/checkout_payment.php?osCsid=$osCsid&error_message=There+has+been+an+error+processing+you+credit+card,+please+try

+again.">

 

Thanks, David.

Posted

I am having the same issue. And, I've verified that the issue for me is that although customers are being sent to checkout_success, the variable "customer_id" is not being set properly, so on line 17 of checkout_success.php they are being redirected to the shopping cart page (incorrectly)!

 

I tried commenting out that redirect but the customer_id var isn't setting... so osc can't very well add the order to their history!

 

Any idea why this var (and possibly others) is not setting right?

Posted

Guys,

 

I'm in the same position here using the paypal module.

 

Have you found a solution as yet???

 

I'll keep looking and post anything as soon as i find it.

Posted

I'm running into this now myself. It seems like logging the order before you're sent to the Paypal gateway is the solution, but I'm still looking for it myself.

 

The Paypal IPN module has this capablity and a logging file. When I find, I'll share.

 

Claire

Posted

The solution that worked for me is set "force cookies" to false in the sessions section of the admin panel

Posted
The solution that worked for me is set "force cookies" to false in the sessions section of the admin panel

 

Thanks for the suggestion, however, mine were already set to 'false'. The best solution I've surmised from browsing threads is the pre-log the order information before they leave to got to pay via Paypal. This way if they never come back to the site, it doesn't matter.

 

So far, the only programs that do this are PaypalIPN. I'm going to see if I can find the portion that logs the order before hand as everything else operates as I want it to. I already have the 'Better Paypal Description' going so I do know exactly what they ordered, but I like having the records in my admin.

 

Claire ;)

Archived

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

×
×
  • Create New...