Sign Receipt request + error handling changes
merge with ruslan dev
merge