Stock level decreases 3 times for one purchase

Posts: 57
Joined: 10/07/2007

Hi All,
My last hurdle before going live.

I set my products to 5.
I use UC_Stockstub (which seems to work nice), but I have noticed:

Date User Comment
02/09/2008
4:37:26 PM - The stock level for 12345 has been decreased to 4.
02/09/2008
4:37:26 PM - The stock level for 12345 has been decreased to 3.
02/09/2008
4:37:27 PM - PayPal IPN reported a payment of 1.00 AUD.
02/09/2008
4:37:36 PM - The stock level for 12345 has been decreased to 2.
02/09/2008
4:37:36 PM - Order created through website.

Now, I did go to my workflow config, and see the following:

My main ruule is:
1) Update order status on full payment | A payment gets entered for an order | uc_payment

2) Decrement stock upon order submission | Customer completes checkout | uc_stock
(Even tho this was set as inactive, it had the "run this rule" checbox active)

3) There was one more, that I deleted. Even though 2 were inactive, I am trying to find out whether these would have been the culprit?

My final rule is now:

Check the order balance - Balance is less than or equal to $0.00.
(negate is NOT checked)

Actions
action Update the order status - To Payment receieved
action Decrement stock of products on the order with tracking activated.
action Send a mail to an arbitrary mail address

can anyone enlighten me to as this is the best way to setup?

Seriously, stock control and management is one of the key elements.

Damn, I am so close to launching this puppy.

Thanks for any guidance.

Ryan

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I've seen some other threads lately dealing with this issue with solutions... did you ever figure yours out?