Giter Site home page Giter Site logo

Kotak - compliance check about v1.1.0-logs HOT 13 OPEN

BLR-0118 avatar BLR-0118 commented on September 4, 2024
Kotak - compliance check

from v1.1.0-logs.

Comments (13)

BLR-0118 avatar BLR-0118 commented on September 4, 2024

@taukilali

from v1.1.0-logs.

sandeepshahi avatar sandeepshahi commented on September 4, 2024

Flow 1

/init

  • invalid attributes ("tracking", "@ondc/org/category") in /fulfillments

/confirm

  • billing timestamps (created_at and updated_at) can't change (should remain same as in /init)
  • invalid attributes ( "@ondc/org/withholding_amount", "@ondc/org/return_window", "@ondc/org/settlement_basis","@ondc/org/settlement_window") in /payment
  • payment/transaction_id should be different from context/transaction_id
  • order/created_at timestamp should match context/timestamp

/status

  • missing /on_status response for this status call @ 2023-05-16T12:30:06.794Z
  • missing order delivery status (/on_status) call

/update

  • /message/order/state must be "Completed" (instead of "COMPLETED")
  • invalid payment object in part return case
  • refund flow is missing (should be called in separate /update for refund triggering states)
  • invalid /on_update response (no return status for the returned item), these scenarios should be handled by the buyer app.

Flow 2

  • Non-serviceable flow is missing (should be handled by buyer app)
  • seller unsolicited cancellation is missing

/init

  • billing timestamps (created_at, updated_at) should match context.timestamp

/confirm

  • /message/order/payment/@ondc/org/buyer_app_finder_fee_type must be "percent" (in lower case)

/cancel

  • invalid cancellation reason id for buyer side cancellation refer this

Flow 3

  • seller rejecting the return request flow is missing

Flow 4, 5

  • similar issues as above
  • txn id should not change for select calls

@taukilali

from v1.1.0-logs.

taukilali avatar taukilali commented on September 4, 2024

@BLR-0118 @bluecypher

All fixed except these two below. I need discussion on these points. I will raise PR now for other fixes.

  • refund flow is missing (should be called in separate /update for refund triggering states)
  • invalid /on_update response (no return status for the returned item), these scenarios should be handled by the buyer app.-

from v1.1.0-logs.

taukilali avatar taukilali commented on September 4, 2024

all done here @BLR-0118

from v1.1.0-logs.

sandeepshahi avatar sandeepshahi commented on September 4, 2024

Flow 1, 4

  • refund flow is missing

Flow 2

  • Non-serviceable flow is missing (should be handled by buyer app)
  • seller unsolicited cancellation is missing

Flow 5

/cancel

@taukilali

from v1.1.0-logs.

taukilali avatar taukilali commented on September 4, 2024

@bluecypher Refund flow is already there. can you look into it here

seller unsolicited cancellation is missing
Api is exposed and none of the seller provided the on call.

use one of the non-deprecated
Please share the reason code . i got below codes
001,003,004,006

from v1.1.0-logs.

sandeepshahi avatar sandeepshahi commented on September 4, 2024

/init

  • door is an optional attribute in /billing/ and /fulfillments/end/location/address/
  • provider_id is an optional attribute in /fulfillments

Flow 2

  • Why is a new /search initiated when location is changed? (/select should be called instead since item is already in the cart)
  • unsolicited /on_cancel uses buyer side cancellation_reason_id. How is it handled at buyer app's end?

Flow 4

  • refund flow is missing

Flow 5

/cancel

  • "004" is a deprecated cancellation_reason_id (use "006" instead)

@taukilali

from v1.1.0-logs.

taukilali avatar taukilali commented on September 4, 2024

@bluecypher @BLR-0118

/cancel

"004" is a deprecated cancellation_reason_id (use "006" instead) . We are sending 006 only. Closely see the request.

refund flow is missing

We have shared this update and unsolicited log in PR and in call you have seen that. Can you share what is missing in it?
refer here
https://github.com/ONDC-Official/v1.1.0-logs/pull/242/files#diff-1c973b5aa89eb8eeda58bb17b8e739d4afabddae84ce1e7f52fe4c9c04c40824

/init

door is an optional attribute in /billing/ and /fulfillments/end/location/address/ ,
we are taking is as an optional only
provider_id is an optional attribute in /fulfillments
we are taking is as an optional only

from v1.1.0-logs.

BLR-0118 avatar BLR-0118 commented on September 4, 2024

Flow 1

  1. /update_refund: API call & refund amount calculation are wrong;
  2. curious why message_id is in one format until /init and then has a different format?

After fixing the above, request QC testing to verify the following:

  1. serviceability
  2. store timings & holidays
  3. handling of out-of-stock items
  4. processing of status updates
  5. processing of cancel from seller
  6. processing of refunds for return, cancel
    @jainneerajnj @bansalmeghaa @bluecypher

from v1.1.0-logs.

bansalmeghaa avatar bansalmeghaa commented on September 4, 2024

from v1.1.0-logs.

taukilali avatar taukilali commented on September 4, 2024

Flow 1
/update_refund: API call & refund amount calculation are wrong;
Fixed
curious why message_id is in one format until /init and then has a different format?

Fixed
@BLR-0118 @bluecypher @bansalmeghaa

from v1.1.0-logs.

BLR-0118 avatar BLR-0118 commented on September 4, 2024

Rechecked logs.
Flow 1: /on_update_liquidated quote is wrong. Item liquidated should be part of the quote with qty as 0. Buyer app should respond with NACK for this.

from v1.1.0-logs.

BLR-0118 avatar BLR-0118 commented on September 4, 2024

@taukilali

from v1.1.0-logs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.