solution to store credit