Please enable JavaScript.
Coggle requires JavaScript to display documents.
Validate referral link from loan origination journey and Rakan onboarding…
Validate referral link from loan origination journey and Rakan onboarding journey
.
As the Kongsi Klub Product Manger
I want the referral link to be validated before they are redirected to the product page
So that the controls can be implemented and avoid multiple usage of the links.
Acceptance Criteria
From the loan origination journey, after completing the step 1 LMS will use the KK1.0 service to validate the referral ID and to pass the customer details.
From the Rakan onboarding journey, after completing the first step of entering the full details the system should validate the referral link.
In this initial point the system should validate the link against the controls set.
Below validations should be done:
Validity of referral ID
The validity of a link should be set to 7 days. Example: if the link was generated on 10th March at 8:45:13 then the link should expire on 16th March 23:59:59.
Used: Has this link been used or not
The customer details are saved against the referral ID to track an ongoing application. If this referral ID already has customer details filled, that means another user has started an application for that link already. An error should be passed in this case.
If the customer details are empty it means a new application is being created for this referral ID. This now creates a mapping to the Rakan, product and customer.
Validity: Has the referral link expired or still valid
.
Below validations should be carried out for a referral validity service by the product:
Existing referral ID
Referral ID has an ongoing application (Has customer details saved already)
Referral link has not expired or already expired.
Upon successful validation, the feedback should be sent with the appropriate message.
If there is an error, an appropriate error code and message should be passed to the product application.
Sorry, referral link has expired
(M1)
EN: Sorry, this referral link has expired. Kindly request for a new link to proceed with your application.
BM: Maaf, pautan ini telah tamat tempoh. Sila dapatkan pautan baharu untuk teruskan permohonan anda.
Sorry, this is an invalid request
(When the referral link is not valid)
(M2)
EN: Sorry, this is an invalid referral link. Kindly request for a new link to proceed with your application.
BM: Maaf, pautan ini tidak sah. Sila dapatkan pautan baharu untuk teruskan permohonan anda.
The product app will pass customer details such as customer name, email and mobile number. These details should be saved in order to track the application.