-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
76 lines (65 loc) · 2.7 KB
/
README
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Demo application
----------------
Banklink is a java library that contains functionality to assist
developers to implement Estonian bank services provided by banks -
authentication and payment service usage. This is an minimized demo
web application which hopefully eases the implementation process
for you.
Documentation
-------------
This demo application covers Banklink payment message processing
for all the supported banks. Authentication messages are not covered
in this demo although implementation should be fairly easy because
example is built on top authentication service functionality.
Payment message processing is done at test environment at https://pangalink.net/
Application structure:
* /src/main/resources do include supported banks configuration
for each bank in separate directory like so:
o /DANSKE/bank_cert.pem - bank certificate
o /DANSKE/config.properties - common bank configuration
o /DANSKE/request.spec - predefines packet parameter values
according to bank specification. See also bank message packets
descriptions at code module - /src/main/resources/META-INF/spec/eyp.spec
* /src/main/webapp do include all the web resources an application
configuration.
For additional info:
* The most up to date documentation can be found at http://....
* Javadoc can be generated by Gradle target "javadoc" - this
creates javadoc in <module>\build\docs\javadoc directory.
Test environment
----------------
This demo is initially configured for Banklink common test environment user:
Username: [email protected]
Password: kavals6na
If you need to switch to another user then consult with the https://pangalink.net/
documentation. In short bank keys and certificates must be changed and request
client IDs should be changed according to new user.
Installation
------------
Prerequisites:
* JDK 1.7+
* Java container server
* Gradle
For deploying application:
1) Check out application configuration if it suits your container
server setup.
For example open /src/main/resources/DANSKE/config.properties
and check if application will be actually accessible by property
RETURN_URL with default value "http://localhost:8080/banklink/payment".
This is where bank redirects you after completing authentication
or payment at bank.
2) Build application with Gradle target "war"
3) Deploy application from directory /build/libs
4) Open http://localhost:8080/banklink/payment and start using payment
messages
Licensing
---------
Contacts
--------
* Priit Liivak
*
*
Changelog
---------
* 06.03.2014:
- Initial version