Ulf Dittmer wrote:Um, a semester project? How much work do you think Expedia, Travelocity et al. have spent on their sites? Maybe you can narrow down the scope to something manageable?
Ulf Dittmer wrote:Well, what do you have so far? Where are you stuck making progress? If you haven't started, what ideas have you had?
Thanks, Shiv
SCJP, OCE - JSP & Servlets Developer
Guru dhaasan wrote:Interesting discussion Das & Ulf...
@Das: At what level you want your project to be... Credit card validation or real time booking??? I see no point in the later for the sake of a college project...
Thanks, Shiv
SCJP, OCE - JSP & Servlets Developer
Guru dhaasan wrote:What you heard from different sources is true.. you should involve with payment gateway and stuff and more importantly you've to PAY for that... That's why i told its pointless for a college project...
Better is that as suggested by Ulf, you can use apache commons library for validating the credit card and just a dummy payment gateway system which mimics what you see in a real world
May be like once the card is validated successfully, you can redirect to the success page saying that the transaction was successful. If the CC validation fails, just route to an error page
Hope this makes sense for your project..
Thanks, Shiv
SCJP, OCE - JSP & Servlets Developer
Guru dhaasan wrote:Get the credit card # from the user (jsp/servlet) and use the commons-validator.jar to validate the same
Google for some examples of how to use that validator class
Thanks, Shiv
SCJP, OCE - JSP & Servlets Developer
Guru dhaasan wrote:why do you need a mvc for this
Thanks, Shiv
SCJP, OCE - JSP & Servlets Developer
Guru dhaasan wrote:No credit card info. should be persisted.... in real life scneario, you will just forward the info. to Payment gateway... Take the CC details, validate it and route to a success/error page depending on the validation result...
keep it simple
Ulf Dittmer wrote:In the real world you would contract the services of a "payment processor".
Guru dhaasan wrote:why do you need a mvc for this
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky wrote:
Guru dhaasan wrote:why do you need a mvc for this
Why wouldn't you? MVC is the most common architecture. One should have a reason to not be using it.
J Das wrote:Also make me understand how all of this payment process goes locally ( in localhost ) where i do not have the option of communicating with a live Bank.
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|