Order#1004

I got an order from a client, shipped it, order delivered, payment shows as pending? can you explain it please