If a payment is declined, the payment gateway will relay the message to the merchant's platform, which will then notify the customer. The customer can then choose to try a different payment method.