Project

General

Profile

CR #3400

Bug #3316: Tukxi Server Rider:- Design New Architecture using node

verifyRiderOTP restructuring using node

Added by Anupama P over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
10/07/2024
Due date:
10/11/2024 (about 18 months late)
% Done:

0%

Estimated time:
Milestone:
Sprint 25 Tukxi Ride 2024 Nov 01 to Nov 30
Branch name:

Description

parameters["type"] = "verifyRiderOTP"
parameters["vPhone"] = phoneNumber
parameters["otp"] = otp
parameters["verification_id"] = verificationId
parameters["vDeviceType"] = Utils.deviceType
parameters["UserType"] = Utils.userType
parameters["vCurrency"] = generalFunctions.retrieveValue(Utils.DEFAULT_CURRENCY_VALUE)
parameters["vLang"] = generalFunctions.retrieveValue(Utils.LANGUAGE_CODE_KEY)


Files

verifyRiderLoginOtp (335 Bytes) verifyRiderLoginOtp Anandhu P Kumar, 02/07/2025 01:47 AM

Impact Analysis

The datatype of the response data changed.(in php all the response are in the type string, it changed to corresponding datatypes) The request parameters changed to form-data to raw JSON data.

#1

Updated by Anupama P over 1 year ago

  • Milestone deleted (Sprint 23 Tukxi Ride 2024 Sept 01 to Sept 30)
  • Milestone set to Sprint 24 Tukxi Ride 2024 Oct 01 to Oct 31
#2

Updated by Anandhu P Kumar over 1 year ago

  • Status changed from New to Resolved
  • Impact Analysis updated (diff)

Implemented verifyRiderOTP in tukxi node. Removed the configs and language data from the response.

URL- https://stageapi.tukxi.in/

parameters -

{
"vPhone": "9876543210",
"verification_id": "acc45bdd5d6ddd2e89d7f533ecad18ap",
"otp": "5687",
"vDeviceToken": "Android",
"vDeviceType": "{{GeneralDeviceType}}",
"UserType": "Passenger",
"vCurrency": "INR",
"vLang": "EN",
"vFirebaseDeviceToken": "vFirebaseDeviceToken"
}

#3

Updated by Anupama P over 1 year ago

  • Target version changed from 1.0.5 to 1.0.7
  • Milestone deleted (Sprint 24 Tukxi Ride 2024 Oct 01 to Oct 31)
  • Milestone set to Sprint 25 Tukxi Ride 2024 Nov 01 to Nov 30
#4

Updated by Anupama P over 1 year ago

  • Assignee set to Anandhu P Kumar
#5

Updated by Anupama P over 1 year ago

  • Due date set to 10/11/2024
  • Start date changed from 09/19/2024 to 10/07/2024
#6

Updated by Anupama P over 1 year ago

Ratings_From_Passenger is missing in user_Data

#7

Updated by Anupama P over 1 year ago

  • Status changed from Resolved to Reopened
#9

Updated by Anandhu P Kumar about 1 year ago

  • Status changed from Reopened to In Progress
#10

Updated by Anandhu P Kumar about 1 year ago

  • Status changed from In Progress to Resolved

added Ratings_From_Passenger in verifyRiderOTP

#11

Updated by Anupama P 11 months ago

  • Status changed from Resolved to Reopened

Payload
--------------

{
"vPhone": "8281449961",
"verification_id": "{{opt_verification_id}}",
"otp": "5335",
"vDeviceToken": "Android",
"vDeviceType": "{{GeneralDeviceType}}",
"UserType": "Passenger",
"vCurrency": "INR",
"vLang": "EN",
"vFirebaseDeviceToken": "{{vFirebaseDeviceToken}}"
}

Response
---------------

{
"status": "error",
"message": "Cannot read properties of undefined (reading 'vImage')",
"error": {
"code": 500,
"details": [
"TypeError: Cannot read properties of undefined (reading 'vImage')\n at getTripPriceDetails (file:///home/cops/tukxidocker/tukxi-node/shared-utils/utils/tripUtils/getTripPriceDetails.js:666:21)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getPassengerDetailInfo (file:///home/cops/tukxidocker/tukxi-node/shared-utils/utils/rider-utils/getPassengerDetailInfo.js:476:32)\n at async riderSignIn (file:///home/cops/tukxidocker/tukxi-node/shared-utils/utils/rider-utils/loginUtils.js:278:26)\n at async verifyRiderOTP (file:///home/cops/tukxidocker/tukxi-node/auth-service/controllers/authController.js:417:43)"
]
}
}

#12

Updated by Anandhu P Kumar 10 months ago

  • Status changed from Reopened to In Progress
#13

Updated by Anandhu P Kumar 10 months ago

Issue resolved

#14

Updated by Anandhu P Kumar 10 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF