A woman in the US state of Kentucky found herself in a sticky mess when she found stacks of boxes containing lollipops on her front doorstep.

The surprise delivery was ordered by her young son while he played on her phone.

Holly LaFavers says she tried stopping eight-year-old Liam’s Amazon order for about 70,000 Dum-Dum lollipops before the treats arrived, but it was too late.

Amazon had already delivered 22 cases to her home.

“He told me that he wanted to have a carnival and he was ordering the Dum-Dums as prizes for his carnival,” LaFavers said.

The surprise got worse after a quick check of her bank account. She owed about $US4000 ($A6200) for the order. LaFavers said she was changing some settings on her phone to make sure there is never another surprise delivery at home.