Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unpaid itineraries must be saved ?

 
Marta De rossi
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before submitting the work I read again my work and I have a terrible doubt.

There's a sentence in the Prepare itinerary "Customer not logged" case which says that itineraries are saved before confirmation.

I will not say more because I don't want to discover too much of the assignment.

My question is: is it possible to argue that an Itinerary is saved WITHOUT actually assignment of the Seat ?

This has a big impact on the System because if seats are assigned ALSO for unpaid itineraries, it's compulsory to use Entity Beans because there are cuncurrency problems which can hardly be solved just with Session Beans.

What do you say to it ?
Thanks
Marta
 
Alok Sharma
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You dont need to save the itinerary into Database until it is paid.
Before call to pay itinerary, customer need to log in.

So the itinerary could be prepared and remain in session.When customer wants to pay then execute the log-in process and after that get the credit card/reward info from cutmoer.

If the payment is approved then book the seat,save the itinerary and show confirmation screen.

Keep the seat booking and payment in one transaction so that if seat got booked while taking payment info then payment should be reversed.
 
ManojKumar Unnikrishnan
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I guess you meant if seat is not booked then payment must be reversed.
But as someone had mentioned if someone takes a longer time to make a payment for the prepared itinerary he would lose his seat.
 
ManojKumar Unnikrishnan
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I guess you meant if seat is not booked then payment must be reversed.
But as someone had mentioned if someone takes a longer time to make a payment for the prepared itinerary he would lose his seat.
 
Karan Shah
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can't save unpaid itinerary until it must confirmed by payment & to make a payment customer have to logging.

regards,
Dharmesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic