Project

General

Profile

Wiki » History » Revision 16

Revision 15 (Chooi-Mey, 05/24/2012 02:57 PM) → Revision 16/22 (Soh Keong, 05/30/2012 05:17 PM)

{{toc}} 

 h1. Wiki 

 h2. Overview 

 _Payment Flow:_ 

 !payment_flow.png! 


 h2. Guides 

 * [[Programming Guide]] 

 *qiwi-provider* 
 > qiwi-provider is the web services is built using the WSDL schema which provided by QIWI. 
 Payment Result Callback (qiwi-provider) url is maintained via Qiwi Merchant Interface -> Method of Connections -> SOAP Protocol -> Setting. 
 * [[Deployment Guide - qiwi-provider]] 

 *qiwi-responder* 
 > qiwi-responder is the web service client for qiwi-provider. 
 *Step By Step* 
 <pre> 
 1. Check out qiwi-responder from cvs. 
 2. By calling below method will get the result code. 
    QiwiClientService service = new QiwiClientServiceImpl(); 
    int result = service.updateBill(String transaction, String status); 
 3. Jar file needed (\\cwyrnd2-server\src\sohkeong\Qiwi Client Jar) 
  a. axis.jar 
  b. commons-discovery-0.2.jar 
  c. commons-logging.jar 
  d. jaxrpc.jar 
  e. org.springframework.core-3.0.5.RELEASE.jar 
  f. qiwi-responder.jar 
  g. saaj.jar 
  h. wsdl4j.jar 

 *Development Server* 
 http://192.168.2.68:8080/qiwi-responder/ 
 </pre> 

 *qiwi-updateOrder* 
 > qiwi-updateOrder is a java standalone program to update RU missing order. 
 > qiwi-updateOrder will first read from an excel file, then update database and finally http post to QIWI production server. 
 *Step By Step* 
 <pre> 
 1. Check out qiwi-updateOrder from cvs. 
 2. Make sure all 3 configuration files are correct 
   a. jdbc.properties - database configuration 
   b. log4j.properties - Logger 
   c. qiwi.properties -  
     I) excel.file       = excel file physical location 
    II) sheet.name       = worksheet name (example: REGEN BILL) 
   III) qiwi.url         = URL to http post to qiwi 
    IV) qiwi.sql.query = sql statement to update 
 3. FOR PRODUCTION ONLY - search for 'httpPost(url)' in TriggerQiwi.java and uncomment it. 
 4. Right click on 'build.xml', --> Run As --> Ant Build 
 5. To execute the program, open command prompt, go into dist folder, type 'java -jar qiwi-updateOrder.jar'.  
 </pre> 

 h2. Merchant Account 

 <pre> 
 Admin URL: http://ishopnew.qiwi.ru/ 
 Merchant/Shop ID: 18356 
 Password: refer to server_login.xls 
 </pre> 

 h2. Contact Person 

 *QIWI:* 
 * *Support:* Stanislav Yu Dubrov [s.dubrov@qiwi.ru] 

 *eCosway:* 
 * *API Integration:* 
 ** Belynda Goh, Swee-Fun [sfgoh@cosway.com.my] 
 ** Kwan, Chooi-Mey [cmkwan@cosway.com.my] 
 * *Online Mall:* 
 ** Hann, Chong-Ting [cthann@cosway.com.my] 

 h2. SCM 

 _CVS:_ 

 _QIWI Web Services for Payment Result Callback:_ 
 <pre> 
 Host: cwyrnd2-server [IP address:192.168.2.11] 
 Path: d:/source/ecoswayNew 
 Module: qiwi-provider 
 Tag: HEAD 
 </pre> 

 _QIWI Web Services Client for get Result from QIWI Web Services:_ 
 <pre> 
 Host: cwyrnd2-server [IP address:192.168.2.11] 
 Path: d:/source/ecoswayNew 
 Module: qiwi-responder 
 Tag: HEAD 
 </pre> 

 _update missing RU Orders:_ 
 <pre> 
 Host: cwyrnd2-server [IP address:192.168.2.11] 
 Path: d:/source/ecoswayNew 
 Module: qiwi-updateOrder 
 Tag: HEAD 
 </pre>