Bookmark Topic Watch Topic
  • New Topic

Big Smoke Cigar Shop Assignment - Check Out Requirement

 
Amit Harsola
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

One of the steps in the Check Out use case mentions "System authorizes credit card payment, send email confirmation and responds with a order number"

My understanding from the step is system performs these steps and they need not be in any order or need not be synchronous. Is my understanding correct?


Regards,
Amit
 
wolfgang unger
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi amit,
in my opinion they need to proceed in order.
If the payment process fails, there is no order and order number and no need to send an confirmation mail. an error message on the ui is enough..
I tried to design any process asynchrous if possible ( you know there are more in the checkout process, but I can't explain more in here) due to perfomance.
But payment process must be synchronous and it's result evaluated in time.
regards
 
Amit Harsola
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

Thanks.

I agree with you that Payment authorization should be synchronous.

What I as trying to ask was whether requirements mandates payment auth, order creation, email and shipment should happen in order synchronously on click of submit.

Websites like Amazon and others accept the orders and process them asynchronously providing updates to customer on order status

Regards,
Amit
 
wolfgang unger
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Report post to moderator
I think answering your question would be too detailed to be legal.
but one example: sending the confirmation email after evaluating the order can be completed(payment, stock ...) does not have to be synchronous in my opinion.
question yourself, which parts of the check out process do really have to be completed instant and which only have to be reliant
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
wolfgang unger wrote:I think answering your question would be too detailed to be legal.

I agree. I'm locking this thread so more discussion doesn't occur on this topic.

Amit: You can start a new thread if you have a more general question.
 
    Bookmark Topic Watch Topic
  • New Topic