cart icon indicating copy to clipboard operation
cart copied to clipboard

[BUGFIX] Allow to process stock after payment

Open swisschocolate opened this issue 10 months ago • 1 comments

Configurable switch of stockEvent and PaymentEvent. Resolves: #571

swisschocolate avatar Feb 27 '25 20:02 swisschocolate

As discussed in #571 and #572 the processing of stock before the payment leads erroneous reduction in stock level if payment in external providers (as paypal or stripe) fails or is aborted. With this PR it is configurable to reorder the events (stock handling after payment). So if payment fails or is aborted, the stock remains untouched. Without extra configuration in setup.typoscript, the behaviour remains as is, so it's a non breaking change.

swisschocolate avatar Feb 27 '25 20:02 swisschocolate