What happens if a transaction fails or gets declined?

In a transaction initiated by the cardholder (customer), we give them the opportunity to try again or use a different card. On recurring payments, we send them an automated email so they can retry at a different time or with ta different card by themselves.