paypal
paypal copied to clipboard
Module doesn't change statut with hook
Describe the bug and add screenshots
When a customer make an order by paying with Paypal, the module add the statut "awaiting PayPal payment" with the hook
hookActionOrderStatusPostUpdate
.
But when the module receive the information of the paypal's webhook, the statut "payment accepted" is not add by using this hook.
So if another module read this hook, it can't be able to know the new statut.
Expected behavior
The PayPal module need to change each statut by using the hook hookActionOrderStatusPostUpdate.
Steps to reproduce
- be able to read
hookActionOrderStatusPostUpdate
- Make an order and select Paypal as payment method
- See the first state "awaiting paypal payment"
- wait info of the webook
- you won't see the new statut ("error" or "accepted") via
hookActionOrderStatusPostUpdate
PrestaShop version(s) where the bug happened
1.7.5
PHP version(s) where the bug happened
7.2
Module version(s) where the bug happened
6.4.1 (addon version)