Two Laptop Bag
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Asynchronous Payments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Asynchronous Payments" Watch "Asynchronous Payments" New topic

Asynchronous Payments

Andy Malakov

Joined: Aug 30, 2006
Posts: 26
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

Joined: Jul 09, 2001
Posts: 1183

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

-- Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Andrew Zilahi
Ranch Hand

Joined: Oct 16, 2006
Posts: 47
as long as you document your assumptions you can go either way.

--------------------------<br />SCJP,SCJD,IBM XML, SCEA 1
Samuel Pessorrusso
Ranch Hand

Joined: Jul 21, 2005
Posts: 164
Just document your assumption. There were people who made it asynchronously and other made it synchronously.

Best regards

Andy Malakov

Joined: Aug 30, 2006
Posts: 26
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.
I agree. Here's the link:
subject: Asynchronous Payments
It's not a secret anymore!