dealt with stripe error cases