mollie / PrestaShop

iDEAL, Creditcard, Bancontact, SOFORT, Bank transfer, PayPal & paysafecard for Prestashop
http://www.mollie.com
BSD 2-Clause "Simplified" License
69 stars 44 forks source link

PIPRES-319: Lock webhook controller #840

Closed mandan2 closed 1 year ago

mandan2 commented 1 year ago

Locking mechanism for webhook controller.

Additionally improved a bit webhook error handle logic. Later on all processing should be moved to separate service out of controller.

Release is not called as destruct method will be called to release key. Tried to interrupt program to check what happens without release execution, but everything works fine in the next execution.

image

mandan2 commented 1 year ago

Using file lock mechanism, currently not implementing this one