State to tax Amazon purchases