Subject: [JIRA] (REL-164968) My credit Isn't reflecting
From: "Himanshubhusan Rath (Jira)" <[email-masked]>
To: [email-masked]
Date: Mon, 13 Feb 2023 20:51:03 +0000

Himanshubhusan Rath *added 1 new comment*. REL-System Reliability Engineering - Landmark/REL-164968 My credit Isn't reflecting 

Himanshubhusan Rath *added 1 new comment*.

REL-System Reliability Engineering - Landmark ( https://landmark.atlassian.net/browse/REL?atlOrigin=eyJpIjoiYjg4MjNjYzMyZTk2NDRiZTllY2VjMTBkNDY5YWQxOTAiLCJwIjoiaiJ9 )

/

REL-164968 ( https://landmark.atlassian.net/browse/REL-164968?atlOrigin=eyJpIjoiYjg4MjNjYzMyZTk2NDRiZTllY2VjMTBkNDY5YWQxOTAiLCJwIjoiaiJ9 )

My credit Isn't reflecting ( https://landmark.atlassian.net/browse/REL-164968?atlOrigin=eyJpIjoiYjg4MjNjYzMyZTk2NDRiZTllY2VjMTBkNDY5YWQxOTAiLCJwIjoiaiJ9 )
Himanshubhusan Rath 12:48 AM GST

Hi Team,

PFB further updates on the issue.

* 

This issue is not exactly related to double MC refunds rather it looks like the DEBIT transactions has actually not deducted the MC balance at some point.

* 

There is not a single CREDIT transaction which can be considered as duplicate/extra credit in his wallet during the period of observation whereas multiple DEBITs can be seen in his wallet during this period

* 

Though this issue is not reproducible in the application right now however for the customer this has occurred multiple times between 21st Dec, 2022 and 2nd Feb, 2023. He has tried placing orders followed by cancellation and returns.

* 

It looks like the customer has observed this for a discrepancy during the order journey and then he has been trying to place orders and cancel again and again with an attempt to get more amount than what he has spent.

* 

Between Feb-3, 2023 and Feb-10, 2023, he has placed 50+ orders and has cancelled almost all of those and returned a few as well but his mycredit wallet has not increased a bit because of this issue. [ This scenario is not reproducible by him as well ]

* 

Now, his my-credit balance is zero(0).

* 

For now, we have blocked the customer as his behavior does not seem genuine.

Probable Root Cause:

* 

Currently during DEBIT, we do the following:

* 

Step-1: Try to deduct amount from individual funds (CASH / REFERRAL / PROMO).

* 

Step-2: Create a DEBIT transaction with the intended amount in the wallet level.

* 

Step-3 : Update the last balance in the wallet.

* 

Ideally we should execute step 2 & 3 if and only if in Step-1, any one of the funds are used for deduction

* 

But currently, Step-2 & 3 are executed even if no fund deduction has happened in Step-1 which is causing discrepancy in the MC balance.

* 

This solution looks promising in safeguarding the MC balance.

Apart from this, no other cause is identified.

cc @Haseeb. N @Prince Raj Anand @Savitha.Keerthi

View issue ( https://landmark.atlassian.net/browse/REL-164968?atlOrigin=eyJpIjoiYjg4MjNjYzMyZTk2NDRiZTllY2VjMTBkNDY5YWQxOTAiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ).

Manage notifications ( https://landmark.atlassian.net/secure/ViewPersonalSettings.jspa#emailpreferences ) • Give feedback ( https://surveys.atlassian.com/jfe/form/SV_9X3zi1X4q1gKsqF ) • Privacy policy ( https://www.atlassian.com/legal/privacy-policy )