On credit card fails, process again


see this scenario:

a customer choose to pay by credit card. It’s connected to gateway but he fails to insert all data and gateway send him back to cs-cart.

Customer see cs-cart order with FAIL status.

I would like to know if is there a way, for customer, to retry to connect again to gateway after an error (re-send order).

Which code should I use to add this to customer’s order status page, please?