Unable to install/update apps from play store

For the past couple of days I am unable to install or update any app from play store. It shows pending and the loading goes on for sometime and then it doesn't install. I have tried to clear cache data from all possible places like download manager play store play services but nothing has changed.Does anyone have a solution to this?