Preventing duplicate  payment stuck at checkout state for successful paypal payments