Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pay for itinerary

 
Ajai
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anybody help me on the below.

1. What do we mean by 'system returns the credit cards on file.It only displays the last 4 digits ...."?Does it mean that it returns CCs from database for a particular customer or it returns the types of credit cards like Masters/Visa/Diners.I feel in the online shopping a customer has to key in CC no,expiry date etc rather than it being displayed by system as mentioned in assignment .

2. How do we know if transmaster supports rollback or not.Actually creditcard transaction should be successful only if i can successfully perform the other subsequent operations e.g. sending email,updating the status etc.

3. Do we need to mention how XML-RPC call will be realised in notes e.g. URLConn.or SSLSocket etc.

Thanks
Ajai
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajai,

The Pay for Itinerary use case is very clear about this subject:

System returns the list of credit cards on file. It only displays the last four digits of credit card, expiration date, and type.


Meaning, the system somehow knows the credit cards of each customer and allows the customer to choose one of them.

-- Dan
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

1. What do we mean by 'system returns the credit cards on file.It only displays the last 4 digits ...."?Does it mean that it returns CCs from database for a particular customer or it returns the types of credit cards like Masters/Visa/Diners.I feel in the online shopping a customer has to key in CC no,expiry date etc rather than it being displayed by system as mentioned in assignment .


Hm.. I think it displays both. Read the pay for itinerary use case. The assignment is a little bit different from the real-world e-commerce applications (online shopping, travel booking etc), though we can relate some of the aspects.


2. How do we know if transmaster supports rollback or not.Actually creditcard transaction should be successful only if i can successfully perform the other subsequent operations e.g. sending email,updating the status etc.


Well I think the cc auth should go through only if seats are available. So I think these functions (along with updating status ... etc) need to perform in one single transaction, implemented as either BMT or CMT. I mean the method that calls the transmaster can rollback explicitly if a failure occurs in authorization OR if transmaster is down.


3. Do we need to mention how XML-RPC call will be realised in notes e.g. URLConn.or SSLSocket etc.


We may have to, and also I think it will even good to mention which class performs that operation... like SFSB or SLSB or... any other class.
 
Ajai
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Giju,

Well I think the cc auth should go through only if seats are available. So I think these functions (along with updating status ... etc) need to perform in one single transaction, implemented as either BMT or CMT. I mean the method that calls the transmaster can rollback explicitly if a failure occurs in authorization OR if transmaster is down.

Understand,but for transcations to work the resource has to be transactional for instance I perform some operation in a java file (say writing)within a transaction ,then this operation can not be rollbacked since tye resource e.g. File is not transactional.
So my question is whether Transmaster is transactional e.g does it support rollback .

Any thoughts?
 
Vinay Singh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajai
I had though about that and concluded that if transaction with transmaster is through then only I save itinerary.
If no credit card processing, no saving.
But as you said if credit card processing goes through , but database insertion fail, then we would have to send again a request to transmaster for cancellation of same.
I think we should mention this in docs.
Same applies with Mileage points.
Vinay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic