Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal IPN - Stock subtracted twice


riley1917

Recommended Posts

Have a strange problem here. When a customer is adding to his cart and then checking out (and being sent to the PayPal side, 1 unit is subtracted. This is correct. However, when the customer completes his purchase, ANOTHER unit is subtracted.

 

Any thoughts on why this is happening, and/or where I can fix this?

 

Thanks!

Link to comment
Share on other sites

Have a strange problem here. When a customer is adding to his cart and then checking out (and being sent to the PayPal side, 1 unit is subtracted. This is correct. However, when the customer completes his purchase, ANOTHER unit is subtracted.

 

Any thoughts on why this is happening, and/or where I can fix this?

 

Thanks!

 

What is your return URL to the shop from Paypal ? It might be something related to that if you use checkout_process.php instead of checkout_success.php.

Link to comment
Share on other sites

It goes to checkout_success.php. Maybe it's something in there?

 

That is very unlikely otherwise everyone would have this problem and it doesn't happen for me and probably most of the others who use Paypal.

Has it been an incident or does it happen all the time when someone pays through Paypal ? You have the same problem when someone chooses another method of payment ? I don't know if you use the osC stock Paypal module or one of the IPN's contribs but in the last case you might have misplaced some code ?

Have you installed some other contribs which could affect this part of the ordering process ? Do you experience other weird behaviour like having oscSid's behind your URL's or something ?

Many questions, no answers (yet) but hopefully whe can find the bugger afterall.

Link to comment
Share on other sites

That is very unlikely otherwise everyone would have this problem and it doesn't happen for me and probably most of the others who use Paypal.

Has it been an incident or does it happen all the time when someone pays through Paypal ? You have the same problem when someone chooses another method of payment ? I don't know if you use the osC stock Paypal module or one of the IPN's contribs but in the last case you might have misplaced some code ?

Have you installed some other contribs which could affect this part of the ordering process ? Do you experience other weird behaviour like having oscSid's behind your URL's or something ?

Many questions, no answers (yet) but hopefully whe can find the bugger afterall.

 

I used a contrib IPN. When I use the standard one, nothing is subtracted at all.

 

Now, I also have QT Pro installed, and when I use QT Pro and have Products Attributes used (Sizes, etc.), the correct number(s) are subtracted. Only when this is not used is something fouling up. And yes, only through PayPal.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...