consolidated stripe error into client folder, made separate types file for client