Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Asynchronous Payments

 
Andy Malakov
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From what I can interpret, the assignment does not imply that payment transaction happens synchronously. Strictly speaking, all we know is that e-mail is sent after payment is authorized.

I've seen many large web sites performing credit card authorization later on, [after order submission].

Also, TransMaster call may take up to ? seconds (not counting time to transmit request and re-establish HTTPS connection, if dropped).

Any thoughts?
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andy,

I agree with you - it seems to be an asynchronous process.

-- Dan
 
Andrew Zilahi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as long as you document your assumptions you can go either way.
 
Samuel Pessorrusso
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just document your assumption. There were people who made it asynchronously and other made it synchronously.

Best regards

Samuel
 
Andy Malakov
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everybody.

Asynchronous payments may produce interesting situation when Itinerary is partially paid. For example, after "Change Itinerary" usecase updated segment may require additional payment that fails to complete due to something like credit card cancellation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic