fixing redirect on credit card error