call credit with amount and make sure we update the order after cancel.

Fixes #4504
Closes #5005