Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .07 12:47:20.425 INFO [TechProcessImpl] TP searchProduct 9905100100001
- 03.07 12:47:20.425 INFO [CatalogService] getGoodsByBarCode barcode = 9905100100001
- 03.07 12:47:20.429 INFO [CatalogService] get product by barcode '9905100100001' result: null
- 03.07 12:47:20.429 INFO [SpeedLog] CatalogGoods: dataFinder.getProductByBarcode, barcode = 9905100100001 time = 4 ms
- 03.07 12:47:20.430 INFO [SpeedLog] CatalogGoods#getGoodsByBarCode, barcode = 9905100100001 time = 5 ms
- 03.07 12:47:20.433 INFO [CatalogService] Get product by item '9905100100001' result null
- 03.07 12:47:20.433 INFO [SpeedLog] searchProduct time time = 8 ms
- 03.07 12:47:20.437 TRACE [MLServiceImpl] entering isEnabled()
- 03.07 12:47:20.437 TRACE [MLServiceImpl] leaving isEnabled(). the result is: true
- 03.07 12:47:20.437 TRACE [MLServiceImpl] entering isMlCoupon(String). The argument is: "9905100100001"
- 03.07 12:47:20.438 TRACE [MLServiceImpl] leaving isMlCoupon(String). The result is: false
- 03.07 12:47:20.438 TRACE [SCService] entering isEnabled()
- 03.07 12:47:20.438 TRACE [SCService] leaving isEnabled(). the result is: true
- 03.07 12:47:20.438 TRACE [SCService] entering isSmChCoupon(String). The argument is: "9905100100001"
- 03.07 12:47:20.438 TRACE [SCService] leaving isSmChCoupon(String). The result is: false
- 03.07 12:47:20.439 TRACE [MLServiceImpl] entering isEnabled()
- 03.07 12:47:20.439 TRACE [MLServiceImpl] leaving isEnabled(). the result is: true
- 03.07 12:47:20.440 TRACE [MLServiceImpl] entering isMlCard(String, boolean). The argument are: "9905100100001"
- 03.07 12:47:20.440 TRACE [MLServiceImpl] leaving isMlCard(String, boolean). The result is: false
- 03.07 12:47:20.460 TRACE [CardPluginEmulator] entering getCardInfo(String). The argument is: 9905100100001
- 03.07 12:47:20.461 TRACE [CardPluginEmulator] entering readProperties(IntegrationProperties, Logger)
- 03.07 12:47:20.462 TRACE [CardPluginEmulator] leaving readProperties(IntegrationProperties, Logger). The result is: CardPluginEmulatorProperties{getInfoUrl=http://127.0.0.1:10071/card-plugin-processing/emulator/get-card, writeOffUrl=http://127.0.0.1:10071/card-plugin-processing/emulator/write-off, rollbackUrl=http://127.0.0.1:10071/card-plugin-processing/emulator/rollback, connectionTimeout=1000, readTimeout=1000, cardNoPrefixes=[151, 152], cardNoLength=7}; it took 1 [ms]
- 03.07 12:47:20.462 TRACE [CardPluginEmulator] leaving getCardInfo(String). The card (no: "9905100100001") does not belong to our processing for sure!
- 03.07 12:47:20.462 DEBUG [ExampleCardPlugin] entering getCardInfo(CardInfoSearchParams). The arguments are: request [ru.crystals.pos.cards.service.PluginCardSearchRequest@1a5b4e8]
- 03.07 12:47:20.465 DEBUG [ExampleCardPlugin] leaving getCardInfo(CardInfoSearchParams). The card [9905100100001] does not exist in the processing for sure
- 03.07 12:47:20.520 WARN [BonusBalanceSupplier] Processing "CashCardsApplication" has provided no bonus balance for card "9905100100001"
- 03.07 12:47:20.537 ERROR [SegmentProcessingClient] Client 110769 not found
- 03.07 12:47:20.564 TRACE [TechProcessImpl] entering applyClientRequisites(ClientEntity). The argument is: holder [ClientEntity [id=110769; guid=110769; deleted=false]]
- 03.07 12:47:20.564 TRACE [TechProcessImpl] leaving applyClientRequisites(ClientEntity). Cash template prohibits usage of personal-sensitive data to send e-receipt to a card-ho;der
- 03.07 12:47:20.577 ERROR [ExternalEncryptedEventPacket] Thread-45 Ошибка расшифровки пакета
- java.security.InvalidKeyException: Unwrapping failed
- at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)
- at javax.crypto.Cipher.unwrap(Cipher.java:2550)
- at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.encryptAesKey(ExternalPacketCipher.java:57)
- at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.decode(ExternalPacketCipher.java:48)
- at ru.crystals.pos.prismabridge.external.ExternalEncryptedEventPacket.parseEvent(ExternalEncryptedEventPacket.java:44)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.decodePacket(PrismaEmulatorRunnable.java:168)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.readBytes(PrismaEmulatorRunnable.java:91)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.run(PrismaEmulatorRunnable.java:71)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.crypto.BadPaddingException: Decryption error
- at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
- at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
- at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
- at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)
- ... 8 more
- 03.07 12:47:21.601 INFO [DocumentSender] ping = true
- 03.07 12:47:21.893 INFO [TransferManager] OD found 0 documents to register
- 03.07 12:47:21.916 INFO [DocumentSender] OD found 0 transactions to register
- 03.07 12:47:21.919 INFO [DocumentSender] response message = Created
- 03.07 12:47:21.919 INFO [TransferManager] Send document status : 161 > WAIT_ACKNOWLEDGEMENT file name : 1/Document_20190703124721_918_3388_1.ser
- 03.07 12:47:21.921 INFO [CheckService] SetSentToServerStatus : 161 > WAIT_ACKNOWLEDGEMENT file name : 1/Document_20190703124721_918_3388_1.ser
- 03.07 12:47:21.924 INFO [DocumentSender] document 1/Document_20190703124721_918_3388_1.ser has been registered
- 03.07 12:47:21.924 INFO [TransferManager] Send document status : 161 > SENT file name : 1/Document_20190703124721_918_3388_1.ser
- 03.07 12:47:21.927 INFO [CheckService] SetSentToServerStatus : 161 > SENT file name : 1/Document_20190703124721_918_3388_1.ser
- 03.07 12:47:21.948 INFO [DocumentSender] OD found 0 payment transactions
- 03.07 12:47:22.013 INFO [TechProcessImpl] eventControlKey: ControlKey [scanCode=10, command=kbdEnter]
- 03.07 12:47:22.015 INFO [TechProcessImpl] TP searchProduct 00515
- 03.07 12:47:22.019 INFO [CatalogService] Get product by item '00515' result ProductPieceEntity[name=Пряник яблочный сочный (Россия), item=00515]
- 03.07 12:47:22.021 INFO [SpeedLog] getProductRestrictions time = 1 ms
- 03.07 12:47:22.021 INFO [SpeedLog] searchProduct time time = 4 ms
- 03.07 12:47:22.047 INFO [SpeedLog] (CHECK_CONTAINER) show product container time = 0,022 sec; average speed = 0,062 sec; position test num = 3.0; product item 00515; <22>
- 03.07 12:47:22.047 INFO [CommonLogger] busy = false
- 03.07 12:47:22.060 ERROR [ExternalEncryptedEventPacket] Thread-45 Ошибка расшифровки пакета
- java.security.InvalidKeyException: Unwrapping failed
- at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)
- at javax.crypto.Cipher.unwrap(Cipher.java:2550)
- at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.encryptAesKey(ExternalPacketCipher.java:57)
- at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.decode(ExternalPacketCipher.java:48)
- at ru.crystals.pos.prismabridge.external.ExternalEncryptedEventPacket.parseEvent(ExternalEncryptedEventPacket.java:44)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.decodePacket(PrismaEmulatorRunnable.java:168)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.readBytes(PrismaEmulatorRunnable.java:91)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.run(PrismaEmulatorRunnable.java:71)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.crypto.BadPaddingException: Decryption error
- at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
- at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
- at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
- at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)
- ... 8 more
- 03.07 12:47:22.070 ERROR [ExternalEncryptedEventPacket] Thread-45 Ошибка расшифровки пакета
- java.security.InvalidKeyException: Unwrapping failed
- at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:445)
- at javax.crypto.Cipher.unwrap(Cipher.java:2550)
- at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.encryptAesKey(ExternalPacketCipher.java:57)
- at ru.crystals.pos.prismabridge.external.ExternalPacketCipher.decode(ExternalPacketCipher.java:48)
- at ru.crystals.pos.prismabridge.external.ExternalEncryptedEventPacket.parseEvent(ExternalEncryptedEventPacket.java:44)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.decodePacket(PrismaEmulatorRunnable.java:168)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.readBytes(PrismaEmulatorRunnable.java:91)
- at ru.crystals.pos.emulator.prisma.PrismaEmulatorRunnable.run(PrismaEmulatorRunnable.java:71)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: javax.crypto.BadPaddingException: Decryption error
- at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)
- at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)
- at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
- at com.sun.crypto.provider.RSACipher.engineUnwrap(RSACipher.java:440)
- ... 8 more
- 03.07 12:47:22.144 INFO [TechProcessImpl] TechProcess add position id: null; number: 1; item: 00515; type: ProductPieceEntity; count: 1000; sum: 6818; sumDiscount: 0; dateTime: (NULL); num-in-original: null
- 03.07 12:47:22.156 INFO [SpeedLog] TP addPosition time = 11 ms
- 03.07 12:47:22.300 INFO [TechProcessImpl] eventFunctionKey: FunctionKey [scanCode=32, command=kbdSubtotal]
- 03.07 12:47:22.314 INFO [CommonLogger] busy = true
- 03.07 12:47:22.316 TRACE [TechProcessImpl] Start warn divide alco
- 03.07 12:47:22.316 TRACE [TechProcessImpl] End warn devide alco
- 03.07 12:47:22.322 INFO [TechProcessImpl] goToDiscounts
- 03.07 12:47:22.335 INFO [LoyalBridgeServiceImpl] --------------- begin discount calculation ---------------
- 03.07 12:47:22.335 INFO [FiscalPrinter] getFactoryNum
- 03.07 12:47:22.335 INFO [FiscalPrinter] FactoryNum = 0000033881
- 03.07 12:47:22.335 INFO [FiscalPrinter] getRegNum
- 03.07 12:47:22.336 INFO [FiscalPrinter] RegNum = NFM.3388.1.0.1562082998963
- 03.07 12:47:22.336 INFO [FiscalPrinter] getEklzNum
- 03.07 12:47:22.336 INFO [FiscalPrinter] EklzNum = 0d319dd5-d622-48c9-9567-d84a9c462236
- 03.07 12:47:22.336 INFO [FiscalPrinter] getVerBios
- 03.07 12:47:22.336 INFO [FiscalPrinter] VerBios = 27
- 03.07 12:47:22.343 INFO [LoyalProductFinder] Time finding items (1) = 2 ms
- 03.07 12:47:22.343 INFO [LoyalProductsConverter] Time searching loyal goods for 1 productItems = 2 ms
- 03.07 12:47:22.343 INFO [LoyalCalculatorConverter] Time converting 1 positions = 0 ms
- 03.07 12:47:22.565 WARN [LoyaltyRestrictionsServiceImpl] checkRestrictions: no limits received
- 03.07 12:47:22.566 INFO [DoProcessing] ============ LoyalCalculation: doDiscount start ============
- 03.07 12:47:22.566 INFO [DoProcessing] GeneralInteractionMethod: MAXIMUM_DISCOUNT
- 03.07 12:47:22.574 INFO [DoProcessing] ============ LoyalCalculation: doDiscount success ============
- 03.07 12:47:22.585 TRACE [MLServiceImpl] entering getMlCardNo(Purchase). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
- 03.07 12:47:22.586 TRACE [MLServiceImpl] leaving getMlCardNo(Purchase). The result is: null
- 03.07 12:47:22.587 TRACE [MLServiceImpl] entering getMlCouponNo(PurchaseEntity). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
- 03.07 12:47:22.587 TRACE [MLServiceImpl] leaving getMlCouponNo(PurchaseEntity). The result is: null
- 03.07 12:47:22.587 TRACE [SCService] entering isEnabled()
- 03.07 12:47:22.588 TRACE [SCService] leaving isEnabled(). the result is: true
- 03.07 12:47:22.588 TRACE [SCService] entering calcDiscount(Purchase). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
- 03.07 12:47:22.590 TRACE [SCService] Send request <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <ChequeRequest xmlns="http://smartcheckout.ru/xsd/s10ren.xsd" ChequeType="Soft">
- <RequestID>1562147240542</RequestID>
- <Card>
- <CardNumber>9905100100001</CardNumber>
- </Card>
- <DateTime>2019-07-03T12:47:22.589+03:00</DateTime>
- <POS>1</POS>
- <Number>1562147240542</Number>
- <Summ>68.18</Summ>
- <Discount>0.000</Discount>
- <SummDiscounted>68.18</SummDiscounted>
- <Item>
- <PositionNumber>1</PositionNumber>
- <Article>00515</Article>
- <ArticleName>Пряник яблочный сочный (Россия)</ArticleName>
- <Price>68.18</Price>
- <Quantity>1.000</Quantity>
- <Summ>68.18</Summ>
- <Discount>0.000</Discount>
- <SummDiscounted>68.18</SummDiscounted>
- </Item>
- </ChequeRequest>
- 03.07 12:47:22.590 TRACE [SCService] entering getServices()
- 03.07 12:47:22.591 TRACE [SCService] getting services (IN MEMORY)
- 03.07 12:47:22.591 TRACE [SCService] leaving getServices(). The result size is: 2
- 03.07 12:47:22.613 TRACE [SCService] Received response: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <ChequeRequestResponce xmlns="http://smartcheckout.ru/xsd/s10ren.xsd">
- <RequestID>1562147240542</RequestID>
- <Processed>2019-07-03T12:47:22.597+03:00</Processed>
- <ReturnCode>0</ReturnCode>
- <CashierMessageTO>0</CashierMessageTO>
- <Summ>68.18</Summ>
- <Discount>0.000</Discount>
- <SummDiscounted>68.18</SummDiscounted>
- <Item>
- <PositionNumber>1</PositionNumber>
- <Article>00515</Article>
- <ArticleName>Пряник яблочный сочный (Россия)</ArticleName>
- <Price>68.18</Price>
- <MinPrice>0</MinPrice>
- <Quantity>1.000</Quantity>
- <Summ>68.18</Summ>
- <Discount>0.000</Discount>
- <SummDiscounted>68.18</SummDiscounted>
- </Item>
- </ChequeRequestResponce>
- 03.07 12:47:22.613 TRACE [SCReceiptConverter] ml discounts: {position-key [marking: 00515; original-price: 6818]=0}
- 03.07 12:47:22.613 TRACE [SCReceiptConverter] it was inferred that no SC POS discounts were given on position [key: position-key [marking: 00515; original-price: 6818]]: SC discount value is: 0
- 03.07 12:47:22.614 TRACE [SCService] leaving calcDiscount(Purchase). The result is: Purchase:[number=null;dateCreate=(NULL);operationType=null;checkSum=6818;discount=0]; it took 26 [ms]
- 03.07 12:47:22.614 INFO [DoProcessing] ============ LoyalCalculation: doDiscount start ============
- 03.07 12:47:22.614 INFO [DoProcessing] GeneralInteractionMethod: MAXIMUM_DISCOUNT
- 03.07 12:47:22.614 INFO [DoProcessing] ============ LoyalCalculation: doDiscount success ============
- 03.07 12:47:22.615 INFO [DoProcessing] ============ LoyalCalculation: doDiscount start ============
- 03.07 12:47:22.615 INFO [DoProcessing] GeneralInteractionMethod: MAXIMUM_DISCOUNT
- 03.07 12:47:22.615 INFO [DoProcessing] ============ LoyalCalculation: doDiscount success ============
- 03.07 12:47:22.616 TRACE [MLServiceImpl] entering getMlCardNo(Purchase). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
- 03.07 12:47:22.616 TRACE [MLServiceImpl] leaving getMlCardNo(Purchase). The result is: null
- 03.07 12:47:22.616 TRACE [MLServiceImpl] entering getMlCouponNo(PurchaseEntity). The argument is: Purchase:[number=8;dateCreate=2019-07-03 12:47:20.542;operationType=true;checkSum=6818;discount=0]
- 03.07 12:47:22.616 TRACE [MLServiceImpl] leaving getMlCouponNo(PurchaseEntity). The result is: null
- 03.07 12:47:22.616 INFO [LoyalServiceImpl] Discount calculation (Purchase #8; Positions: 1
- 03.07 12:47:22.616 WARN [LoyalServiceImpl] extractNonDiscountRelatedFields: the argument is NULL! Null will be returned!
- 03.07 12:47:22.628 INFO [LoyalBridgeServiceImpl] Total time of discount calculation = 293 ms
- 03.07 12:47:22.628 INFO [LoyalBridgeServiceImpl] ---------------- end discount calculation ----------------
- 03.07 12:47:22.633 INFO [SpeedLog] TechProcess discounts processing on cheque with 1 positions [sale] time = 310 ms
- 03.07 12:47:22.633 INFO [CommonLogger] value = 0
- 03.07 12:47:22.651 TRACE [TechProcessImpl] Start warn divide amount
- 03.07 12:47:22.651 INFO [TechProcessImpl] goToPayments
- 03.07 12:47:22.658 INFO [CheckContainer] startPayments() surcharge = 6818
- 03.07 12:47:22.663 INFO [CheckContainer] isPaymentComplete = false
- 03.07 12:47:22.663 INFO [CheckContainer] prevState = ADD_POSITION
- 03.07 12:47:22.663 INFO [CheckContainer] paid = 0
- 03.07 12:47:22.663 INFO [CheckContainer] surcharge = 6818
- 03.07 12:47:22.663 INFO [CheckContainer] getPaymentFiscalizeError = NONE
- 03.07 12:47:22.663 INFO [CheckContainer] Current payment container is ru.crystals.pos.visualization.payments.cash.CashPaymentContainer
- 03.07 12:47:22.668 INFO [CommonLogger] busy = false
- 03.07 12:47:22.669 INFO [SpeedLog] (SUBTOTAL) time = 0,355;
- 03.07 12:47:22.672 INFO [CommonLogger] busy = false
- 03.07 12:47:27.090 INFO [TransferManager] Nothing yet not processed on server to resend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement