Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Resetting shopping cart id.


CurlyWillow1

Recommended Posts

Help please!

 

I have pay pal standard installed and am having trouble with pay pal saying that the invoice is payed. When ordering a second time for the same item. Not completing the second order. I think if when the cart is emptied it assigned a new cart id, that would fix the problem. Does anyone have any suggestions where and how to do that?

 

Thanks

Link to comment
Share on other sites

I have pay pal standard installed and am having trouble with pay pal saying that the invoice is payed. When ordering a second time for the same item. Not completing the second order. I think if when the cart is emptied it assigned a new cart id, that would fix the problem. Does anyone have any suggestions where and how to do that?

I wouldn't know where to put it, but hpdl added something similar to SVN for includes/classes/shopping_cart.php in December:

// assign a temporary unique ID to the order contents to prevent hack attempts during the checkout procedure
	  $this->cartID = $this->generate_cart_id();

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...