error reporting
redirect to url if the payment fails