In order to make an Ola booking through your app, users need to have an Ola account which needs to be connected to their account on your platform. The flow of user login or user signup (in case they do not have an Ola account) is owned by Ola, and you need to open this section as a webview within your app using OAuth URL (Refer Link).
In order to make an Ola booking through your app, users need to have an Ola account which needs to be connected to their account on your platform. The flow of user login or user signup (in case they do not have an Ola account) is owned by Ola, and you need to open this section as a webview within your app using OAuth URL (Refer Link).
window.populateFields('autoread-userinfo', {
"name": "Good Boy", // Name of the user
"email": "xyz@gmail.com", // Email ID of the user
"phone_number": "7777777777", // 10-digit mobile number of the user
"dialing_code": "+91", // Country Code (should always be +91)
"app_metadata": { // Will be used for fraud checks
"device_id": "", // IMEI number of the user device
"ga_id": "", // Google Advertising ID of the user device
"android_id": "" // Android ID of the user device
}
});
window.populateFields('autoread-otp', {
"sender": "ix-olacab", // Sender of the SMS
"message": "6443 is your ola OTP to login. [Generated at 14:20:12 IST] Br0tQsjh4iC" // SMS content
});