5 replies [Last post]
bloggybusiness's picture
Offline
Joined: 11/08/2007
Juice: 23
Was this information Helpful?

uc_stock is working fine with inventory to follow stock (tested OK with Check/Other).

But stock is not updated when payed with Paypal: which concern 95% of my orders Sad

I use Beta 2: do you believe this is corrected with Beta 4?

Thank you for your help.

Alexandre

frost's picture
Offline
Joined: 07/23/2008
Juice: 134
was this fixed?

i've just set up a sandbox with drupal 5.10 and ubercart 1.4. stock levels update without paypal, but when i set up paypal then stock levels no longer update

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: was this fixed?

My hunch is that the proper order statuses aren't being hit. I'd review the order status you're using to decrement stock and make sure your orders from PayPal are passing through that status when they get processed.

frost's picture
Offline
Joined: 07/23/2008
Juice: 134
weird

i kept whatever defaults are set OOTB for workflow-ng rules and paypal.

one strange behaviour which may or may not be relevent:

workflow-ng shows the "Decrement stock upon order submission" rule in the INACTIVE list.
however, when i edit the rule, i can see that the ACTIVE tickbox is TICKED. probably just a display issue with workflow-ng? if i untick the "enable rule" tickbox, submit and then edit again and retick it and submit, the rule then moves to the top ACTIVE list where it should've been all along.

I'm using workflow-ng 5.x-2.1.

frost's picture
Offline
Joined: 07/23/2008
Juice: 134
further tests

my bad. i was completing the order by adding a payment entry to the order manually and then cycling the order through ALL available statuses with no luck. i thought this was equivalent to actually paying on paypal. i just did a REAL payment on paypal, and the stock level DID decrement correctly.

so just a question now: is there a way to simulate a real payment so that all the relevent workflow rules are triggered correctly?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: further tests

Hmm... I don't have a process easily on hand, but my recommendation would be to simply look at the default configurations, see what the conditions on them are, and then perform actions that will activate the triggers with the right conditions. Sorry if that's a little vague... it's just not a question we've fielded before. Laughing out loud