adds error catching for stripe payments