The supermarket will bill people after they leave the store as part of a trial using new technology.