ONDC-Official / verification-logs

ONDC Pre-production issue & discussion board
22 stars 309 forks source link

EMT (BAP) | OYO (BPP) - [TRV13] - compliance checks #1746

Open sandeepshahi opened 1 month ago

sandeepshahi commented 1 month ago

BAP - EMT | BPP - OYO

/search

/on_search

/select

/on_select

/init and /on_init

/confirm

/on_confirm

/cancel

/on_cancel

/on_status

@trivendra-singh @naimishemt

trivendra-singh commented 3 days ago

I could find only these enum values for order status - ACTIVE, COMPLETE, CANCELLED, COMPLETED, SOFT_CANCEL, CANCELLATION_INITIATED, CANCELLATION_REJECTED.

As discussed in an earlier call, bookings take about 2 minutes to get processed after landing into our system, but due to the TTL constraints, Rishabh suggested we could return the status as something like BOOKING_ACCEPTED for the on_confirm call when we receive the booking and then when we can show ACTIVE or CONFIRMED for the on_status call. I don't see any such ENUMS. Please suggest what should be done here. @sandeepshahi

These are enum values we are currently using - CONFIRMED, CANCELLED, ACCEPTED, MODIFIED, MODIFICATION_ACCEPTED, CANCELLATION_ACCEPTED Also, what's the difference between COMPLETE and COMPLETED??

And, please share the enum values for cancellation_reason_id, couldn't find it in the docs.