Description
While abandoning the payment from Paypal, the order is not cancelled, it remains in Pending Payment state until we have the OFFER_CLOSED processed, blocking the inventory. This PR aims to implement onError event being triggered for Paypal cancelation events.
Tested scenarios
Canceling or abondoning Paypal orders without completing them
E2E automated test case has been implemented on #135
Description While abandoning the payment from Paypal, the order is not cancelled, it remains in Pending Payment state until we have the OFFER_CLOSED processed, blocking the inventory. This PR aims to implement
onError
event being triggered for Paypal cancelation events.Tested scenarios
Fixes
2748