How to set a Flag when paypal payment failed

I would like to set a flag in DB when a paypal payment failed.
Is there an Observer I can observe in order to achieve this ?