tpv response 0 fix

parent 19688b42
Showing with 4 additions and 0 deletions
......@@ -143,6 +143,10 @@ module.exports = {
}
}
if (ownParams.Ds_Response[0] != '0'){
throw new Error("Bad response");
}
// Everything is correct: generate serial number and activate it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment