US retail chain Wal-Mart has agreed to pay a US$1.4m penalty after an investigation by Californian authorities found evidence of price-scanning errors.