How do I manually fail a booking that we don't want to keep retrying for 90 minutes


110
views
0
10 months ago by

1 Answer


0
10 months ago by

Locate the booking in the pbPersistence table

Update bookingDatesItem to add the following attribute (with the correct formatted date) set to now

"failedConfirmationDateTime" : "2017-02-06T14:42:45.563+0000"

Then save the record

Then publish the following event into the travel-event SQS queue (with the bookingId in question and the principal set as the bookerId of the booking) - this will update CloudSearch

{"Subject":"travel.BookingUpdatedEvent","Message":"{\"bookingId\":\"100002806\",\"principal\":\"84a3351c-5899-41ee-9e00-be51f3dd68f0\"}"}

Done

Please login to add an answer/comment or follow this question.

Similar posts:
Search »
  • Nothing matches yet.