Shopping online is convenient and easy, until one of your packages goes missing. Then you might have to deal with reporting the issue, waiting for a replacement or even worse — dealing with a loss that the company won’t replace.

That’s what happened to one man in Texas, who says his delivery worth more than $800 never arrived, and getting his money back wasn’t easy.

Thanks to Jeff Bezos, you can now become a landlord for as little as $100 — and no, you don't have to deal with tenants or fix freezers. Here's how

This 20-year-old lotto winner refused $1M in cash and chose $1,000/week for life. Now she’s getting slammed for it. Which option would you pick?

Dave Ramsey warns nearly 50% of Americans are making 1 big Social Security mistake — here’s what it is and the simple steps to fix it ASAP

As NBC 5 Dallas Fort-Worth reports, Abbas Poonawala said he ordered a laptop and some grocery items from Costco’s website, choosing same-day delivery to his home in Irving (1). Poonawala told NBC 5 that he was home all day, waiting for the delivery.

His receipt said that Costco’s same-day delivery was “powered by Instacart,” but Poonawala said he didn’t have an Instacart account — he’s a Costco member and paid for the items on Costco’s website.

Poonawala received text updates from the Instacart shopper saying the order was on the way, then received a text saying the delivery had been completed. But Poonawala never received the delivery.

Poonawala checked the footage from his front-porch camera, while also checking in with his neighbors to see if they noticed a delivery. Meanwhile, he never received a photo of the delivered package, and since he ordered a high-value item, he had been notified that he would have to sign for the package upon delivery.

When he tried messaging the Instacart shopper, he got an automated message saying the only way to communicate was through the Instacart app. He contacted the company and after about a week, Instacart denied his request for a refund.

“You've admitted that you don't have any delivery information. So, what more proof can I provide?” said Poonawala. “How do I prove to you that the person never delivered it?”

Poonawala told NBC 5 he later filed a police report. He also revealed that Costco called him and offered a full refund.

If an online order doesn’t arrive, first check that the address on the order is correct. You can also check around your property to see if it was dropped anywhere, and ask neighbors if they happened to mistakenly receive your delivery.

If that fails, Monica Horton from the Better Business Bureau told NBC 5 that the first contact you should reach out to is the seller of the item — in particular, the company that actually charged you for the order. Horton said that if there are multiple consumer-facing companies involved in the purchase, such as Poonawala’s case with Costco and Instacart, it’s the seller you should reach out to.

“The seller and the delivery company have that relationship. So, contact the seller,” said Horton. “They are the ones that you ordered from, that you made the payment to. That's going to be your first contact.”

Read More: 5 essential money moves to make once you’ve saved $50,000

Read More: Young millionaires are ditching stocks. Why older Americans should take note

Horton also recommends paying for online orders with a credit card, so that if the seller refuses to refund your purchase, you can take the step of disputing the charge, and the credit card company can investigate and demand proof of delivery from the seller.

According to shipping protection platform ShipAid, while the seller is typically responsible for making sure a package reaches a customer, once a shipping carrier confirms delivery, responsibility typically shifts to the buyer (2).

Section 2-509 of the Uniform Commercial Code says that when a contract authorizes a seller to ship goods by carrier, and they are required to be shipped to a particular destination, “the risk of loss passes to the buyer when the goods are there duly so tendered as to enable the buyer to take delivery,” according to Cornell Law School’s Legal Information Institute (3).

Retailers will likely have terms of service that outline their policies on lost or stolen packages, so if you’re concerned about a high-value delivery, check the terms of service before you order (2). You may be able to add insurance through the seller or shipping carrier, but check whether the insurance will cover a package that’s stolen after it has been marked as delivered.

If a retailer denies your claim, you can file a claim directly with the shipping carrier. If this fails, pursue disputing the charge with your credit card company.

There are steps you can take to avoid mishaps when it comes to package deliveries.

ShipAid recommends that you schedule deliveries for when you’ll be at home. You can also ship packages with a carrier that offers drop-off to secure locations such as lockers or storefronts. If these options don’t work for you, you could also consider installing a package locker at your home, or security cameras.

And if you’re ordering something that’s expensive and you’re worried about whether it will be replaced if it’s stolen, select a delivery method that requires a signature on delivery.

Taxes are going to change for retirees under Trump’s ‘big beautiful bill’ — here are 4 reasons you can’t afford to waste time

Robert Kiyosaki begs investors not to miss this ‘explosion’ — says this 1 asset will surge 400% in a year

Vanguard reveals what could be coming for U.S. stocks, and it’s raising alarm bells for retirees. Here’s why and how to protect yourself

Turning 50 with $0 saved for retirement? Most people don’t realize they’re actually just entering their prime earning decade. Here are 6 ways to catch up fast

Join 250,000+ readers and get Moneywise’s best stories and exclusive interviews first — clear insights curated and delivered weekly. Subscribe now.

We rely only on vetted sources and credible third-party reporting. For details, see our editorial ethics and guidelines.

NBC 5 Dallas Fort-Worth (1); ShipAid (2); Cornell Law School (3).

This article provides information only and should not be construed as advice. It is provided without warranty of any kind.