Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart content lost when returning from Paypal


Guest

Recommended Posts

Posted

Hi:

 

We have a heavily modified OSC 2.2 store. We've been using it for several years on and off.

 

I did some test this weekend and noticed something very strange.

 

When checking out, only the first item in the cart is posted to the order, when returning from the Paypal website. The total of the order is correct.

 

As an example, let's say the user adds "AAA Batteries" and "iPod" to the cart, the total would be $130 (correct with taxes and shipping). The cart looks good until the customer click on the "pay" button that takes him to Paypal. Paypal gets the correct total however when the payment complete upon a successful transaction the client's email only shows "AAA Batteries" in the order for $130, the ADMIN side shows the same thing. We can't see all the items purchased.

 

Among other things we have the One Page checkout contribution and the Official Paypal Express checkout contribution.

 

I didn't play edit the code in probably a year, so I'm a little lost as to where to start. Any help or guidance is greatly appreciated.

 

Thanks community !

Posted

Francois,

 

If you haven't changed anything, I would consider your site may have been hacked. -OR- That your server updated PHP versions or SQL versions.

 

 

 

 

Chris

Posted

Paypal has two concepts when we post to Paypal:

1. Itemized cart

2. Aggregate cart

 

in your case its using aggregate cart.

 

If you go through available different paypal add ons you will find that few of them allows this control from admin.

 

Note: WIth Itemized on times order total modules that give discount or effect total create issues and there you will need further code modification.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Paypal has two concepts when we post to Paypal:

1. Itemized cart

2. Aggregate cart

 

in your case its using aggregate cart.

 

If you go through available different paypal add ons you will find that few of them allows this control from admin.

 

Note: WIth Itemized on times order total modules that give discount or effect total create issues and there you will need further code modification.

 

Satish

 

That's it! Thanks.

Archived

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

×
×
  • Create New...