I am a newbie to Virtuemart.I 've installed virtuemart 2.0.20 & i am testing the payments using paypal sandbox. In following scenarios I can't figure out why it happens so.
1. When I do a payment & return, it seems like not maintaining the stock well(that means when i confirm checkout & do the payment via paypal & return back to tha site ,although my cart is empty now, the stock remains unchanged ,when i checked in backend. ).
2. As I know ,when returning after a success payment 'pluginresponse' controller is called. But i couldn't find a place where the stock balance is set & status is updated.
Any help would be appreciated.
Check 2.0.22. Latest 2.0.22e (see Dev Portal at the top of the current page).
@Maxim Pishnyak - Does that mean the previous version of virtuemart hadn't this stock maintain facility & it is now in the latest version 2.0.22e ? Or It exists .but I've missed where it is happening .
Please explain a bit more......
Configuration/order statuses
Every status code can have an effect on the stock
Set the "stock handling" value to meet your requirements for each status code you have
Assuming user has successfully done payments(check out complete) using paypal payment method , how the product_in_stock field of corresponding product is updated .
Can anyone name the function called to perform this task please?
You could do a text search in VM files. It's simple.