Advertisement
fedorm

Untitled

Sep 28th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.46 KB | None | 0 0
  1. 28.09 10:43:54 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.possiblyExternalLoyaltyCard = true
  2. 28.09 10:43:54 TRACE [Set5LoyaltyBridgeImpl] getCardStatus: request:
  3. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  4. <ns3:CardRequest xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.CardRequest">
  5. <cards>
  6. <barCode>888</barCode>
  7. <discCliTurn>0.0</discCliTurn>
  8. <percent>0.0</percent>
  9. </cards>
  10. <head>
  11. <buyerSum>0.0</buyerSum>
  12. <cashNumber>6</cashNumber>
  13. <defDiscount>0.0</defDiscount>
  14. <defDiscountPerc>0.0</defDiscountPerc>
  15. <discPercent>0.0</discPercent>
  16. <shopIndex>159</shopIndex>
  17. </head>
  18. </ns3:CardRequest>
  19.  
  20.  
  21. 28.09 10:43:54 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.processCard: Trying to getCardStatus from SET5...
  22. 28.09 10:43:55 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.processCard: cardResponce is received from SET5! The execution of the request getCardStatus was 871 milliseconds
  23. 28.09 10:43:55 TRACE [Set5LoyaltyBridgeImpl] getCardStatus: response:
  24. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  25. <ns3:CardResponse xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.CardResponse">
  26. <errorCode>0</errorCode>
  27. <cards>
  28. <barCode>888</barCode>
  29. <cardTypeMask>0</cardTypeMask>
  30. <category>0</category>
  31. <clientIndex>0</clientIndex>
  32. <custCatCode>0</custCatCode>
  33. <custCode>0</custCode>
  34. <customer></customer>
  35. <discCliTurn>0.0</discCliTurn>
  36. <marksCount>0</marksCount>
  37. <name>888</name>
  38. <percent>0.0</percent>
  39. <posId>0</posId>
  40. <status>10</status>
  41. <weekDays>127</weekDays>
  42. </cards>
  43. </ns3:CardResponse>
  44.  
  45.  
  46. 28.09 10:43:55 ERROR [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.processCard: ru.crystals.pos.cards.external.ExternalLoyaltyServiceException: Неизвестный купон 888
  47. at ru.crystals.set5.Set5LoyaltyMapper.checkCardStatus(Set5LoyaltyMapper.java:185)
  48. at ru.crystals.set5.Set5LoyaltyMapper.mappingCardSet5ToSet10(Set5LoyaltyMapper.java:142)
  49. at ru.crystals.set5.Set5LoyaltyBridgeImpl.processCard(Set5LoyaltyBridgeImpl.java:322)
  50. at ru.crystals.set5.Set5LoyaltyBridgeImpl.getCardStatus(Set5LoyaltyBridgeImpl.java:292)
  51. at ru.crystals.pos.cards.service.CardsServiceImpl.getCardTypeEntity(CardsServiceImpl.java:567)
  52. at ru.crystals.pos.cards.service.CardsServiceImpl.getCardType(CardsServiceImpl.java:1054)
  53. at ru.crystals.pos.techprocess.TechProcessSearch.searchCard(TechProcessSearch.java:89)
  54. at ru.crystals.pos.techprocess.TechProcessImpl.searchCard(TechProcessImpl.java:3666)
  55. at ru.crystals.pos.visualization.search.SearchProductContainer.searchCouponAndDiscountCard(SearchProductContainer.java:226)
  56. at ru.crystals.pos.visualization.search.SearchProductContainer.search(SearchProductContainer.java:421)
  57. at ru.crystals.pos.visualization.search.SearchProductContainer.enter(SearchProductContainer.java:194)
  58. at ru.crystals.pos.visualization.components.CompositeContainer.enter(CompositeContainer.java:97)
  59. at ru.crystals.pos.visualization.check.CheckContainer.enter(CheckContainer.java:1956)
  60. at ru.crystals.pos.visualization.components.MainWindow.enter(MainWindow.java:1106)
  61. at ru.crystals.pos.visualization.Factory.eventControlKey(Factory.java:482)
  62. at ru.crystals.pos.techprocess.TechProcessImpl.eventControlKey(TechProcessImpl.java:3811)
  63. at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:174)
  64. at ru.crystals.pos.CashEventSource.process(CashEventSource.java:145)
  65. at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:125)
  66. at ru.crystals.pos.CashEventSource.run(CashEventSource.java:106)
  67. at ru.crystals.pos.InternalCashPoolExecutorImpl$4.run(InternalCashPoolExecutorImpl.java:122)
  68. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  69. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  70. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  71. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  72. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  73. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  74. at java.lang.Thread.run(Thread.java:745)
  75.  
  76. 28.09 10:44:08 DEBUG [Set5LoyaltyBridgeImpl] Make Set5LoyaltyBridgeImpl
  77. 28.09 10:44:12 INFO [Set5LoyaltyEmulatorStarter] entering startSet5LoyaltyEmulator()
  78. 28.09 10:44:12 INFO [Set5LoyaltyEmulatorStarter] Set5LoyaltyEmulator started!
  79. 28.09 10:44:12 INFO [Set5LoyaltyEmulatorStarter] leaving startSet5LoyaltyEmulator()
  80. 28.09 10:44:21 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.start
  81. 28.09 10:44:21 DEBUG [Set5LoyaltyBridgeImpl] register Set5LoyaltyBridge in BundleManager.
  82. 28.09 10:44:21 DEBUG [Set5LoyaltyBridgeImpl] create ws-client..
  83. 28.09 10:44:21 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.setUpSet5Service: Services availability is checked
  84. 28.09 10:44:52 TRACE [Set5LoyaltyBridgeImpl] entering pending-sending
  85. 28.09 10:44:52 INFO [Set5LoyaltyBridgeImpl] looking up <CardsDao>
  86. 28.09 10:44:52 TRACE [Set5LoyaltyBridgeImpl] leaving pending-sending. No one pending operation of type CANCEL_CHARGEOFF_BONUSES_ROSBANK was detected
  87. 28.09 10:45:14 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.possiblyExternalLoyaltyCard = true. cardNumber.startsWith(prefix)
  88. 28.09 10:45:14 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.possiblyExternalLoyaltyCard = true. cardNumber.startsWith(prefix)
  89. 28.09 10:45:19 INFO [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.linkCardToClient invoked
  90. 28.09 10:45:19 TRACE [Set5LoyaltyBridgeImpl] linkCardToClient: request:
  91. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  92. <ns3:ExchangeCardRequest xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.ExchangeCardRequest">
  93. <formNumber>2430043970080</formNumber>
  94. <head>
  95. <buyerSum>0.0</buyerSum>
  96. <cashNumber>6</cashNumber>
  97. <defDiscount>0.0</defDiscount>
  98. <defDiscountPerc>0.0</defDiscountPerc>
  99. <discPercent>0.0</discPercent>
  100. <shopIndex>159</shopIndex>
  101. </head>
  102. <newCard>2440000929273</newCard>
  103. </ns3:ExchangeCardRequest>
  104.  
  105.  
  106. 28.09 10:45:19 TRACE [Set5LoyaltyBridgeImpl] linkCardToClient: response:
  107. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  108. <ns3:CardResponse xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.CardResponse">
  109. <errorCode>0</errorCode>
  110. <keyValues>
  111. <key>DeficientSum</key>
  112. <value>0.0</value>
  113. </keyValues>
  114. <keyValues>
  115. <key>NextStepPerc</key>
  116. <value>0.0</value>
  117. </keyValues>
  118. <keyValues>
  119. <key>LastDateCalc</key>
  120. <value>27.09.2017</value>
  121. </keyValues>
  122. <cards>
  123. <barCode>2440000929273</barCode>
  124. <cardTypeMask>1</cardTypeMask>
  125. <category>33</category>
  126. <clientIndex>0</clientIndex>
  127. <custBornDate>1984-12-30T00:00:00+03:00</custBornDate>
  128. <custCatCode>0</custCatCode>
  129. <custCode>1102433962</custCode>
  130. <customer>Пользователь 1102433962 ..</customer>
  131. <discCliTurn>0.0</discCliTurn>
  132. <marksCount>0</marksCount>
  133. <name>2440000929273</name>
  134. <percent>0.0</percent>
  135. <posId>0</posId>
  136. <status>0</status>
  137. <weekDays>127</weekDays>
  138. </cards>
  139. </ns3:CardResponse>
  140.  
  141.  
  142. 28.09 10:45:19 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.getCardStatus invoked. cardnumber 2440000929273
  143. 28.09 10:45:19 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.possiblyExternalLoyaltyCard = true. cardNumber.startsWith(prefix)
  144. 28.09 10:45:19 TRACE [Set5LoyaltyBridgeImpl] getCardStatus: request:
  145. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  146. <ns3:CardRequest xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.CardRequest">
  147. <cards>
  148. <barCode>2440000929273</barCode>
  149. <discCliTurn>0.0</discCliTurn>
  150. <percent>0.0</percent>
  151. </cards>
  152. <head>
  153. <buyerSum>0.0</buyerSum>
  154. <cashNumber>6</cashNumber>
  155. <ckDiscount>0.00</ckDiscount>
  156. <ckNSmena>1</ckNSmena>
  157. <ckNumber>1</ckNumber>
  158. <ckSumma>1000.00</ckSumma>
  159. <defDiscount>0.0</defDiscount>
  160. <defDiscountPerc>0.0</defDiscountPerc>
  161. <discPercent>0.0</discPercent>
  162. <shopIndex>159</shopIndex>
  163. </head>
  164. </ns3:CardRequest>
  165.  
  166.  
  167. 28.09 10:45:19 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.processCard: Trying to getCardStatus from SET5...
  168. 28.09 10:45:20 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.processCard: cardResponce is received from SET5! The execution of the request getCardStatus was 40 milliseconds
  169. 28.09 10:45:20 TRACE [Set5LoyaltyBridgeImpl] getCardStatus: response:
  170. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  171. <ns3:CardResponse xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.CardResponse">
  172. <errorCode>0</errorCode>
  173. <keyValues>
  174. <key>DeficientSum</key>
  175. <value>0.0</value>
  176. </keyValues>
  177. <keyValues>
  178. <key>NextStepPerc</key>
  179. <value>0.0</value>
  180. </keyValues>
  181. <keyValues>
  182. <key>LastDateCalc</key>
  183. <value>27.09.2017</value>
  184. </keyValues>
  185. <cards>
  186. <barCode>2440000929273</barCode>
  187. <cardTypeMask>1</cardTypeMask>
  188. <category>33</category>
  189. <clientIndex>0</clientIndex>
  190. <custBornDate>1984-12-30T00:00:00+03:00</custBornDate>
  191. <custCatCode>0</custCatCode>
  192. <custCode>1102433962</custCode>
  193. <customer>Пользователь 1102433962 ..</customer>
  194. <discCliTurn>0.0</discCliTurn>
  195. <marksCount>0</marksCount>
  196. <name>2440000929273</name>
  197. <percent>0.0</percent>
  198. <posId>0</posId>
  199. <status>0</status>
  200. <weekDays>127</weekDays>
  201. </cards>
  202. </ns3:CardResponse>
  203.  
  204.  
  205. 28.09 10:45:22 TRACE [Set5LoyaltyBridgeImpl] entering pending-sending
  206. 28.09 10:45:22 TRACE [Set5LoyaltyBridgeImpl] leaving pending-sending. No one pending operation of type CANCEL_CHARGEOFF_BONUSES_ROSBANK was detected
  207. 28.09 10:45:28 INFO [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.doDiscountAndSave invoked
  208. 28.09 10:45:29 TRACE [Set5LoyaltyBridgeImpl] entering calcSet5Discounts(PurchaseEntity, Purchase). The arguments are: originalPurchase [PurchaseEntity [id=80, number=null, dateCreate=Thu Sep 28 10:45:19 MSK 2017, dateCommit=null, fiscalDocNum=null, sentToServerStatus=NO_SENT]], receipt [Purchase:[number=null;dateCreate=2017-09-28 10:45:19.892;operationType=true;checkSum=230110;discount=0]]
  209. 28.09 10:45:29 TRACE [Set5LoyaltyBridgeImpl] calculateDiscount: request:
  210. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  211. <ns3:ChequeRequest xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.ChequeRequest">
  212. <cards>
  213. <barCode>2440000929273</barCode>
  214. <cardTypeMask>1</cardTypeMask>
  215. <category>33</category>
  216. <custBornDate>1984-12-30T00:00:00.000+03:00</custBornDate>
  217. <custCatCode>0</custCatCode>
  218. <custCode>1102433962</custCode>
  219. <customer>Пользователь 1102433962 ..</customer>
  220. <discCliTurn>0.0</discCliTurn>
  221. <name>2440000929273</name>
  222. <percent>0.0</percent>
  223. <status>0</status>
  224. </cards>
  225. <head>
  226. <buyerSum>0.0</buyerSum>
  227. <cashNumber>6</cashNumber>
  228. <ckDiscount>0.00</ckDiscount>
  229. <ckNSmena>1</ckNSmena>
  230. <ckNumber>1</ckNumber>
  231. <ckSumma>2301.10</ckSumma>
  232. <defDiscount>0.0</defDiscount>
  233. <defDiscountPerc>0.0</defDiscountPerc>
  234. <discPercent>0.0</discPercent>
  235. <shopIndex>159</shopIndex>
  236. </head>
  237. <pays/>
  238. <positions>
  239. <barCode>1234567890123</barCode>
  240. <ckSumma>1000.00</ckSumma>
  241. <dateOperation>2017-09-28T10:45:19.906+03:00</dateOperation>
  242. <depart>363</depart>
  243. <gift>false</gift>
  244. <item>8888</item>
  245. <posId>1</posId>
  246. <price>1000.00</price>
  247. <priceDisc>1000.00</priceDisc>
  248. <quant>1.000</quant>
  249. </positions>
  250. <positions>
  251. <barCode>5409999000001</barCode>
  252. <ckSumma>1301.10</ckSumma>
  253. <dateOperation>2017-09-28T10:45:28.888+03:00</dateOperation>
  254. <depart>1</depart>
  255. <gift>false</gift>
  256. <item>09999</item>
  257. <posId>2</posId>
  258. <price>1301.10</price>
  259. <priceDisc>1301.10</priceDisc>
  260. <quant>1.000</quant>
  261. </positions>
  262. </ns3:ChequeRequest>
  263.  
  264.  
  265. 28.09 10:45:29 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.doDiscountAndSave: Trying to calculateDiscount from SET5...
  266. 28.09 10:45:29 TRACE [Set5LoyaltyBridgeImpl] calculateDiscount: response:
  267. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  268. <ns3:ChequeResponse xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.ChequeResponse">
  269. <errorCode>0</errorCode>
  270. <cards>
  271. <barCode>2440000929273</barCode>
  272. <cardTypeMask>1</cardTypeMask>
  273. <category>33</category>
  274. <clientIndex>0</clientIndex>
  275. <custBornDate>1984-12-30T00:00:00+03:00</custBornDate>
  276. <custCatCode>0</custCatCode>
  277. <custCode>1102433962</custCode>
  278. <customer>Пользователь 1102433962 ..</customer>
  279. <discCliTurn>0.0</discCliTurn>
  280. <marksCount>0</marksCount>
  281. <name>2440000929273</name>
  282. <percent>0.0</percent>
  283. <posId>0</posId>
  284. <status>0</status>
  285. </cards>
  286. <discs>
  287. <addBarCode>2440000929273</addBarCode>
  288. <applyToPos>false</applyToPos>
  289. <discId>1</discId>
  290. <discPercent>0.0</discPercent>
  291. <discType>12</discType>
  292. <discount>0.0</discount>
  293. <loyaltyId>0</loyaltyId>
  294. <posId>1</posId>
  295. <quantity>1.0</quantity>
  296. </discs>
  297. <discs>
  298. <addBarCode>2440000929273</addBarCode>
  299. <applyToPos>false</applyToPos>
  300. <discId>1</discId>
  301. <discPercent>0.0</discPercent>
  302. <discType>12</discType>
  303. <discount>0.0</discount>
  304. <loyaltyId>0</loyaltyId>
  305. <posId>2</posId>
  306. <quantity>1.0</quantity>
  307. </discs>
  308. <head>
  309. <buyerSum>0.0</buyerSum>
  310. <cashNumber>6</cashNumber>
  311. <ckDiscount>0.0</ckDiscount>
  312. <ckNSmena>1</ckNSmena>
  313. <ckNumber>1</ckNumber>
  314. <ckSumma>2301.1000000000004</ckSumma>
  315. <defDiscount>0.0</defDiscount>
  316. <defDiscountPerc>0.0</defDiscountPerc>
  317. <discPercent>0.0</discPercent>
  318. <idSetV10>0</idSetV10>
  319. <isReturn>false</isReturn>
  320. <numIteration>1</numIteration>
  321. <shopIndex>159</shopIndex>
  322. </head>
  323. <pays>
  324. <payKind>0</payKind>
  325. <payNumber></payNumber>
  326. <paySumma>0.0</paySumma>
  327. <payType>0</payType>
  328. </pays>
  329. <positions>
  330. <barCode>1234567890123</barCode>
  331. <barCode1></barCode1>
  332. <ckSumma>1000.0</ckSumma>
  333. <dateOperation>2017-09-28T10:45:19.906+03:00</dateOperation>
  334. <defDiscSumma>0.0</defDiscSumma>
  335. <depart>363</depart>
  336. <discPercent>0.0</discPercent>
  337. <discSumma>0.0</discSumma>
  338. <gift>false</gift>
  339. <item>8888</item>
  340. <minPrice>0.0</minPrice>
  341. <numKit>0</numKit>
  342. <numOldPos>1</numOldPos>
  343. <posId>1</posId>
  344. <price>1000.0</price>
  345. <priceDisc>1000.0</priceDisc>
  346. <quant>1.0</quant>
  347. <requestSumma>0.0</requestSumma>
  348. </positions>
  349. <positions>
  350. <barCode>5409999000001</barCode>
  351. <barCode1></barCode1>
  352. <ckSumma>1301.1000000000001</ckSumma>
  353. <dateOperation>2017-09-28T10:45:28.888+03:00</dateOperation>
  354. <defDiscSumma>0.0</defDiscSumma>
  355. <depart>1</depart>
  356. <discPercent>0.0</discPercent>
  357. <discSumma>0.0</discSumma>
  358. <gift>false</gift>
  359. <item>09999</item>
  360. <minPrice>0.0</minPrice>
  361. <numKit>0</numKit>
  362. <numOldPos>2</numOldPos>
  363. <posId>2</posId>
  364. <price>1301.1</price>
  365. <priceDisc>1301.1</priceDisc>
  366. <quant>1.0</quant>
  367. <requestSumma>0.0</requestSumma>
  368. </positions>
  369. </ns3:ChequeResponse>
  370.  
  371.  
  372. 28.09 10:45:29 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.doDiscountAndSave: chequeResponse is received from SET5! The execution of the request calculateDiscount was 42 milliseconds
  373. 28.09 10:45:29 TRACE [Set5LoyaltyBridgeImpl] leaving calcSet5Discounts(PurchaseEntity, Purchase). the discount size is: 0; it took 51 [ms]
  374. 28.09 10:45:29 TRACE [Set5LoyaltyBridgeImpl] entering calcRoundingDiscounts(PurchaseEntity, Purchase). The arguments are: originalPurchase [PurchaseEntity [id=80, number=null, dateCreate=Thu Sep 28 10:45:19 MSK 2017, dateCommit=null, fiscalDocNum=null, sentToServerStatus=NO_SENT]], receipt [Purchase:[number=null;dateCreate=2017-09-28 10:45:19.892;operationType=true;checkSum=230110;discount=0]]
  375. 28.09 10:45:29 TRACE [Set5LoyaltyBridgeImpl] leaving calcRoundingDiscounts(PurchaseEntity, Purchase). the discount size is: 0; it took 23 [ms]
  376. 28.09 10:45:29 TRACE [Set5LoyaltyBridgeImpl] 0 rounding actions were applied (guids: [])
  377. 28.09 10:45:37 TRACE [Set5LastPaymentAddedListener] entering eventLastPaymentAdded(PurchaseEntity, PaymentEntity). The arguments are: purchase [PurchaseEntity [id=80, number=null, dateCreate=Thu Sep 28 10:45:19 MSK 2017, dateCommit=null, fiscalDocNum=null, sentToServerStatus=NO_SENT]], payment [PaymentEntity{, number=1, dateCreate=Thu Sep 28 10:45:37 MSK 2017, dateCommit=Thu Sep 28 10:45:37 MSK 2017, sumPay=230200, sumPayBaseCurrency=230200, purchase=PurchaseEntity [id=80, number=null, dateCreate=Thu Sep 28 10:45:19 MSK 2017, dateCommit=null, fiscalDocNum=null, sentToServerStatus=NO_SENT], paymentType='CashPaymentEntity', baseCurrency='RUB', paymentStatus=null, currency='RUB', successProcessed=true, originalPaymentNumber=null}]
  378. 28.09 10:45:37 INFO [Set5LastPaymentAddedListener] looking up <ExternalLoyaltyService>
  379. 28.09 10:45:37 INFO [Set5LastPaymentAddedListener] looking up <LoyTransactionProvider>
  380. 28.09 10:45:37 TRACE [Set5LastPaymentAddedListener] leaving eventLastPaymentAdded(PurchaseEntity, PaymentEntity): no bonuses were charged off
  381. 28.09 10:45:38 INFO [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.createOrder invoked
  382. 28.09 10:45:38 TRACE [Set5LoyaltyBridgeImpl] createOrder: request:
  383. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  384. <ns3:ChequeRequest xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.ChequeRequest">
  385. <cards>
  386. <barCode>2440000929273</barCode>
  387. <cardTypeMask>1</cardTypeMask>
  388. <category>33</category>
  389. <custBornDate>1984-12-30T00:00:00.000+03:00</custBornDate>
  390. <custCatCode>0</custCatCode>
  391. <custCode>1102433962</custCode>
  392. <customer>Пользователь 1102433962 ..</customer>
  393. <discCliTurn>0.0</discCliTurn>
  394. <name>2440000929273</name>
  395. <percent>0.0</percent>
  396. <status>0</status>
  397. </cards>
  398. <discs>
  399. <addBarCode>2440000929273</addBarCode>
  400. <applyToPos>true</applyToPos>
  401. <discId>1</discId>
  402. <discType>12</discType>
  403. <discount>0.00</discount>
  404. <loyaltyId>0</loyaltyId>
  405. <posId>1</posId>
  406. <quantity>1.000</quantity>
  407. </discs>
  408. <discs>
  409. <addBarCode>2440000929273</addBarCode>
  410. <applyToPos>true</applyToPos>
  411. <discId>1</discId>
  412. <discType>12</discType>
  413. <discount>0.00</discount>
  414. <loyaltyId>0</loyaltyId>
  415. <posId>2</posId>
  416. <quantity>1.000</quantity>
  417. </discs>
  418. <head>
  419. <buyerSum>0.0</buyerSum>
  420. <cashNumber>6</cashNumber>
  421. <ckDiscount>0.00</ckDiscount>
  422. <ckNSmena>1</ckNSmena>
  423. <ckNumber>1</ckNumber>
  424. <ckSumma>2301.10</ckSumma>
  425. <defDiscount>0.0</defDiscount>
  426. <defDiscountPerc>0.0</defDiscountPerc>
  427. <discPercent>0.0</discPercent>
  428. <shopIndex>159</shopIndex>
  429. </head>
  430. <pays/>
  431. <positions>
  432. <barCode>1234567890123</barCode>
  433. <ckSumma>1000.00</ckSumma>
  434. <dateOperation>2017-09-28T10:45:19.906+03:00</dateOperation>
  435. <depart>363</depart>
  436. <gift>false</gift>
  437. <item>8888</item>
  438. <posId>1</posId>
  439. <price>1000.00</price>
  440. <priceDisc>1000.00</priceDisc>
  441. <quant>1.000</quant>
  442. </positions>
  443. <positions>
  444. <barCode>5409999000001</barCode>
  445. <ckSumma>1301.10</ckSumma>
  446. <dateOperation>2017-09-28T10:45:28.888+03:00</dateOperation>
  447. <depart>1</depart>
  448. <gift>false</gift>
  449. <item>09999</item>
  450. <posId>2</posId>
  451. <price>1301.10</price>
  452. <priceDisc>1301.10</priceDisc>
  453. <quant>1.000</quant>
  454. </positions>
  455. </ns3:ChequeRequest>
  456.  
  457.  
  458. 28.09 10:45:38 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.createOrder: Trying to chequeAdvertise from SET5...
  459. 28.09 10:45:38 TRACE [Set5LoyaltyBridgeImpl] createOrder: response:
  460. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  461. <ns3:SlipResponse xmlns:ns2="http://ws.cash.loyalty.crystals.ru/" xmlns:ns3="ru.crystals.loyalty.cash.ws.SlipResponse">
  462. <cashierMessages>
  463. <message>Привет, кассир, как дела?</message>
  464. </cashierMessages>
  465. <cashierMessages>
  466. <message>ПРИОРИТЕТ 2</message>
  467. </cashierMessages>
  468. <chequeSlips>
  469. <slipText>
  470. <options>0</options>
  471. <text>Активируйте купоны 1</text>
  472. </slipText>
  473. </chequeSlips>
  474. <chequeSlips>
  475. <slipText>
  476. <options>0</options>
  477. <text>2301,10</text>
  478. </slipText>
  479. </chequeSlips>
  480. <chequeSlips>
  481. <slipText>
  482. <options>0</options>
  483. <text> ПРИОРИТЕТ 2</text>
  484. </slipText>
  485. <slipText>
  486. <options>0</options>
  487. <text></text>
  488. </slipText>
  489. </chequeSlips>
  490. <errorCode>0</errorCode>
  491. <giftTickets>
  492. <count>1</count>
  493. <id>1000000120</id>
  494. <shortName>Активация</shortName>
  495. </giftTickets>
  496. </ns3:SlipResponse>
  497.  
  498.  
  499. 28.09 10:45:38 INFO [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.createOrder: the execution of the request chequeAdvertise was 23 milliseconds
  500. 28.09 10:45:38 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.createOrder: we have a slip!
  501. 28.09 10:45:38 DEBUG [Set5LoyaltyBridgeImpl] Активируйте купоны 1; Option = 0
  502. 28.09 10:45:38 DEBUG [Set5LoyaltyBridgeImpl] 2301,10; Option = 0
  503. 28.09 10:45:38 DEBUG [Set5LoyaltyBridgeImpl] ПРИОРИТЕТ 2; Option = 0
  504. 28.09 10:45:38 DEBUG [Set5LoyaltyBridgeImpl] ; Option = 0
  505. 28.09 10:45:38 DEBUG [Set5LoyaltyBridgeImpl] Set5LoyaltyBridgeImpl.createOrder: we have cashier messages!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement