Discount fashion chain Primark has signed up to a Government code that commits it to paying its suppliers on time and without trying to change payment terms retrospectively.