Subject: [JIRA] (REL-169238) payment issue 9420042048
From: "Himanshubhusan Rath (Jira)" <[email-masked]>
To: [email-masked]
Date: Fri, 21 Apr 2023 10:12:12 +0000

Himanshubhusan Rath *added 2 new comments*. REL-System Reliability Engineering - Landmark/REL-169238 payment issue 9420042048 

Himanshubhusan Rath *added 2 new comments*.

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

/

REL-169238 ( https://landmark.atlassian.net/browse/REL-169238?atlOrigin=eyJpIjoiNTRlNzhlZThjNTYwNGQ1MWEzNTE5NmFjZTU0ZGVjN2IiLCJwIjoiaiJ9 )

payment issue 9420042048 ( https://landmark.atlassian.net/browse/REL-169238?atlOrigin=eyJpIjoiNTRlNzhlZThjNTYwNGQ1MWEzNTE5NmFjZTU0ZGVjN2IiLCJwIjoiaiJ9 )
Himanshubhusan Rath 2:07 PM GST

Hi @Monika Garg / @MD Bahashwan ,

PFB the analysis from DEV side.

* 

This order was placed at 4:05 PM on 16-Mar-2023.

* 

By the time the customer selected his wallet for payment (around 4:01 PM), he was a Shukran linked customer. So, his Shukran Pay wallet was selected ( cashback of AED 102.26)

* 

But by the time the order was actually placed, the customer was delinked and again linked at 4:06 PM.

* 

During order placement, when system tried to redeem the wallet, it could not connect to Shukran Pay wallet as the customer was delinked. This is the reason, we don’t see the wallet-redeem API call for wallet against order. Because of this, the system had tried to look up in Hybris side wallet (My-credit).

* 

There is no my-credit wallet available for the customer at Hybris.

* 

Hence, the wallet could actually not be redeemed for the order.

NOTES:

* 

This is a corner case scenario arisen because of a known issue which is already fixed during end of March, 2023.

* 

As this order was placed before this issue was fixed, so it got affected.

* 

At that time of placing order, there was only cash-back amount (which the user tried to redeem) present in user’s Shukran Pay Wallet which eventually got expired on the very next day (17-Mar-2023). This is the reason, customer sees zero amount in his wallet now.

-----------
Resolution:
-----------

* 

In my view, we should credit the cash-back of AED 102.26 to the customer’s Shukran Pay wallet (1800000403955291) as the customer could not redeem these amount because of system’s issue.

* 

However, the correct stakeholder can take a call here.

cc @Rashmi Nalwaya @Krishna A.B. @Prince Raj Anand @Haseeb. N @Savitha.Keerthi @Uday.Cheekuru @Chiranjit.Saha @Gowtham Cheepati

Himanshubhusan Rath 2:09 PM GST

Attaching the logs of wallet balance check and link-delink :

WALLET BALANCE CHECK:
2023/03/16 16:01:35.251 | URI: https://api.landmarkgroup.com/v2/digital-wallet/v1/promocash/wallet-balance/1800000403955291
2023/03/16 16:01:35.251 | Method: POST
2023/03/16 16:01:35.251 | Request body: {"business_date":"2023-03-16","language":"ARABIC","no_of_days":90,"base_currency":"AED","type":"ALL","redeemable_concept":"6"}
2023/03/16 16:01:35.251 | Request id: 436186

2023/03/16 16:01:36.252 | Status code: 200
2023/03/16 16:01:36.252 | Status text: OK
2023/03/16 16:01:36.252 | Response for request id: 436186
2023/03/16 16:01:36.252 | Response body: {"cashback":[{"cashback_id":"08a20261c04e4f459866f","cashback_balance":102.26,"currency":"AED","version":"1","concept":"99","references":[{"cashback_reference_id":"114863d23ee64a7b9434f","expiration_date":"2023-03-16","amount":37.50,"redeemable_concept_code":"99"},{"cashback_reference_id":"12e1b347e97144b297974","expiration_date":"2023-03-16","amount":32.44,"redeemable_concept_code":"99"},{"cashback_reference_id":"06b7dd586dc04699841b0","expiration_date":"2023-03-16","amount":32.32,"redeemable_concept_code":"99"}]}],"digital_wallet":{"wallet_id":"11168888809052269D62CC17","wallet_balance":0.00,"currency":"AED","version":11,"references":[]},"balance_within":102.26,"total_balance":102.26,"base_currency":"AED"}

LINKED AGAIN AFTER DELINK
2023/03/16 16:06:21.497 | URI: https://api.shukran.com/api/v2/hybris/customer/change-link-status
2023/03/16 16:06:21.497 | Method: POST
2023/03/16 16:06:21.497 | Request body: {"card_no":"1800000403955291","phone_no":null,"link_flag":"Y","from_app":0}
2023/03/16 16:06:21.497 | Request id: 436805

2023/03/16 16:06:21.698 | Status code: 200
2023/03/16 16:06:21.698 | Status text: OK
2023/03/16 16:06:21.698 | Response for request id: 436805
2023/03/16 16:06:21.698 | Response body: {"data":{"message":"You have successfully linked the account.","card_no":"1800000403955291"}}

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

You have free access to Jira Work Management, our project management tool for marketing, operations, and other business teams. Create a project ( https://landmark.atlassian.net/jira/create-project?templateCategoryKey=work-management-category&utm_source=email-footer )

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 )