Directory tree
Below is the directory tree of the final merchant checkout site, the sampleCode will look like the below directory at the end of the tutorial.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | // Final demo code directory tree
|- com.gpayments.requestor
| |- config
| | |- RestClientConfig.java
| | |- JacksonConfig.java
| |- dto
| | |- activeserver
| | | |- AcctInfo.java
| | | |- AuthRequestBRW.java
| | | |- AuthResponseBRW.java
| | | |- CardholderInformation.java
| | | |- InitAuthRequestBRW.java
| | | |- InitAuthResponseBRW.java
| | | |- MerchantRiskIndicator.java
| | | |- PhoneNumber.java
| | | |- ThreeDSRequestorAuthenticationInfo.java
| | |
| | |- CardholderInfo.java
| | |- MyCart.java
| | |- Item.java
| |
| |- services
| | |-CardHolderService.java
| | |-CartService.java
| | |-ShopService.java
| |
| |- transaction
| | |- MerchantTransaction.java
| | |- TransactionManager.java
| |
| |- AuthController.java
| |- MainController.java
| |- SampleRequestorApplication.java
|
|- resources
|-static
| |-css
| | |-spinner.css
| | |-style.css
| |
| |-images
| | |-apple.jpg
| | |-banana.jpg
| | |-pineapple.jpg
| | |-visa-logo.jpg
| |
| |-js
| | |-3ds-web-adapter.js
|
| -certs
| |- client_certificate.p12
| |- cacerts.jks
|
|-templates
| |- checkout.html
| |- index.html
| |- notify_3ds_events.html
| |- result.html
| |- error.html
|
|-application.properties
|