Cancel the payment on Paypal to decrease stock numbers

Phoca Cart - complex e-commerce extension
User avatar
thethe
Phoca Enthusiast
Phoca Enthusiast
Posts: 60
Joined: 31 Oct 2019, 00:28

Cancel the payment on Paypal to decrease stock numbers

Post by thethe »

Hi Guys,

Wondering if there is a better to manage this.

Apparently, when a customer cancel an order on Paypal, it decrease the number or numbers on Stock of a product. I used to product variations in stock management. Wondering if there is better way to handle stock management?

Thanks
ML
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cancel the payment on Paypal to decrease stock numbers

Post by Jan »

Hi, this is very complicated to explain. In short. When the payment is cancelled on Payment Gateway, the order is still active in your shop and user can use other methods to pay it and to finish it. The order is still not cancelled on your system. So other users need to get right information about the stock when they order the products. E.g. so it will not happen, that two users order one the same product. :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply