$status = 'failed';
// Check if account was found
- if ((isUserDataValid()) && (getUserData('status') == 'CONFIRMED')) {
+ if ((isValidUserData()) && (getUserData('status') == 'CONFIRMED')) {
/*
* Multiply configured values with 100000 and divide with 100000 so we can also handle small values
* If we need more number behind the decimal dot then we just need to increase all these three