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


36
views
0
4 months ago by
add commentfollow this post modified 4 months ago by Craig Handley   • written 4 months ago by Craig Handley  

1 Answer


0
4 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

add comment written 4 months ago by Craig Handley  
Please log in to add an answer/comment or follow this question.

Share this question


Similar posts:
Search »