Restore purchase failed

Every once in a while, it reminds me that I need to purchase a membership. I have already subscribed, but clicking the restore purchase button doesn't work. The button just shakes and I can't confirm anything. I have to reinstall it every time to restore the purchase.