News:

Support the VirtueMart project and become a member

Main Menu

Product Out of Stock when I cancel payment

Started by idor, January 15, 2021, 12:04:11 PM

Previous topic - Next topic

idor

Hi
I have an online shop VM VirtueMart 3.8.6 10373 and Joomla 3.9.24

The Payment methods used: Cash on delivery, Bank account and Credit cards.
The plugin used for credit cards, is for connecting with the bank´s website (Win Bank Gateway from Web-Expert).

I use Stock Handling and most of the products have 1 item. I have selected not to display the product if there isnt in the stock.

The problem is when the user select to pay with Credit Card and goes to the bank enviroment if he cancel the payment the product gets out of stock in backend / Products Status / Booked, ordered is 1 and the product is not shown in the cart - as it is "out of stock".
I get a canceled order, but the product doesn´t return to the stock.

I don´t know if it is a VM bug or plugin´s  bug? or maybe bank´s issue???

GJC Web Design

assume the plugin .. is there any setting for status of cancelled in the plugin?
if u manually cancel any order in the admin is the stock returned?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

idor


GJC Web Design

so must be a problem with the payment plugin
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jörgen

If the order is really cancelled, then there is some problem with the payment plugin. But if the order just gets status pending and is not really cancelled, then this is normal behaviour.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

idor

#5
Hi,

There is a configuration in the plugin to change the order status if the transaction is canceled "Select an order status for cancellation in Winbank".
Now is "Canceled" and the product doesn´t change status Booked/Ordered maintains to 0.
So now the behavior looks better.
If I change it to "Pending" the product status changes to Booked/ordered =1 and the product is not shown anymore in the frontend category page.
The problem now is that in both cases the product is deleted from the cart page, if the original stock is 1. I will contact back with the developer of the plugin..

Thank you anyway!