Order should be paid when store owe's customer money

Fixes #3318
Fixes #3320