condition added before finshing transaction

condition added before finshing transaction to conform transaction is
not in purchasing state.