Project

General

Profile

Wiki » History » Version 16

Soh Keong, 05/30/2012 05:17 PM

1 1 chin-yeh
{{toc}}
2
3
h1. Wiki
4 2 chin-yeh
5 7 chin-yeh
h2. Overview
6
7
_Payment Flow:_
8
9
!payment_flow.png!
10
11
12 5 chin-yeh
h2. Guides
13
14
* [[Programming Guide]]
15
16 9 chin-yeh
*qiwi-provider*
17
> qiwi-provider is the web services is built using the WSDL schema which provided by QIWI.
18 15 Chooi-Mey
Payment Result Callback (qiwi-provider) url is maintained via Qiwi Merchant Interface -> Method of Connections -> SOAP Protocol -> Setting.
19 9 chin-yeh
* [[Deployment Guide - qiwi-provider]]
20
21 12 Soh Keong
*qiwi-responder*
22
> qiwi-responder is the web service client for qiwi-provider.
23
*Step By Step*
24
<pre>
25
1. Check out qiwi-responder from cvs.
26
2. By calling below method will get the result code.
27
   QiwiClientService service = new QiwiClientServiceImpl();
28
   int result = service.updateBill(String transaction, String status);
29
3. Jar file needed (\\cwyrnd2-server\src\sohkeong\Qiwi Client Jar)
30
 a. axis.jar
31
 b. commons-discovery-0.2.jar
32
 c. commons-logging.jar
33
 d. jaxrpc.jar
34
 e. org.springframework.core-3.0.5.RELEASE.jar
35
 f. qiwi-responder.jar
36
 g. saaj.jar
37
 h. wsdl4j.jar
38 13 Soh Keong
39
*Development Server*
40
http://192.168.2.68:8080/qiwi-responder/
41 12 Soh Keong
</pre>
42
43 16 Soh Keong
*qiwi-updateOrder*
44
> qiwi-updateOrder is a java standalone program to update RU missing order.
45
> qiwi-updateOrder will first read from an excel file, then update database and finally http post to QIWI production server.
46
*Step By Step*
47
<pre>
48
1. Check out qiwi-updateOrder from cvs.
49
2. Make sure all 3 configuration files are correct
50
  a. jdbc.properties - database configuration
51
  b. log4j.properties - Logger
52
  c. qiwi.properties - 
53
    I) excel.file     = excel file physical location
54
   II) sheet.name     = worksheet name (example: REGEN BILL)
55
  III) qiwi.url       = URL to http post to qiwi
56
   IV) qiwi.sql.query = sql statement to update
57
3. FOR PRODUCTION ONLY - search for 'httpPost(url)' in TriggerQiwi.java and uncomment it.
58
4. Right click on 'build.xml', --> Run As --> Ant Build
59
5. To execute the program, open command prompt, go into dist folder, type 'java -jar qiwi-updateOrder.jar'. 
60
</pre>
61
62 3 chin-yeh
h2. Merchant Account
63
64
<pre>
65 4 chin-yeh
Admin URL: http://ishopnew.qiwi.ru/
66 6 chin-yeh
Merchant/Shop ID: 18356
67 3 chin-yeh
Password: refer to server_login.xls
68
</pre>
69
70 2 chin-yeh
h2. Contact Person
71
72
*QIWI:*
73
* *Support:* Stanislav Yu Dubrov [s.dubrov@qiwi.ru]
74
75
*eCosway:*
76
* *API Integration:*
77 10 chin-yeh
** Belynda Goh, Swee-Fun [sfgoh@cosway.com.my]
78 2 chin-yeh
** Kwan, Chooi-Mey [cmkwan@cosway.com.my]
79
* *Online Mall:*
80
** Hann, Chong-Ting [cthann@cosway.com.my]
81
82
h2. SCM
83
84
_CVS:_
85 8 chin-yeh
86
_QIWI Web Services for Payment Result Callback:_
87 2 chin-yeh
<pre>
88
Host: cwyrnd2-server [IP address:192.168.2.11]
89
Path: d:/source/ecoswayNew
90
Module: qiwi-provider
91
Tag: HEAD
92
</pre>
93 11 Soh Keong
94
_QIWI Web Services Client for get Result from QIWI Web Services:_
95
<pre>
96
Host: cwyrnd2-server [IP address:192.168.2.11]
97
Path: d:/source/ecoswayNew
98
Module: qiwi-responder
99 16 Soh Keong
Tag: HEAD
100
</pre>
101
102
_update missing RU Orders:_
103
<pre>
104
Host: cwyrnd2-server [IP address:192.168.2.11]
105
Path: d:/source/ecoswayNew
106
Module: qiwi-updateOrder
107 11 Soh Keong
Tag: HEAD
108
</pre>