Open ashendes opened 1 year ago
This issue occurs as a result of following reasons.
Upon registration with Kfone, users are not automatically granted a subscription to a plan, hence no usage data is provided as well.
Therefore, /getUsageData
API call gives an error.
To resolve this issue, in the UI level there is a fallback data object to populate usage data and subscription details. MyPlan.jsx#L92
That's the reason Kfone Lite
is displayed initially.
This gets changed once /createUsageData
API is called as it allocates a subscription plan and usage data for the user.
Therefore, the subscription plan will be displayed in the UI accordingly after that.
Description: In the Customer Self Care Portal, the user's mobile plan should only get updated if they decide to switch to a different plan manually. But currently, the mobile plan gets auto updated depending on the Usage data.
Steps to reproduce: