• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

When to create an order?

 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I want to create an order when the customer/travel agent has confirmed the itinerary. What do others think about when an order should actually be created (prepayment or immediately before payment (for example in the same transaction)) ?

I have read in other posts that order creation is tied to seat reservation. If unpaid itineraries are persisted, and the payment period has elapsed, does the order get cancelled and the seat released from its reservation?

Thank you in advance.

-Saha
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Order as per my understanding has two parts in this business process. One is -prepayment reservation (e.g most of the internation flight seats can be reserved for a paeriod of 72 hrs before payment) and then there is actual booking once payment is made. Unless I am missing something conceptually, i would believe that we would need to issue order based on our individual assumptions. If we choose to assume that we will not let users reserve seats without actual payment being made then there will be one complete order as soon as user prepares itenary and pays for it (all together)

However if you choose to reserve seats for x amount of time, and then make payment to ocnfirm it, you would need some sort of temp order at reservation point and confirm it once payment is made. You would also need to clean up the expired bookings for which payment has not been.

So it depends how much fun you want to have in this assignment..:-))))

Thanks
 
Saha Kumar
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello s khosa,

Thank you for your reply. I agree with you and have written my design as such.

-Saha
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic