New Hampshire’s Senate has unanimously passed a bill that prohibits other states from demanding that online retailers in the Granite State collect sales taxes.

The bill was the result of a U.S. Supreme Court ruling last year that said states can require online retailers to collect sales tax on purchases in states where they don’t have a physical presence. 

The bill prohibits states from imposing taxes on sellers in New Hampshire, which has no sales tax, unless they register with and provide notice to the attorney general’s office.

The legislation also prohibits sellers in New Hampshire from providing private customer information to outside taxing authorities for determining liability to collect sales taxes, unless the seller has provided a written notice of the request to the attorney general’s office.