checked result value and result code for successful payment