When customer checks out via Paypal WPP by entering credit card, it works as expected, deducts stock accordingly.

When they use Express, the order admin page shows this:

02/07/2012
5:08:16 PM	-	The stock level for mmejulesgra2_583_b has been decreased to 7.
02/07/2012
5:08:16 PM	-	The stock level for nigretteht01_1017_b has been decreased to 7.
02/07/2012
5:08:16 PM	-	The stock level for mmeisaacper2_164_b has been decreased to 64.
02/07/2012
5:08:16 PM	-	Order created through website.
02/07/2012
5:08:20 PM	-	The stock level for mmejulesgra2_583_b has been decreased to 6.
02/07/2012
5:08:20 PM	-	The stock level for nigretteht01_1017_b has been decreased to 6.
02/07/2012
5:08:20 PM	-	The stock level for mmeisaacper2_164_b has been decreased to 63.
02/07/2012
5:08:21 PM	-	PayPal IPN reported a payment of 77.60 USD.

Comments

longwave’s picture

Is this an upgrade from 6.x-2.6 (or earlier), or a new install? Have you modified your Conditional Actions in any way? (or if this is an upgrade, have you tried resetting the CA rules, as they changed between 6.x-2.6 and 6.x-2.7)

longwave’s picture

Status: Active » Postponed (maintainer needs more info)

Also the issue title says "PayPal Express", the first post says "WPP" - these are different, please confirm which payment method you are using.

zkrebs’s picture

Longwave - excuse me if I'm wrong, but Paypal Website Payment Pro requires Paypal Express to be enabled as well (for paying via Paypal account). Am I wrong?

Our primary intention is to let customers pay by Credit Card, but let them also be able to pay with paypal email directly.

This is an upgrade from 2.4, 2.5, 2.6 and now 2.7. I haven't changed any of the rules that came with Ubercart regarding stock. The rule 'Decrement stock upon order submission' has no reset next to it, so I assume I didn't change it.

I was experimenting with a module, Ubercart Product Triggers, but it had no active rules while the problem was observed. I just disabled it.

Anything else I can try? I'll report back to see if this worked.

longwave’s picture

PayPal WPP is credit card at checkout without leaving the site, PayPal Express hands over to PayPal from the cart page and they never see the Ubercart checkout, so they are very different.

zkrebs’s picture

Longwave - correct - we have both payment methods enabled. When they use Paypal Express the stock is deducted twice. If they pay via Credit Card- it does not.

I disabled the module referenced above, and it did not solve. Any other suggestions? Could I do anything else to help you / team find out what's wrong?

zkrebs’s picture

Status: Postponed (maintainer needs more info) » Active

Is there any other information I can provide you? It is the Paypal Express gateway that is causing the duplicate stock reduction.

longwave’s picture

It just needs time for someone to test and debug this; personally I am not currently using EC so I haven't run into this particular issue.

zkrebs’s picture

Priority: Normal » Critical

Longwave, or anyone else, is it possible that a third party module is causing a problem?

My other payment gateway is not deducting stock twice.

Is there anything I could do to assist?

longwave’s picture

Priority: Critical » Normal
Status: Active » Closed (cannot reproduce)

If this is still an issue please reopen, but nobody else has reported this so I suspect this was a CA configuration issue on your site.

zooter626’s picture

Version: 6.x-2.7 » 7.x-3.4

I'm having this exact issue and I couldn't find any other thread offering advice.

I'm only using Paypal Express Checkout and it seems to be reducing the stock for the entire order once, and then again, like:

2013-07-05 19:06 - The stock level for Terra Firma Farm-Duck Eggs has been decreased to 14.
2013-07-05 19:06 - The stock level for Terra Firma Farm-Duck Eggs has been decreased to 13.
2013-07-05 19:06 - Order created through website.
2013-07-05 19:06 - PayPal IPN reported a payment of 7.50 USD.

If anyone knows anything about why this is happening, please let me know, and i'll post anything I find as I try to solve this.

john2k5’s picture

Version: 7.x-3.4 » 6.x-2.0

I am having the same issue but it does not always happen. Under Admin Comments, when the site returns BOTH posts saying "Order created through website" as well as "PayPal IPN reported a payment of ****" , the stock status is deducted twice. When the order does not post "Order created through website" and only posts "PayPal IPN reported a payment of ****" it works fine and does not deduct twice.

What triggers it to display "Order created through website." only sometimes?