Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lost info to the shop database


pedroprata@pratastudio.com

Recommended Posts

Hi, i have a problem with my OsCommerce shopping cart.

In June Pratastudio bought a template of Oscommerce and started to sell his products online (www.recstand.com).

to process credit cards Pratastudio started to use 2CheckOut (2CO) and PayPal but some transactions didn?t returned complete information to the shop database. PayPal returned the all customers info but with some shoppers the info about the products bought didn?t enter the shop database for processing. With 2CO none info is returned.

After some time we realized that what happens is that a customer that spends a bit more time in PayPal or 2CO makes that loss of the transaction information although the transaction takes place and the amount spend by the shopper enter Pratastudio bank account.

My question is what we should do to prevent this without telling the shopper to be quick on entering the credit card info on PayPal or 2CO.

Is there a way of prolonging the webpage of the shopping cart active so it does not expire and don?t happens this problem of loss of information of the transaction

Link to comment
Share on other sites

You can change the length of time a session lasts in includes/functions/sessions.php here:

if (STORE_SESSIONS == 'mysql') {
if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {
  $SESS_LIFE = 1440;
}

 

Assuming you store your sessions in the database, of course. I wouldn't store their sessions indefinitely, but you can make their session last an hour or so. I can't imagine many people would be paying that long after leaving your site. You can also install the Master Password contribution and push their shopping cart through yourself, once you get the payment.

 

Question, though. Standard problem with the default Paypal module is that if the customer doesn't return to your site after completing the order, their order isn't completed. You're certain that this isn't the root of your problem?

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

You can change the length of time a session lasts in includes/functions/sessions.php here:

if (STORE_SESSIONS == 'mysql') {
if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {
  $SESS_LIFE = 1440;
}

 

Assuming you store your sessions in the database, of course. I wouldn't store their sessions indefinitely, but you can make their session last an hour or so. I can't imagine many people would be paying that long after leaving your site. You can also install the Master Password contribution and push their shopping cart through yourself, once you get the payment.

 

Question, though. Standard problem with the default Paypal module is that if the customer doesn't return to your site after completing the order, their order isn't completed. You're certain that this isn't the root of your problem?

first let me thank you for your reply.

i?ll try it tomorrow after this night sleep (it?s been a long day!)

answering your question, i'm certain that is not the root of my problem because in PayPal the autoresponse is active, so customers do return to the recstand shop.

and i'd like to send you a recstand if you mail me your address and choose what colour you want.

big thanks! ([email protected])

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...