def get_formatted_amount(order_amount):
    """
    Returns the decimal order_amount in the format expected by RedSys.
    Example: 20,00 -> 2000
    """
    return int(round(float(order_amount) * 100))