From 96d75c3b947c03204f4a96f3f022e5de07d622da Mon Sep 17 00:00:00 2001 From: Vus Khoza Date: Tue, 26 Aug 2025 00:12:11 +0200 Subject: [PATCH] updating mpgs related changes --- logs/application.2025-07-13.0.log | 1520 ---- logs/application.2025-07-14.0.log | 6876 ----------------- logs/application.log | 28 - .../domain/dtos/ErpNextSalesInvoiceDto.java | 107 + .../domain/services/TransactionService.java | 29 +- .../handlers/CalculateChargesHandler.java | 1 - .../processors/handlers/LogicHandler.java | 2 +- .../processors/handlers/LogicPipeline.java | 2 - .../handlers/erp/PurchaseInvoiceHandler.java | 21 + .../handlers/erp/SalesInvoiceHandler.java | 40 + .../StewardIntegrationProcessor.java | 24 +- .../payments/MPGSWebPaymentProcessor.java | 30 +- src/main/resources/application-lab.properties | 23 +- src/main/resources/application.properties | 36 +- 14 files changed, 273 insertions(+), 8466 deletions(-) delete mode 100644 logs/application.2025-07-13.0.log delete mode 100644 logs/application.2025-07-14.0.log delete mode 100644 logs/application.log create mode 100644 src/main/java/zw/qantra/tm/domain/dtos/ErpNextSalesInvoiceDto.java create mode 100644 src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/PurchaseInvoiceHandler.java create mode 100644 src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/SalesInvoiceHandler.java diff --git a/logs/application.2025-07-13.0.log b/logs/application.2025-07-13.0.log deleted file mode 100644 index 13806eb..0000000 --- a/logs/application.2025-07-13.0.log +++ /dev/null @@ -1,1520 +0,0 @@ -2025-07-13 22:38:26.863 [main] INFO zw.qantra.tm.TmApplication - Starting TmApplication using Java 17.0.14 with PID 407350 (/home/vk/dev/qantra/qpay-tm/target/classes started by vk in /home/vk/dev/qantra/qpay-tm) -2025-07-13 22:38:26.864 [main] INFO zw.qantra.tm.TmApplication - The following 1 profile is active: "lab" -2025-07-13 22:38:26.864 [main] DEBUG o.s.boot.SpringApplication - Loading source class zw.qantra.tm.TmApplication -2025-07-13 22:38:26.883 [main] DEBUG o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@41d426b5 -2025-07-13 22:38:27.450 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-13 22:38:27.450 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-13 22:38:27.450 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. -2025-07-13 22:38:27.462 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 6950 (http) -2025-07-13 22:38:27.492 [main] DEBUG o.s.b.w.s.c.ServletWebServerApplicationContext - Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] -2025-07-13 22:38:27.493 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 610 ms -2025-07-13 22:38:27.503 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping filters: customCorsFilter urls=[/*] order=-2147483648, characterEncodingFilter urls=[/*] order=-2147483648, formContentFilter urls=[/*] order=-9900, requestContextFilter urls=[/*] order=-105 -2025-07-13 22:38:27.503 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping servlets: dispatcherServlet urls=[/] -2025-07-13 22:38:27.514 [main] DEBUG o.s.b.w.s.f.OrderedRequestContextFilter - Filter 'requestContextFilter' configured for use -2025-07-13 22:38:27.516 [main] DEBUG o.s.b.w.s.f.OrderedCharacterEncodingFilter - Filter 'characterEncodingFilter' configured for use -2025-07-13 22:38:27.516 [main] DEBUG o.s.b.w.s.f.OrderedFormContentFilter - Filter 'formContentFilter' configured for use -2025-07-13 22:38:27.726 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... -2025-07-13 22:38:29.629 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@24aedcc5 -2025-07-13 22:38:29.631 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. -2025-07-13 22:38:29.858 [main] WARN org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) -2025-07-13 22:38:35.657 [main] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -2025-07-13 22:38:35.696 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 36 mappings in 'requestMappingHandlerMapping' -2025-07-13 22:38:35.720 [main] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping' -2025-07-13 22:38:35.734 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice -2025-07-13 22:38:35.761 [main] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice -2025-07-13 22:38:35.812 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port 6950 (http) with context path '/api' -2025-07-13 22:38:35.817 [main] INFO zw.qantra.tm.TmApplication - Started TmApplication in 9.222 seconds (process running for 9.496) -2025-07-13 22:38:35.817 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state LivenessState changed to CORRECT -2025-07-13 22:38:35.819 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state ReadinessState changed to ACCEPTING_TRAFFIC -2025-07-13 22:39:47.301 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' -2025-07-13 22:39:47.301 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected StandardServletMultipartResolver -2025-07-13 22:39:47.301 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected AcceptHeaderLocaleResolver -2025-07-13 22:39:47.301 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected FixedThemeResolver -2025-07-13 22:39:47.301 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@339b45f8 -2025-07-13 22:39:47.301 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.support.SessionFlashMapManager@49d5c751 -2025-07-13 22:39:47.302 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data -2025-07-13 22:39:47.302 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms -2025-07-13 22:39:47.305 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 22:39:47.308 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 22:39:47.349 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@706a3d4e] -2025-07-13 22:39:47.360 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 22:39:47.361 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 22:39:47.401 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 22:39:47.882 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:39:48.083 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:39:48.281 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:39:48.487 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:39:48.704 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 22:39:48.896 [http-nio-6950-exec-1] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 22:39:48.897 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 22:39:48.911 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:39:48.918 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:39:48.921 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-13 22:39:48.938 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:39:49.108 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDAzODksImlhdCI6MTc1MjQzOTE4OSwianRpIjoiZDkxMjIzNTctMTFmYi00ZDgzLWEzZTktZThiODk2OWZhNWQ5IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.NJiNPG4JTKIKRCCw8hUrR1fVmcURLANoUWD__0asy6qij32Yf_6LSR4F592ouVhJBHbytILazjfxe1g3KwHz9U_4M9FsnFfcCwg-on-jv1MeD5kZtTFLyFsZ5I20CqjlxgB0C2RTOBt68i4fhgYM9i0w6zacQVm-IQo26cL_x3A8_WBXSprJYwqmn-xaiv6UWtKtIrA1JpY04fW9eEVwsYnsi6RA2bM9TwWodqOeW-LRxbilq4k94Tt5x0ri3eGvqV91dIbeoqdbXlGl2b0dRG2iBh4WZl_JF0ceIwCtbLX2qefiMNrCwlxUtfNqUnTqXav6WjkSIQZjQv0poxFhLA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:39:49.109 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:39:49.110 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:39:49.113 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 22:39:49.114 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:39:49.119 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 22:39:49.120 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 22:39:49.387 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 22:39:49.387 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:39:49.388 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:39:49.389 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: {message=Successful Request, body={type=CONFIRM, amount=1, debitPhone=263773591219, debitAccount=1046737845, debitCurrency=USD, debitRef=peak, creditPhone=+263773591219, creditAccount=37132352511, aggregatorId=steward_pay, billName=Zesa, billClientId=powertel_zesa, status=FAILED, additionalData=[{name=Merchant, value=ZESA}, {name=Transaction Type, value=CONFIRM}, {name=Error Message, value=Amount must be between $5.00 and $10000.00}]}, errors=null, status=200} -2025-07-13 22:39:49.414 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 22:39:49.825 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"f58a0646-dc2e-4379-af9a-bc18dc04556a","createdAt":"2025-07-13T22:39:49.411766","updatedAt":"2025-07-13T22:39:49.411792","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"bf724617-987f-4d25-8cc0-c147dd2da3d5","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"9d4c36a9-e331-445e-b375-7cc4041ed069","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","status":"FAILED"} -2025-07-13 22:39:49.837 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:39:49.837 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@706a3d4e] -2025-07-13 22:39:49.840 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:39:59.733 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 22:39:59.734 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 22:39:59.736 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@52822897] -2025-07-13 22:39:59.745 [http-nio-6950-exec-3] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 22:39:59.745 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 22:39:59.747 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 22:40:00.150 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:40:00.367 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:40:00.558 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:40:00.774 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:40:00.981 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 22:40:01.185 [http-nio-6950-exec-3] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 22:40:01.186 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 22:40:01.186 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:40:01.186 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:40:01.187 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-13 22:40:01.187 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:40:01.268 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDA0MDEsImlhdCI6MTc1MjQzOTIwMSwianRpIjoiY2FmNzczMmEtYjA5NS00MGQ1LTg5MmEtNmY1Mzg3ZGY1NjA2IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.GC2MPBFYxj_JyfOTD_CoNeRoYxEkZgZeOKxd0igZTFsu-hUK1M_9H18YZESbOfGOPIpaiP2c_2Wzm1joQLiAlWfDFdqyS7SPVU5g6Ze2txRPAYEYpsAJ3vhzCO7rD8PxK-SfFyCP_6A0OEYyjpchW7GoeM-F6pFh_ysHYrAIgQCuIgDBtc69Q4liK-mk3sosPU9pir8U735fyObCv7kiBITITPAGTXpop_FoW6x0nZH8d6p9VkecZ53_laeSn_U_Xb1XdJaR2f7BfsHP4abB8WGeIzfVHkrjClG7dxpKpWz8nOYqmJ_7fuFfnStvlmMfi3z2sEw69s_e7xXTwfaezA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:40:01.268 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:40:01.268 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:40:01.269 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 22:40:01.270 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:40:01.270 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 22:40:01.270 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 22:40:01.492 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 22:40:01.492 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:40:01.493 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:40:01.493 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: {message=Successful Request, body={type=CONFIRM, amount=1, debitPhone=263773591219, debitAccount=1046737845, debitCurrency=USD, debitRef=peak, creditPhone=+263773591219, creditAccount=37132352511, aggregatorId=steward_pay, billName=Zesa, billClientId=powertel_zesa, status=FAILED, additionalData=[{name=Merchant, value=ZESA}, {name=Transaction Type, value=CONFIRM}, {name=Error Message, value=Amount must be between $5.00 and $10000.00}]}, errors=null, status=200} -2025-07-13 22:40:01.495 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 22:40:01.905 [http-nio-6950-exec-3] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"ba59087c-20d5-4a8b-bd47-8276ea0ad6fa","createdAt":"2025-07-13T22:40:01.495448","updatedAt":"2025-07-13T22:40:01.495475","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"c0921dec-2fcf-4c9a-90f9-e66ded8f1780","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"0cf78caa-042c-4ea1-a3bb-544465188e82","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","status":"FAILED"} -2025-07-13 22:40:01.906 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:40:01.906 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@52822897] -2025-07-13 22:40:01.907 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:40:36.902 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 22:40:36.902 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 22:40:36.903 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@1a51b5da] -2025-07-13 22:40:36.907 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 22:40:36.908 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 22:40:36.912 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 22:40:37.314 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:40:37.518 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:40:37.713 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:40:37.902 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:40:38.103 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 22:40:38.356 [http-nio-6950-exec-5] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 22:40:38.356 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 22:40:38.356 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:40:38.357 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:40:38.357 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-13 22:40:38.357 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:40:38.530 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDA0MzgsImlhdCI6MTc1MjQzOTIzOCwianRpIjoiZTZhOWFiZTUtOGFiOC00YTczLTkzYTYtN2FmN2FiMGNhYWFjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.NFHwJQ882EVaHtA86ITd-53BHQ8cFeUoIX3QlT0-qq10rctw9fvQnCK8lo1_q5EXsa-eUmCWntj9gOY3TXe1Nh38SeZV1baw23zAP3ycQKihetsHW6Una3pBQDf34vTSWjRayYbXZehPpXXNNrTFhW1SKoOwMD7iRlWkyxOyX0MjIEB_Vk-zf3pfm2L2w2Zc5iZvQ2AGXEdUdKynS3ky7Di3Jq7vxvujhRqcCG2ziJ2BaFpSfS-Tq_M2xth49Mjhbd5T8UcOCxaQiMN4plgvlJIu7P9ggDIW3YoahXpf3oEnuZv2XIBdZF6AR0oebZ22GYwZ-t-g_0-nYO_WUqUYYw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:40:38.530 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:40:38.530 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:40:38.531 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 22:40:38.531 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:40:38.532 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 22:40:38.532 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 22:40:38.641 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 22:40:38.642 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:40:38.642 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:40:38.642 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: {message=Successful Request, body={type=CONFIRM, amount=1, debitPhone=263773591219, debitAccount=1046737845, debitCurrency=USD, debitRef=peak, creditPhone=+263773591219, creditAccount=37132352511, aggregatorId=steward_pay, billName=Zesa, billClientId=powertel_zesa, status=FAILED, additionalData=[{name=Merchant, value=ZESA}, {name=Transaction Type, value=CONFIRM}, {name=Error Message, value=Amount must be between $5.00 and $10000.00}]}, errors=null, status=200} -2025-07-13 22:40:38.644 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 22:40:39.076 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"add652ae-8d78-473a-b881-99cb3f9c2418","createdAt":"2025-07-13T22:40:38.644058","updatedAt":"2025-07-13T22:40:38.64408","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"dd6c2268-3525-4b0d-ae18-7acb890fd34f","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"453c7b16-1d25-4922-a95f-af0d6fc9a780","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","status":"FAILED"} -2025-07-13 22:40:39.076 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:40:39.076 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@1a51b5da] -2025-07-13 22:40:39.078 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:43:31.866 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 22:43:31.867 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 22:43:31.869 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@48417954] -2025-07-13 22:43:31.873 [http-nio-6950-exec-7] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 22:43:31.874 [http-nio-6950-exec-7] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 22:43:31.875 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 22:43:32.253 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:43:32.443 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:43:32.632 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:43:32.821 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:43:33.012 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 22:43:33.204 [http-nio-6950-exec-7] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 22:43:33.204 [http-nio-6950-exec-7] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 22:43:33.204 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:43:33.204 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:43:33.204 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-13 22:43:33.205 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:43:33.279 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDA2MTMsImlhdCI6MTc1MjQzOTQxMywianRpIjoiMmM5M2VmOGMtMmFmZi00ZmYxLWJkMDQtM2MzOGQ5Y2M2MWVkIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.awdWWrbURFe_n7BmjbaIugfQD-FuQwuOK4PFNOTNK5EZy1BiLyyL-MTD3AaNPq8lSbbi8_SoRagIxYRLNV24Z6cmcCuYUrrS_uFbAkVbQNBDQDSXHfbdYmfeeISQOXDhn_GauAdkLOU-BmnQfHsE5G4Yi4kEnlSZQW-PLAQ2l8XhQ5DRnUnQ3N8Qoo3PbpXroL0LPDcOH1M8OzU4zqlX5V30EIZxNWwyFvQ8MbJJPISuBdD8_647ILPrd2GBHIA0dxbugoGpqnp4CXMBqEFrPOS1H2BE-VScVWoQkUlcZDlWvTU3OlutmoF9uJTscqQi64mRpfHoiFZ5-zgy7Qgttg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:43:33.279 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:43:33.279 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:43:33.280 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 22:43:33.280 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:43:33.280 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 22:43:33.281 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 22:43:33.404 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 22:43:33.404 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:43:33.405 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:43:33.405 [http-nio-6950-exec-7] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: {message=Successful Request, body={type=CONFIRM, amount=1, debitPhone=263773591219, debitAccount=1046737845, debitCurrency=USD, debitRef=peak, creditPhone=+263773591219, creditAccount=37132352511, aggregatorId=steward_pay, billName=Zesa, billClientId=powertel_zesa, status=FAILED, additionalData=[{name=Merchant, value=ZESA}, {name=Transaction Type, value=CONFIRM}, {name=Error Message, value=Amount must be between $5.00 and $10000.00}]}, errors=null, status=200} -2025-07-13 22:43:33.407 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 22:43:33.789 [http-nio-6950-exec-7] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"06f3c703-6a6a-44c2-b1e1-c6da5b9f369d","createdAt":"2025-07-13T22:43:33.407589","updatedAt":"2025-07-13T22:43:33.407617","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"0b6e65df-598d-4372-9c91-17a397b6a170","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"0bd2530b-e084-4a00-9866-f1775150be8d","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","status":"FAILED"} -2025-07-13 22:43:33.789 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:43:33.789 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@48417954] -2025-07-13 22:43:33.791 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:43:42.411 [main] INFO zw.qantra.tm.TmApplication - Starting TmApplication using Java 17.0.14 with PID 413556 (/home/vk/dev/qantra/qpay-tm/target/classes started by vk in /home/vk/dev/qantra/qpay-tm) -2025-07-13 22:43:42.412 [main] INFO zw.qantra.tm.TmApplication - The following 1 profile is active: "lab" -2025-07-13 22:43:42.413 [main] DEBUG o.s.boot.SpringApplication - Loading source class zw.qantra.tm.TmApplication -2025-07-13 22:43:42.433 [main] DEBUG o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7502291e -2025-07-13 22:43:42.980 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-13 22:43:42.981 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-13 22:43:42.981 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. -2025-07-13 22:43:42.992 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 6950 (http) -2025-07-13 22:43:43.023 [main] DEBUG o.s.b.w.s.c.ServletWebServerApplicationContext - Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] -2025-07-13 22:43:43.024 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 591 ms -2025-07-13 22:43:43.033 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping filters: customCorsFilter urls=[/*] order=-2147483648, characterEncodingFilter urls=[/*] order=-2147483648, formContentFilter urls=[/*] order=-9900, requestContextFilter urls=[/*] order=-105 -2025-07-13 22:43:43.033 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping servlets: dispatcherServlet urls=[/] -2025-07-13 22:43:43.044 [main] DEBUG o.s.b.w.s.f.OrderedRequestContextFilter - Filter 'requestContextFilter' configured for use -2025-07-13 22:43:43.046 [main] DEBUG o.s.b.w.s.f.OrderedCharacterEncodingFilter - Filter 'characterEncodingFilter' configured for use -2025-07-13 22:43:43.046 [main] DEBUG o.s.b.w.s.f.OrderedFormContentFilter - Filter 'formContentFilter' configured for use -2025-07-13 22:43:43.277 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... -2025-07-13 22:43:45.226 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@455cbf18 -2025-07-13 22:43:45.227 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. -2025-07-13 22:43:45.436 [main] WARN org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) -2025-07-13 22:43:51.345 [main] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -2025-07-13 22:43:51.388 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 36 mappings in 'requestMappingHandlerMapping' -2025-07-13 22:43:51.417 [main] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping' -2025-07-13 22:43:51.432 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice -2025-07-13 22:43:51.453 [main] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice -2025-07-13 22:43:51.505 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port 6950 (http) with context path '/api' -2025-07-13 22:43:51.509 [main] INFO zw.qantra.tm.TmApplication - Started TmApplication in 9.332 seconds (process running for 9.594) -2025-07-13 22:43:51.510 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state LivenessState changed to CORRECT -2025-07-13 22:43:51.511 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state ReadinessState changed to ACCEPTING_TRAFFIC -2025-07-13 22:44:05.675 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' -2025-07-13 22:44:05.675 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected StandardServletMultipartResolver -2025-07-13 22:44:05.675 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected AcceptHeaderLocaleResolver -2025-07-13 22:44:05.675 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected FixedThemeResolver -2025-07-13 22:44:05.676 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@3b4b2c03 -2025-07-13 22:44:05.676 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.support.SessionFlashMapManager@7acbd3d0 -2025-07-13 22:44:05.676 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data -2025-07-13 22:44:05.676 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms -2025-07-13 22:44:05.679 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 22:44:05.683 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 22:44:05.725 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@6883b2a4] -2025-07-13 22:44:05.737 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 22:44:05.738 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 22:44:05.780 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 22:44:06.249 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:44:06.541 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:44:06.842 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:44:07.046 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:44:07.255 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 22:44:07.444 [http-nio-6950-exec-1] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 22:44:07.445 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 22:44:07.458 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:44:07.461 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:44:07.463 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 22:44:07.470 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:44:07.593 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDA2NDcsImlhdCI6MTc1MjQzOTQ0NywianRpIjoiOGYyYTUzZmEtMzhkNy00ZWY5LWIxNjUtYzdjMGZiZWQ2NWRjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.k5V0EN-kois8e6Rn7HRO9wJH4KRSNG-IpWhkCBVHgBoIzsJaIuhXfzynGWxbSDdgb0-hDIbcE6WDeQ7CYrOe7p_2XBXZCT-Xt0uIjxIzQ-qwXPLuyIAwN8itWLfEStM5zjpNqdOki2Ld_nPk_IRUsxV7leAXzFv62Vq_rs6nVlmZlffit5RGfBwiChHKb5K8oJdzagW9sqCikkGmI0dL9WdS4N-yo6i9qGB4kcPy7XBbGZ_ulE9TF4k-S7JOVzm5_4fJeMoWvwwqgnyPrmwc8wnubWtR-Bsw6GnUfAvVVB9qEIRItmJk52NnY4jSMA-k5U2MxU4e9qdVO40_hJArZg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:44:07.594 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:44:07.595 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:44:07.598 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 22:44:07.599 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:44:07.604 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 22:44:07.605 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 22:44:07.690 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 22:44:07.691 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:44:07.691 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:44:07.697 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: -{ - "message" : "Successful Request", - "body" : { - "type" : "CONFIRM", - "amount" : "1", - "debitPhone" : "263773591219", - "debitAccount" : "1046737845", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "aggregatorId" : "steward_pay", - "billName" : "Zesa", - "billClientId" : "powertel_zesa", - "status" : "FAILED", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Error Message", - "value" : "Amount must be between $5.00 and $10000.00" - } ] - }, - "status" : 200 -} -2025-07-13 22:44:07.720 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 22:44:08.181 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"d6e5bb69-0b20-4267-b3b0-fd46a1e1d8f8","createdAt":"2025-07-13T22:44:07.712915","updatedAt":"2025-07-13T22:44:07.712943","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"738350ff-c021-40ff-bd23-751a4d0727f7","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"b3e10d28-e355-4024-909e-3e082044085d","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","status":"FAILED"} -2025-07-13 22:44:08.197 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:44:08.198 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@6883b2a4] -2025-07-13 22:44:08.206 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:44:32.452 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 22:44:32.453 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 22:44:32.455 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@623494a2] -2025-07-13 22:44:32.463 [http-nio-6950-exec-3] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 22:44:32.463 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 22:44:32.464 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 22:44:32.842 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:44:33.033 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:44:33.221 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:44:33.466 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:44:33.658 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 22:44:33.876 [http-nio-6950-exec-3] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 22:44:33.876 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 22:44:33.877 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:44:33.877 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:44:33.878 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 22:44:33.878 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:44:33.963 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDA2NzMsImlhdCI6MTc1MjQzOTQ3MywianRpIjoiNzZmNDBiN2UtNWFjOC00ZTk4LWE3MjItZDk2MDRiYTliMjgyIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.G_5zvpBAxhe1rjUEjcTscsux1eUzmkcPyl5BAExefH2XDcXl1ZkMSxsfBocln8cToGaofxL9XXySNT8FRh72S_nLwzb4BbzbParzGZAi6IwxyVd7ayYB95fZgPUAqcQak163rNMhRJG9Jy9_XzpgKPKfUAdDWHn9uVQSltkrq_DhdOccQsn_D5f2sh4OHsFSK7NT_uoStpBT4HxhNiZvoOPZnotuM8Rg1Q60tsyMf2xgmWoglTVvoZyi5i29OaF2rt2_6WMhHtfx7JTc6aNJxswrg2di3t0_kd_WKFdcAmFKsuvpuG5INxIHCYnfjXhF9RHs0sWf7g81dBWejjqCaQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:44:33.964 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:44:33.964 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:44:38.287 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 22:44:38.289 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:44:38.293 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 22:44:38.302 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 22:44:38.477 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 22:44:38.479 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:44:38.484 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:44:39.285 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: -{ - "message" : "Successful Request", - "body" : { - "type" : "CONFIRM", - "amount" : "1", - "debitPhone" : "263773591219", - "debitAccount" : "1046737845", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "aggregatorId" : "steward_pay", - "billName" : "Zesa", - "billClientId" : "powertel_zesa", - "status" : "FAILED", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Error Message", - "value" : "Amount must be between $5.00 and $10000.00" - } ] - }, - "status" : 200 -} -2025-07-13 22:45:14.530 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 22:45:14.946 [http-nio-6950-exec-3] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"7182de63-dcfa-4321-84f0-a391fa5f2b40","createdAt":"2025-07-13T22:45:14.525961","updatedAt":"2025-07-13T22:45:14.526016","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"12218c8f-80d8-4409-8aae-4801bf031b77","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"c31343b9-ad68-4a3b-8e96-1dab3073f10d","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","status":"FAILED"} -2025-07-13 22:45:14.947 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:45:14.947 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@623494a2] -2025-07-13 22:45:14.949 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:48:06.667 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 22:48:06.667 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 22:48:06.669 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@4bad6af7] -2025-07-13 22:48:06.674 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 22:48:06.674 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 22:48:06.676 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 22:48:07.074 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:48:07.269 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:48:07.459 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 22:48:07.687 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 22:48:07.894 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 22:48:08.097 [http-nio-6950-exec-5] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 22:48:08.098 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 22:48:08.098 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:48:08.099 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:48:08.099 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 22:48:08.099 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:48:08.201 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDA4ODgsImlhdCI6MTc1MjQzOTY4OCwianRpIjoiMGM4NTEyZjUtOTIyMC00YjY3LTg4NGQtMGRiNzIyY2I5N2NjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.aeaccLJrpel9S2jBM16rPjCbw84UWRAViRn0qPh1k_jVt3niij-waax3TG4Ik6TsIQvJWBUQJwAMCyrnar--wmVE5Ds2Xyrn6xFQIAMUwDSFJy_j2uswg5k_U-cNgU6c0uFFCDZP_lo4RtW81SinHosGHjW-Wv6UbMNkRwHrUoohTjAmBtb0agoby5mxz1yxvk8byZH1IY_xj7KoNcSy7NhPwd97itcOgifivnEUKAZGLv5sZg1V6lPQuxlhWkrnFSs-HoOGMDT-DGU222q68KOMeyTUzBbRP_aRW7QK29HVWXREyKhDLbDn2ZUgHPx5N99SUgvcdNT9oc0BIGjgcQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:48:08.201 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:48:08.202 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:48:08.203 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 22:48:08.203 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:48:08.203 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 22:48:08.204 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 22:48:08.406 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 22:48:08.406 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:48:08.407 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:48:08.408 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: -{ - "message" : "Successful Request", - "body" : { - "type" : "CONFIRM", - "amount" : "1", - "debitPhone" : "263773591219", - "debitAccount" : "1046737845", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "aggregatorId" : "steward_pay", - "billName" : "Zesa", - "billClientId" : "powertel_zesa", - "status" : "FAILED", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Error Message", - "value" : "Amount must be between $5.00 and $10000.00" - } ] - }, - "status" : 200 -} -2025-07-13 22:48:08.411 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 22:48:08.802 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"84ca7e79-48d3-493c-96bb-10886205cad2","createdAt":"2025-07-13T22:48:08.411324","updatedAt":"2025-07-13T22:48:08.411357","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"ddfe0896-d0e1-4c4a-b1c0-093b12da37a3","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"f6141ba8-9e7a-4186-bdc9-356de0d20723","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","status":"FAILED"} -2025-07-13 22:48:08.803 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:48:08.803 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@4bad6af7] -2025-07-13 22:48:08.804 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:59:47.325 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-13 22:59:47.326 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-13 22:59:47.712 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-13 22:59:48.529 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 22:59:48.530 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:59:48.530 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 22:59:48.531 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 22:59:48.936 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDE1ODgsImlhdCI6MTc1MjQ0MDM4OCwianRpIjoiYjJjNzE0MTgtYjJmMC00YjIyLThkMTctYTUzNWNjZmMzNTUyIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.iAb74ccrdmmyjUoS7WI73rqbr_LKXBVysNmmAv_zhid-j66NVkEcXu0bpt6u6fcUn5IjujtQNcRCEInFKuR9ygUvXS80HeRSUFJiUAq8uWsUNy-Ek4phlC6hj9Woc8omJMjdynS6yMmhColiZgXGSold0IqH5bB1RSYqswbjd_611Q18tsQND-5WRZXHvVcnWmcWth1zljBY0zlkwN1n5kaIi3vOqqj0osIytuf9pImb830fTQhYMa5jyy8VUL7odHhR0kYnwMdNW23-TCqmf78jqjdit_KyGhv7d03nJMNdjm9XrmjAHHmC0YpDBrmlZn1xywLvpbzp_SW31QhJ6g", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 22:59:48.937 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:59:48.937 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 22:59:48.940 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-13 22:59:48.941 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 22:59:48.943 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-13 22:59:49.352 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-13 22:59:49.353 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 22:59:49.353 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 22:59:49.359 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:59:49.359 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-13 22:59:49.359 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:59:49.544 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-13 22:59:49.545 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-13 22:59:49.565 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-13 22:59:50.050 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:59:50.050 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@7350ff08]] -2025-07-13 22:59:50.052 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 22:59:57.937 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-13 22:59:57.937 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-13 22:59:58.143 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-13 22:59:58.531 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 22:59:58.532 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@2278cb3f, zw.qantra.tm.domain.models.Recipient@18b1846c]] -2025-07-13 22:59:58.536 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 23:00:02.778 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-13 23:00:02.779 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-13 23:00:02.782 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 23:00:02.782 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:00:02.782 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 23:00:02.783 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 23:00:02.856 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDE2MDIsImlhdCI6MTc1MjQ0MDQwMiwianRpIjoiNWY5YjRmZTQtYThkZC00MTBiLWE3ZTItYmViYTQ4YzEyMWRlIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.Ny0QLFUrDV3qOWfKHhU7y0-GeIHIHKo434mhDoBYnIxwHXVYXTwfWo8exGu1Sq2hrxpqsecU3mWrHDcnQBFR0su_2lSVnqnWDfKw6VIgfzzzRq2ur2DXhKLWwcWx3QIQ9XKA7pFjSAJDnVqKsKAjrlNIDw2vOtO7Ziz4VezFrwAcdgRV8wn2_EDFDdYgsqHDy_43_TdCkFzsnGAKndoui_doG3l8mMdaBGrW46c5YamjNF1ihVH1VFVZaIMkxw9mXOfAuTqpBaH45ABRFaThCaexpCfT3TzvFHR7sfuY_fKnd0dRwa3VLYvUtfr0Adwg4_zmNjJWd3AyPfRm4k6xEA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 23:00:02.856 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:00:02.856 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 23:00:02.857 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-13 23:00:02.857 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:00:02.857 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-13 23:00:02.933 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-13 23:00:02.934 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:00:02.934 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 23:00:02.934 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 23:00:02.934 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-13 23:00:02.935 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 23:00:31.003 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 23:00:31.003 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 23:00:31.005 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@2fb23e9e] -2025-07-13 23:00:31.011 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 23:00:31.011 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 23:00:31.013 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 23:00:31.393 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:00:31.585 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:00:31.774 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:00:31.963 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:00:32.154 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 23:00:32.343 [http-nio-6950-exec-4] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 23:00:32.343 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 23:00:32.344 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 23:00:32.344 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:00:32.344 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 23:00:32.345 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 23:00:32.419 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDE2MzIsImlhdCI6MTc1MjQ0MDQzMiwianRpIjoiZjg0MmFjZjktZGIxNC00YjJmLThmYTYtYjE1YTczMmMzZDYyIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.iqQGHou29u1PcXKq163DC9JjR_jOky3YOTnKHCZBPhJpEUzJZaVQZ_qt8Oj3ZNQGh-qLytYKNEgsdujOzfS5-558eU1EjyY_mWjkZrWH20x7ncik_hN9UcuuWMwWBM2zWPx1JyDL8Fi1cz-3WgnLNkZ54jY_aazFPaVgPdjSzkd0tS6hiiKfpC5U1p5Wyu8KzZWT_rR2kcAtJeZs2Dbh_O7KknPsuTnYlhbjBoCSJKkjRzy-spkh-kf7AKb-HeaFhQb-7YDSFHVV43QxVgVeux8mvlUlfSTr_2MIHCQYMT1-tmpTLntT0a49q3LMxQpayROZKtl5NsydNL8KDvWBcA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 23:00:32.419 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:00:32.419 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 23:00:32.419 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 23:00:32.419 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:00:32.419 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 23:00:32.420 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 23:00:32.657 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "errorMessage": "Amount must be between $5.00 and $10000.00", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 23:00:32.657 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:00:32.658 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 23:00:32.659 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: -{ - "message" : "Successful Request", - "body" : { - "type" : "CONFIRM", - "amount" : "1", - "debitPhone" : "263773591219", - "debitAccount" : "1046737845", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "aggregatorId" : "steward_pay", - "billName" : "Zesa", - "billClientId" : "powertel_zesa", - "errorMessage" : "Amount must be between $5.00 and $10000.00", - "status" : "FAILED", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Error Message", - "value" : "Amount must be between $5.00 and $10000.00" - } ] - }, - "status" : 200 -} -2025-07-13 23:00:32.662 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:00:33.045 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"e3dc74e5-6813-46a9-8e5f-b359b9e1fcf3","createdAt":"2025-07-13T23:00:32.661933","updatedAt":"2025-07-13T23:00:32.661951","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"ae4d9ee7-7991-464c-b787-98db592c303f","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"6a98e5c4-a7ec-4651-9575-6e54563cded8","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"Amount must be between $5.00 and $10000.00","status":"FAILED"} -2025-07-13 23:00:33.046 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 23:00:33.046 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@2fb23e9e] -2025-07-13 23:00:33.048 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 23:00:40.903 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 23:00:40.904 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 23:00:40.905 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@2bb14368] -2025-07-13 23:00:40.908 [http-nio-6950-exec-6] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":1,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 23:00:40.909 [http-nio-6950-exec-6] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 23:00:40.910 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 23:00:41.355 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:00:41.546 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:00:41.743 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:00:41.967 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:00:42.159 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 23:00:42.347 [http-nio-6950-exec-6] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 23:00:42.347 [http-nio-6950-exec-6] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 23:00:42.348 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 23:00:42.348 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:00:42.348 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 23:00:42.348 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 23:00:42.418 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDE2NDIsImlhdCI6MTc1MjQ0MDQ0MiwianRpIjoiYzk3ZGU2ZDAtYTlmOS00NDJmLWIyZWEtZWJiMTRlNjJhMzk5IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.ZkvtM-08hseCoGuj-p15XLSsYMdNmmENN_hHB7UMoLimXsfYNEggPlwqfnktlK5aqz8HS1BkOR8a1nkveC1KbJz2auriBIl8xHGI2603Rgyt19-jJu0yz7GpQo3PD5BZMsP2mR6TOoBNxCJBhGf_hLX2ziSj765wkXATHjVEtQ_j-dhqJyw1_QogGz9mpFkmou4yKzF8c15vHqjeB5gCjUrc1O9pOhePTly5SXE2gGuilT7RCi4_Up1KDchaaLpKBDa5L5IUJ_06nEcGWJaSAg30s5herxtFx55sbwhAh_ttcGNeqxN1fw4zdVAgMAGg3LusnHrgZ1j-z10dAc8AmQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 23:00:42.419 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:00:42.419 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 23:00:42.420 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 23:00:42.420 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:00:42.420 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 23:00:42.421 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 23:00:42.567 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "errorMessage": "Amount must be between $5.00 and $10000.00", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-13 23:00:42.567 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:00:42.568 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 23:00:42.568 [http-nio-6950-exec-6] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: -{ - "message" : "Successful Request", - "body" : { - "type" : "CONFIRM", - "amount" : "1", - "debitPhone" : "263773591219", - "debitAccount" : "1046737845", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "aggregatorId" : "steward_pay", - "billName" : "Zesa", - "billClientId" : "powertel_zesa", - "errorMessage" : "Amount must be between $5.00 and $10000.00", - "status" : "FAILED", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Error Message", - "value" : "Amount must be between $5.00 and $10000.00" - } ] - }, - "status" : 200 -} -2025-07-13 23:00:42.572 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:00:42.958 [http-nio-6950-exec-6] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"f06058d2-fc17-4bc6-bbbe-27c5b3e7bc95","createdAt":"2025-07-13T23:00:42.572201","updatedAt":"2025-07-13T23:00:42.572222","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"604fb724-282d-430b-91fc-484dbe4ff6e1","amount":1,"charge":0,"gatewayCharge":0.01,"tax":0,"totalAmount":1.01,"reference":"7339db0f-c9f8-4d87-8841-ece52fad071d","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"Amount must be between $5.00 and $10000.00","status":"FAILED"} -2025-07-13 23:00:42.958 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 23:00:42.958 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@2bb14368] -2025-07-13 23:00:42.963 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 23:03:01.699 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 23:03:01.700 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 23:03:01.702 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@27f1050b] -2025-07-13 23:03:01.707 [http-nio-6950-exec-8] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","amount":5,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"PENDING"} -2025-07-13 23:03:01.707 [http-nio-6950-exec-8] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 23:03:01.709 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 23:03:02.155 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:03:02.344 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:03:02.532 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:03:02.721 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:03:02.913 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-13 23:03:03.118 [http-nio-6950-exec-8] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-13 23:03:03.118 [http-nio-6950-exec-8] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-13 23:03:03.118 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-13 23:03:03.119 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:03:03.119 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-13 23:03:03.119 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-13 23:03:03.198 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDE3ODMsImlhdCI6MTc1MjQ0MDU4MywianRpIjoiNDA1OGMzYjEtMDg3Zi00NDkyLWE4YjgtNWU2OTJiMzI3YWJmIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.TktTnz0XRbWSN5s-oprdimRKk9MMUbxy4ewDVKxer5uurIZyItWlOeNlA-P7YlCsdjqetqjVxnIT0QkUSgrLvfKQgZRpF-YP2_-sRNCkTV3_-Gx956PG8dQZEvGcPP4IQCnn5wgbsVXAq20t8LuNUID7puzcTUlTpUm_gSa69MOduyUc1CsXWKn5JJxcmRGI3IeG9yALbhbfpkKuw2b2-z2ChOPNeOhCkd0dMgj6uoG8YDwjm631yHymkg8ytxt-8YxXjLf1ZfVyB1Ph6T7pRYIU6St5z310_sp06zR1M0lzY7XfMqj0PWxVSAFWDGgxpahQCcfZlAo4F4kFVanwEg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-13 23:03:03.198 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:03:03.198 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-13 23:03:03.198 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-13 23:03:03.199 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-13 23:03:03.199 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=5, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-13 23:03:03.199 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 5.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-13 23:03:03.370 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "5", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "SUCCESS", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Recipient Phone", - "value": "+263773591219" - }, - { - "name": "Account", - "value": "37132352511" - }, - { - "name": "Currency", - "value": "USD" - }, - { - "name": "Amount", - "value": "5" - }, - { - "name": "Customer", - "value": "HEART OF FURNITURE|null" - }, - { - "name": "Customer\u0027s Address", - "value": "274 WILLOWVALE RD|||null" - } - ] - }, - "status": 200.0 -} -2025-07-13 23:03:03.371 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-13 23:03:03.371 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-13 23:03:03.371 [http-nio-6950-exec-8] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - response: -{ - "message" : "Successful Request", - "body" : { - "type" : "CONFIRM", - "amount" : "5", - "debitPhone" : "263773591219", - "debitAccount" : "1046737845", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "aggregatorId" : "steward_pay", - "billName" : "Zesa", - "billClientId" : "powertel_zesa", - "status" : "SUCCESS", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Recipient Phone", - "value" : "+263773591219" - }, { - "name" : "Account", - "value" : "37132352511" - }, { - "name" : "Currency", - "value" : "USD" - }, { - "name" : "Amount", - "value" : "5" - }, { - "name" : "Customer", - "value" : "HEART OF FURNITURE|null" - }, { - "name" : "Customer's Address", - "value" : "274 WILLOWVALE RD|||null" - } ] - }, - "status" : 200 -} -2025-07-13 23:03:03.373 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:03:03.794 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-13 23:03:04.191 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.account=? and r1_0.user_id=? -2025-07-13 23:03:04.409 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - insert into recipient (account,address,created_at,email,initials,latest_provider_label,name,phone_number,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:03:04.791 [http-nio-6950-exec-8] INFO z.q.t.d.c.TransactonController - outgoing transaction: {"id":"91b8145c-533e-4bfa-9bf4-d509b77ca1d5","createdAt":"2025-07-13T23:03:03.373301","updatedAt":"2025-07-13T23:03:03.373316","userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"50210344-8f00-4b9d-a045-71b7e00c671c","amount":5,"charge":0,"gatewayCharge":0.05,"tax":0.10,"totalAmount":5.15,"reference":"549f5657-9de0-48f3-9691-8c12beb971d4","paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"CONFIRM","errorMessage":"","status":"SUCCESS","additionalData":[{"name":"Merchant","value":"ZESA"},{"name":"Transaction Type","value":"CONFIRM"},{"name":"Recipient Phone","value":"+263773591219"},{"name":"Account","value":"37132352511"},{"name":"Currency","value":"USD"},{"name":"Amount","value":"5"},{"name":"Customer","value":"HEART OF FURNITURE|null"},{"name":"Customer's Address","value":"274 WILLOWVALE RD|||null"}]} -2025-07-13 23:03:04.792 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 23:03:04.792 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@27f1050b] -2025-07-13 23:03:04.793 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-13 23:03:15.513 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-13 23:03:15.514 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-13 23:03:15.515 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@7bc11ddb] -2025-07-13 23:03:15.518 [http-nio-6950-exec-10] INFO z.q.t.d.c.TransactonController - incoming transaction: {"userId":"9db7116e-51bb-442c-9225-9345a3136577","trace":"50210344-8f00-4b9d-a045-71b7e00c671c","amount":5,"paymentProcessorLabel":"ECOCASH","providerLabel":"ZESA","debitPhone":"","debitAccount":"","debitCurrency":"USD","debitRef":"peak","creditPhone":"+263773591219","creditAccount":"37132352511","creditName":"","creditEmail":"","billClientId":"powertel_zesa","billName":"Zesa","paymentProcessorName":"EcoCash","providerImage":"zesa.png","paymentProcessorImage":"ecocash.png","type":"REQUEST","authType":"WEB","errorMessage":"","status":"PENDING"} -2025-07-13 23:03:15.518 [http-nio-6950-exec-10] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-13 23:03:15.519 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-13 23:03:15.961 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:03:16.181 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:03:16.386 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:03:16.591 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:03:16.782 [http-nio-6950-exec-10] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_WEB -2025-07-13 23:03:16.784 [http-nio-6950-exec-10] ERROR z.q.t.d.s.f.PaymentProcessorFactory - Couldn't find payment processor: No bean named 'REQUEST_ECOCASH_WEB' available -2025-07-13 23:03:16.787 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Using @ExceptionHandler zw.qantra.tm.exceptions.GeneralExceptionHandler#handleAllExceptions(Exception, WebRequest) -2025-07-13 23:03:16.791 [http-nio-6950-exec-10] INFO z.q.t.e.GeneralExceptionHandler - errors Couldn't find payment processor for path uri=/api/transaction -2025-07-13 23:03:16.792 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-13 23:03:16.792 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [{success=false, message=Internal Server Error, body=null, errors=[Couldn't find payment processor], (truncated)...] -2025-07-13 23:03:16.795 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [zw.qantra.tm.exceptions.ApiException: Couldn't find payment processor] -2025-07-13 23:03:16.795 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 500 INTERNAL_SERVER_ERROR -2025-07-13 23:53:40.639 [main] INFO zw.qantra.tm.TmApplication - Starting TmApplication using Java 17.0.14 with PID 489984 (/home/vk/dev/qantra/qpay-tm/target/classes started by vk in /home/vk/dev/qantra/qpay-tm) -2025-07-13 23:53:40.640 [main] INFO zw.qantra.tm.TmApplication - The following 1 profile is active: "lab" -2025-07-13 23:53:40.640 [main] DEBUG o.s.boot.SpringApplication - Loading source class zw.qantra.tm.TmApplication -2025-07-13 23:53:40.661 [main] DEBUG o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7502291e -2025-07-13 23:53:41.213 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-13 23:53:41.213 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-13 23:53:41.213 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. -2025-07-13 23:53:41.225 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 6950 (http) -2025-07-13 23:53:41.255 [main] DEBUG o.s.b.w.s.c.ServletWebServerApplicationContext - Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] -2025-07-13 23:53:41.256 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 594 ms -2025-07-13 23:53:41.266 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping filters: customCorsFilter urls=[/*] order=-2147483648, characterEncodingFilter urls=[/*] order=-2147483648, formContentFilter urls=[/*] order=-9900, requestContextFilter urls=[/*] order=-105 -2025-07-13 23:53:41.266 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping servlets: dispatcherServlet urls=[/] -2025-07-13 23:53:41.278 [main] DEBUG o.s.b.w.s.f.OrderedRequestContextFilter - Filter 'requestContextFilter' configured for use -2025-07-13 23:53:41.279 [main] DEBUG o.s.b.w.s.f.OrderedCharacterEncodingFilter - Filter 'characterEncodingFilter' configured for use -2025-07-13 23:53:41.280 [main] DEBUG o.s.b.w.s.f.OrderedFormContentFilter - Filter 'formContentFilter' configured for use -2025-07-13 23:53:41.500 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... -2025-07-13 23:53:43.684 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@8f6b4ab -2025-07-13 23:53:43.685 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. -2025-07-13 23:53:43.983 [main] WARN org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) -2025-07-13 23:53:46.039 [main] DEBUG org.hibernate.SQL - alter table if exists payment_processor add column account_field_label varchar(255) -2025-07-13 23:53:46.321 [main] DEBUG org.hibernate.SQL - alter table if exists payment_processor add column account_field_name varchar(255) -2025-07-13 23:53:46.612 [main] DEBUG org.hibernate.SQL - alter table if exists payment_processor add column auth_type varchar(255) -2025-07-13 23:53:51.869 [main] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -2025-07-13 23:53:51.912 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 43 mappings in 'requestMappingHandlerMapping' -2025-07-13 23:53:51.931 [main] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping' -2025-07-13 23:53:51.948 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice -2025-07-13 23:53:51.970 [main] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice -2025-07-13 23:53:52.019 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port 6950 (http) with context path '/api' -2025-07-13 23:53:52.024 [main] INFO zw.qantra.tm.TmApplication - Started TmApplication in 11.657 seconds (process running for 11.92) -2025-07-13 23:53:52.025 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state LivenessState changed to CORRECT -2025-07-13 23:53:52.026 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state ReadinessState changed to ACCEPTING_TRAFFIC -2025-07-13 23:54:53.695 [http-nio-6950-exec-2] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' -2025-07-13 23:54:53.695 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Detected StandardServletMultipartResolver -2025-07-13 23:54:53.695 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Detected AcceptHeaderLocaleResolver -2025-07-13 23:54:53.695 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Detected FixedThemeResolver -2025-07-13 23:54:53.696 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@12ae75f1 -2025-07-13 23:54:53.696 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.support.SessionFlashMapManager@2bab1821 -2025-07-13 23:54:53.696 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data -2025-07-13 23:54:53.696 [http-nio-6950-exec-2] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms -2025-07-13 23:54:53.699 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/configs/seed", parameters={} -2025-07-13 23:54:53.703 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ConfigController#charges() -2025-07-13 23:54:54.060 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-13 23:54:54.377 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from payment_processor where id=? -2025-07-13 23:54:54.616 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from payment_processor where id=? -2025-07-13 23:54:55.082 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into payment_processor (account_field_label,account_field_name,auth_type,created_at,description,image,label,name,type,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:54:55.325 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into payment_processor (account_field_label,account_field_name,auth_type,created_at,description,image,label,name,type,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:54:55.838 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select ip1_0.id,ip1_0.created_at,ip1_0.description,ip1_0.label,ip1_0.name,ip1_0.updated_at from integration_processor ip1_0 -2025-07-13 23:54:56.145 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from integration_processor where id=? -2025-07-13 23:54:56.657 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into integration_processor (created_at,description,label,name,updated_at,id) values (?,?,?,?,?,?) -2025-07-13 23:54:57.197 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-13 23:54:57.476 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from category where id=? -2025-07-13 23:54:57.690 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from category where id=? -2025-07-13 23:54:58.296 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into category (created_at,description,image,label,name,updated_at,id) values (?,?,?,?,?,?,?) -2025-07-13 23:54:58.600 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into category (created_at,description,image,label,name,updated_at,id) values (?,?,?,?,?,?,?) -2025-07-13 23:54:59.152 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-13 23:54:59.398 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from provider where id=? -2025-07-13 23:54:59.726 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from provider where id=? -2025-07-13 23:55:00.033 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from provider where id=? -2025-07-13 23:55:00.341 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from provider where id=? -2025-07-13 23:55:00.859 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into provider (account_field_name,category,client_id,created_at,description,external_id,image,integration_processor_label,label,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:55:01.062 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into provider (account_field_name,category,client_id,created_at,description,external_id,image,integration_processor_label,label,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:55:01.258 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into provider (account_field_name,category,client_id,created_at,description,external_id,image,integration_processor_label,label,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:55:01.468 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into provider (account_field_name,category,client_id,created_at,description,external_id,image,integration_processor_label,label,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:55:01.891 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 -2025-07-13 23:55:02.202 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:55:02.499 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:55:02.798 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-13 23:55:03.003 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-13 23:55:03.221 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from charge_include_products where charge_id=? -2025-07-13 23:55:03.423 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from charge_include_products where charge_id=? -2025-07-13 23:55:03.720 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from charge_condition where id=? -2025-07-13 23:55:03.922 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from charge_condition where id=? -2025-07-13 23:55:04.131 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from charge_condition where id=? -2025-07-13 23:55:04.437 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from charge where id=? -2025-07-13 23:55:04.744 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - delete from charge where id=? -2025-07-13 23:55:05.362 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select cc1_0.id,cc1_0.codes,cc1_0.created_at,cc1_0.name,cc1_0.type,cc1_0.updated_at from charge_condition cc1_0 -2025-07-13 23:55:05.874 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_condition (codes,created_at,name,type,updated_at,id) values (?,?,?,?,?,?) -2025-07-13 23:55:06.177 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_condition (codes,created_at,name,type,updated_at,id) values (?,?,?,?,?,?) -2025-07-13 23:55:06.486 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_condition (codes,created_at,name,type,updated_at,id) values (?,?,?,?,?,?) -2025-07-13 23:55:07.106 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge (account,charge_label,composite,created_at,currency,description,flat,global,max,maximum_amount,min,minimum_amount,percentage_rate,target,target_event,target_value,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:55:07.416 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge (account,charge_label,composite,created_at,currency,description,flat,global,max,maximum_amount,min,minimum_amount,percentage_rate,target,target_event,target_value,updated_at,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-13 23:55:07.718 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_include_products (charge_id,charge_condition_id) values (?,?) -2025-07-13 23:55:07.953 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_include_products (charge_id,charge_condition_id) values (?,?) -2025-07-13 23:55:08.225 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_include_products (charge_id,charge_condition_id) values (?,?) -2025-07-13 23:55:08.455 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_include_products (charge_id,charge_condition_id) values (?,?) -2025-07-13 23:55:08.735 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_include_products (charge_id,charge_condition_id) values (?,?) -2025-07-13 23:55:09.045 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - insert into charge_include_products (charge_id,charge_condition_id) values (?,?) -2025-07-13 23:55:09.673 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'text/plain', given [*/*] and supported [text/plain, */*, application/json, application/*+json] -2025-07-13 23:55:09.674 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing ["Project configuration seeding complete"] -2025-07-13 23:55:09.677 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK diff --git a/logs/application.2025-07-14.0.log b/logs/application.2025-07-14.0.log deleted file mode 100644 index c2b1321..0000000 --- a/logs/application.2025-07-14.0.log +++ /dev/null @@ -1,6876 +0,0 @@ -2025-07-14 00:10:17.858 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:10:17.861 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:10:18.157 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:10:18.555 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:18.555 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@368c208e, zw.qantra.tm.domain.models.Category@3fd0dc0]] -2025-07-14 00:10:18.575 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:18.708 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:10:18.708 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:10:18.718 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:10:19.192 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:10:19.198 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:10:19.200 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:10:19.204 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:10:19.430 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDU4MTksImlhdCI6MTc1MjQ0NDYxOSwianRpIjoiY2YzZDk5OGUtNGI3My00NzYzLWFjOWEtZDdiYWUwMGViNTNhIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.GrUchZJBlMlt7jIg9XqCw7TA2afV4Oaez66EmS7nqpONFPWhTPhZlEoc1AbQ6wvPyQek3nU-X1x8q6biDBx0xyQ16nxBtZ61ZJYqOR6601H-LiVKpH3qYq5Danbe1R1_K_XEdxAkuTTDUL3FvHsUuAJ9eiknG1Ffr27B1d5q1EepXHPy_3OkBYdSO8Xz1o8Lr1SN2k1t4weK88g2Jtiy-d4nJoDhdOr-fTWSXze9TWL94_UEMDllbrBWCTFRsEZnQF8Ap99fBfmNVUB_F_nfrVGlixCFOXepdyUgCTnfWHMiij6UoV9DOw7tM5JoWcuLLpnCGSmhfpyKIdvP3YtOaQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:10:19.430 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:10:19.431 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:10:19.444 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:10:19.444 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:10:19.445 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:10:19.589 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:10:19.590 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:10:19.590 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:10:19.596 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:19.596 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:10:19.598 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:19.617 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:10:19.618 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:10:19.639 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:10:20.145 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:20.146 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@c6bf54d]] -2025-07-14 00:10:20.159 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:22.682 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:10:22.683 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:10:22.881 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:10:23.289 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:23.289 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@4961fc5a, zw.qantra.tm.domain.models.Recipient@51ef7917, zw.qa (truncated)...] -2025-07-14 00:10:23.292 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:26.996 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:10:26.997 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:10:26.997 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/78f1f497-c9eb-401c-b22c-884756e68e40/products", parameters={} -2025-07-14 00:10:26.998 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:10:27.001 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:10:27.002 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:10:27.002 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:10:27.003 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:10:27.102 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDU4MjcsImlhdCI6MTc1MjQ0NDYyNywianRpIjoiZmNkNjBlNWMtMzRjYi00M2U0LWJhMzItYmRjOWQ5OTQ4MmM4IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.P6Xohlp-U8Ryq8XZYlzBMgbmpIuOCE2zESTWuYnI8uUPtPwXR0DBnbenvrlm4hwHBeCnyqIK6OXMvnUIEQ9trgtR7XpvYsExxieuS-6DYj09GDDgZMPCvzF2JEBkPh9JHCwMWNCZH3f4zFzmMTVyQ0R-nLUrw61pT6gMWn8e_YFaPuh1lFWWW9nsOsLtaA8OKWnEJodZVx1IErGurpNZBq552FUmdGQyTunOxFXTfgVMV-bVPBGa3melNidrufLsohoESbOs126iwZgKd4aln1tDj-QBVQ5iQklSNkkiNFLB2LcB4LRJ63TlB2LrslOj0JKm4JTfruH6KvYXvBqp6Q", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:10:27.103 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:10:27.103 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:10:27.104 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -2025-07-14 00:10:27.105 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:10:27.105 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -{ - "log": "" -} -2025-07-14 00:10:27.142 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:10:27.142 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:10:27.142 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:10:27.143 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:27.143 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:10:27.144 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:27.192 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:10:27.582 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:27.583 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@aeed579, zw.qantra.tm.domain.models.PaymentProcessor@25 (truncated)...] -2025-07-14 00:10:27.587 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:37.119 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:10:37.119 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:10:37.317 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:10:37.740 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:37.740 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@161cb6c9, zw.qantra.tm.domain.models.Recipient@1a7f3b0f, zw.qa (truncated)...] -2025-07-14 00:10:37.742 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:43.145 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:10:43.146 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:10:43.166 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/78f1f497-c9eb-401c-b22c-884756e68e40/products", parameters={} -2025-07-14 00:10:43.167 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:10:43.168 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:10:43.168 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:10:43.168 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:10:43.168 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:10:43.276 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDU4NDMsImlhdCI6MTc1MjQ0NDY0MywianRpIjoiMzJkZWE4NjItZGMwZS00NzJlLThkY2ItODI4ZDQ1ZjFkMWM2IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.kCVatjH-6S-rPHr4X98o7jwEuZ1xs3bbLF_EA8NpOb-vsWNjcKmgFWbVdpHlmagNBGWdEqu7zFL_jipP1_w8qpzTkbeSNoI2dN3W2XdTf9lEEdaS3K8r6FZ2A1N3hTIYDx-wmgtM387k-VBLRBUafLIlr5JJ9Ksat-mUdYFDQBKaGO4svVbHyIjMmGo1Vnu6wYdxysBQ3KkZLbgFk3oxtAVASPaPBcmQVY_Y-p59RGSFhFjsfd77HOPFyqKm9wthgUCUhMfRZObLInD2LNrAhcw7q-qiesz2sQzrpdo9RQ6KgCl8MlhX9cwmiwBHfM6DxM1vnDpxebhKL6_EX5Cz7A", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:10:43.277 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:10:43.277 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:10:43.279 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -2025-07-14 00:10:43.279 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:10:43.279 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -{ - "log": "" -} -2025-07-14 00:10:43.336 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:10:43.336 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:10:43.336 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:10:43.337 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:43.337 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:10:43.338 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:10:43.341 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:10:43.730 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:10:43.730 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@501b6bf4, zw.qantra.tm.domain.models.PaymentProcessor@5 (truncated)...] -2025-07-14 00:10:43.732 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:15.875 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:15:15.876 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:15:16.096 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:15:16.485 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:16.485 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@1199a34a, zw.qantra.tm.domain.models.Category@36228750]] -2025-07-14 00:15:16.487 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:16.613 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:15:16.614 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:15:16.615 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:15:17.059 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:15:17.060 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:17.060 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:15:17.061 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:15:17.158 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDYxMTcsImlhdCI6MTc1MjQ0NDkxNywianRpIjoiNjM1ZGEzZGMtMGU4ZC00ZjFhLWI0MTYtMzI3N2E3ZGNkNWIxIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.EZ6R2yYRhhApsTbD4RdoglL9xzlBdWSHL5aG1_C7MmtDAeeKPQ4MDaYlGGphXr0sY5HlhmLOQYPr8-2s7Jg4Nzud6hV2b6kHlc6CufaX5uFS1Yp-bxA39bXe0sYqd12APFzaouTgkiI-nFANj3_xZdyN2FrupWqJ2iSW-XRH2oVhwZeOlZxvhdA3OsaQAEwZ-Xb8RY1t3UrgIyY8bBnHfxJOIdlukV0CiQqGwKpg8fxsi-ZXz2Xf8twfm4bbbeiz5sGBOfEoUpi2EdEjS5BZrQs6v0N16YlTwbU9UH4Mie2Athk3KJ_A3LgMOAQ-zgtIcByxPVinJI68Jq31f7u8gA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:15:17.159 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:17.159 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:15:17.160 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:15:17.160 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:17.160 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:15:17.255 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:15:17.255 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:17.255 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:15:17.257 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:17.257 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:15:17.258 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:17.298 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:15:17.298 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:15:17.301 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:15:17.696 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:17.697 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@2c825f47]] -2025-07-14 00:15:17.699 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:19.057 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:15:19.058 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:15:19.254 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:15:19.722 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:19.723 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@368497d3, zw.qantra.tm.domain.models.Recipient@5f27f7b2, zw.qa (truncated)...] -2025-07-14 00:15:19.725 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:20.600 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:15:20.600 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:15:20.611 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/78f1f497-c9eb-401c-b22c-884756e68e40/products", parameters={} -2025-07-14 00:15:20.611 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:15:20.611 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:15:20.611 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:20.611 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:15:20.611 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:15:20.679 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDYxMjAsImlhdCI6MTc1MjQ0NDkyMCwianRpIjoiOTA0NjNiODEtZWE3Mi00MTM1LWFkNGYtNDAyOGFkNzBmYjQ0IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.i1JVk2hZ8GHLUzWTAF69xc-cBVsbZEZEqp5iI8LJbhZnMRsB31eO1q9XdOwHd7FrcS8RdHL-_OnlH9BfPIMXri8jPJGsq-rCYjwRgMoVERIjskQebxRyDQrVK2--tfmtO6p1U1EH-6-TRkLErYLegsuk6QzajBHSciM6h6EqCuMTSgJTQvI4ybiEvTg5f6Rnw4gq3v0HCjLRoTk5pN_BXU5qtVaT91EGpoTfoSq-N0zwAdDcOap0OwKh6NsTnj6a-eg9Ttf5jCHXfIMYLDFV3I_uohfQcW4xXU3FOYAiHFGqi-m3IO_-xtFemXIrOCUJmEXNJqkm7xTAlbiBfUTqWw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:15:20.679 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:20.679 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:15:20.680 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -2025-07-14 00:15:20.680 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:20.681 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -{ - "log": "" -} -2025-07-14 00:15:20.758 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:15:20.758 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:20.759 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:15:20.760 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:20.760 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:15:20.761 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:20.797 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:15:21.361 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:21.361 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@42489aaa, zw.qantra.tm.domain.models.PaymentProcessor@2 (truncated)...] -2025-07-14 00:15:21.362 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:29.877 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:15:29.877 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:15:30.071 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:15:30.459 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:30.459 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@4e3f7996, zw.qantra.tm.domain.models.Category@548d4d88]] -2025-07-14 00:15:30.459 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:30.623 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:15:30.623 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:15:30.625 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:15:31.016 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:15:31.017 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:31.017 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:15:31.018 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:15:31.086 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDYxMzEsImlhdCI6MTc1MjQ0NDkzMSwianRpIjoiNmY5Y2FhZjMtODUwYS00YjI1LTgwZTAtYjYzZmFhYTFiNjEzIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.C4OJSllnI9s1R1Kl-BWDN2wOrB3AgbxK2E1tG3P0fKYpluHYVasA0b7JcHbcoOp02SKIO4YpLrvRwmdMTG3laivY8Q5cdEs3EVZ6l1FVD8jC7YNLioRYftIA9eWF6eSEKqhOnKi0YIfglnFFIl4NnBDPtlHeuaAElWLvjNDYeZRxAUeSx49GkQfAw2v6mIbMjQSrIs09hBKiOcV-UFnRuGxcXJK4aHDvhKRwIVTxQePybnVbWVfilPbUhQZMFT10cCQKLLH2Pf4-AbBbn6hDEPTjBecNtoxR5jdO1J6czrW8iPoydnA2odzaZgJuXup829MVb_BnGISiW3q9KMpV8g", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:15:31.086 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:31.086 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:15:31.087 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:15:31.088 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:31.088 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:15:31.219 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:15:31.220 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:31.220 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:15:31.221 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:31.221 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:15:31.222 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:31.406 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:15:31.406 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:15:31.411 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:15:31.805 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:31.806 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@58542f40]] -2025-07-14 00:15:31.807 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:35.425 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:15:35.426 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:15:35.620 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:15:36.009 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:36.009 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@2acf52e0, zw.qantra.tm.domain.models.Category@21f2650e]] -2025-07-14 00:15:36.009 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:36.151 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:15:36.151 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:15:36.152 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:15:36.591 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:15:36.592 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:36.592 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:15:36.592 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:15:36.665 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDYxMzYsImlhdCI6MTc1MjQ0NDkzNiwianRpIjoiOWVlODdkY2MtYmZhNS00MTM3LWJlODktYjgxZGQzNzQzNGM5IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.dYe0bWbTokpArufQsXCa6Tcm9ysMgt4tO125Yrn9yCRF2Lq-TqINlRW-hQH5cgn5dFozQ4H_yMkbtwhyiV9ltZyqPqsvCh-laA3UMM4FKvv6vUkDENSTmUPUqWeY6CvWCLjoKhZlk0NgpEcBCQJiTkTN-J30S09vaQtZNrb1kNajLJ2LbijVJ540UOGYRZzlxkGTspyWf7FOtfkRguJKvMraFeGyqSDT5ta4I77ma_yolg4HgZ_6A1zEmZVbVw2OW1477nOX_jNGosCxYl2tSIFKU4T0Q8LDC3lK87noiZeeqTfEvnifExN5pTqWwqgY9nI0SjLWI60bykdgMASfPg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:15:36.665 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:36.665 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:15:36.666 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:15:36.666 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:15:36.666 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:15:36.766 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:15:36.766 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:15:36.766 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:15:36.767 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:36.767 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:15:36.768 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:15:36.913 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:15:36.913 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:15:36.914 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:15:37.309 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:15:37.310 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@3763e578]] -2025-07-14 00:15:37.311 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:16:01.960 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:16:01.960 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:16:02.202 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:16:02.628 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:16:02.628 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@5bef1f21, zw.qantra.tm.domain.models.Recipient@ae56d68, zw.qan (truncated)...] -2025-07-14 00:16:02.629 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:16:05.833 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:16:05.834 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:16:05.836 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/78f1f497-c9eb-401c-b22c-884756e68e40/products", parameters={} -2025-07-14 00:16:05.837 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:16:05.838 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:16:05.838 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:16:05.838 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:16:05.839 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:16:05.935 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDYxNjUsImlhdCI6MTc1MjQ0NDk2NSwianRpIjoiMzIxZjhhMDUtMDE5ZS00MDQ5LTgxNWEtOGNmMjU4NzY2YzJjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.bgIW7l6NOZGU2yxjMc9yHnjVFlWoqX1zcEA1U_Xiwe-AbN04HWMZV5Hi0Jf-2jIU-0DZEv5WlYaXkrHIsNTPR6Iy9MYjWIwdo5F8UIGj3M7JMytLzRl6ylEJoHIa5CX3lrGPDR6MeOA8DFGhuCLcZw_54kN5mKu7z3P8YPNeXjY4mYvRlNOEVTsUefeG3ZQwlpGIKpG69XJoCbEb6HPRKd1e2bNBM2_Dx1MhytDJID-dMHkE6c6GAqJ9hb9g8AYYDKydKMylRRzvIFODLlqZAl5F2wFRt5Jb0jQqgBTXvj4AWAoKFeHLAW8ZJMXS32J-nLo2YhT_tu-8ytmDuTJ4iQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:16:05.936 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:16:05.936 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:16:05.937 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -2025-07-14 00:16:05.937 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:16:05.938 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -{ - "log": "" -} -2025-07-14 00:16:05.979 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:16:05.979 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:16:05.980 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:16:05.980 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:16:05.980 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:16:05.981 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:16:06.033 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:16:06.437 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:16:06.437 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@11b97e3b, zw.qantra.tm.domain.models.PaymentProcessor@5 (truncated)...] -2025-07-14 00:16:06.438 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:18:31.393 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:18:31.394 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:18:31.590 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:18:31.991 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:18:31.991 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@811aaac]] -2025-07-14 00:18:31.993 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:18:39.449 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:18:39.449 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:18:39.651 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:18:40.064 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:18:40.064 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@b1a0064, zw.qantra.tm.domain.models.Recipient@1b27e448, zw.qan (truncated)...] -2025-07-14 00:18:40.066 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:18:42.175 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:18:42.175 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:18:42.178 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:18:42.179 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:18:42.179 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:18:42.180 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:18:42.180 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:18:42.180 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:18:42.284 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDYzMjIsImlhdCI6MTc1MjQ0NTEyMiwianRpIjoiODQxYzg4ZmUtOTM2Ni00NzFiLThmYWQtYmJhYjVlZjQxNWQ3IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.T1PvZj7yIAAH_CH0Lm1n2EaBkUFYxAUhP5WDbLmScdyVL4FTAEbO2qfUjsLy2Bqlokbi8TdQk3-xog0lBMvG3OrGX_bmp0soor6fRCqaCtAuV9O3NPxzc_wdGIRPZP9mFL0CNSs_9mbsZ8o9BFdzJgz6vladJ2Ejz5kYUAexV_2W0YTJUlSOKKEe75Sz1WWHEK8cwWWy0Jglet-EYwyO17zKdrHzV6ydlT8KNTQyMsMcxeuJT6v6rK_benCwyZ3W66-tliegFmAowLEDNBMPn7tDVyL4aP7zvcJG-hcj0tG9aOY5_xqvUp_9SvXet_9Naxa7l8wfqnxcCJ5QO9Qr3g", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:18:42.284 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:18:42.284 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:18:42.285 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:18:42.285 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:18:42.286 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:18:42.368 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:18:42.381 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:18:42.382 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:18:42.382 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:18:42.383 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:18:42.383 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:18:42.383 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:18:42.775 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:18:42.776 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@5ee29a38, zw.qantra.tm.domain.models.PaymentProcessor@4 (truncated)...] -2025-07-14 00:18:42.777 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:18:58.327 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:18:58.328 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:18:58.329 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:18:58.329 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:18:58.330 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:18:58.331 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:18:58.331 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:18:58.331 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:18:58.407 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDYzMzgsImlhdCI6MTc1MjQ0NTEzOCwianRpIjoiNDExY2I1NjMtOWYwZi00OTlmLWJlYjUtOWIxNDA3Y2MyZWJmIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.F0dn8wWav32QKdjj6HRXyB6W9cQB2hhyBV4pV3P3CNlX_mxCjpzCw177DuV_Vs-Cq0OXabc699Y_WAxzT8NpsHXyE9GkvnbA3nPfmSjH1SAbTr8YpzVDj4d7CfNvjDwgCnbFY0Z2dgWIwQ1PIkiMu30m4wh8K8rsM3ujiiKtgWL-hdRyWAqiHSjSYzBCdIRey27sFfmlImq3P5FvkUeHl74necFsHRDcD5tm_Qh4MUyqUdpjuCC-yYzKOzgilXwU6ztavf3ZMZaMcbQZAFPsSvs2qvuhJvvXDTmJJVCwLF_lpij-H46UL9_J7IxAxrR5Uk70sFb3VL0ut405lAVBUQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:18:58.407 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:18:58.407 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:18:58.408 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:18:58.408 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:18:58.408 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:18:58.472 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:18:58.472 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:18:58.472 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:18:58.473 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:18:58.473 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:18:58.474 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:18:58.521 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:18:58.960 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:18:58.960 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@231ae04d, zw.qantra.tm.domain.models.PaymentProcessor@5 (truncated)...] -2025-07-14 00:18:58.961 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:20:18.877 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:20:18.877 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:20:19.074 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:20:19.462 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:20:19.462 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@32cfd578, zw.qantra.tm.domain.models.PaymentProcessor@6 (truncated)...] -2025-07-14 00:20:19.464 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:22:14.813 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:22:14.813 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:22:15.008 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:22:15.393 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:22:15.394 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@6956e21, zw.qantra.tm.domain.models.Category@4b47f267]] -2025-07-14 00:22:15.395 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:22:15.590 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:22:15.590 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:22:15.591 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:22:15.978 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:22:15.978 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:22:15.978 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:22:15.979 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:22:16.130 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDY1MzYsImlhdCI6MTc1MjQ0NTMzNiwianRpIjoiZjk2ZWVjZWYtNmU2NC00YTQ1LThhMmItMWVlZjA4YmFkNGY4IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.nBIKBciBZ9h8QdBdUiwnYFNg9vE7QyN4eHKFxCYFhQrA6ie6yE6C8R-8xUfDrBPjoPSSVdDax8BM6r7qYe4fyOAW6SnCg-1Rsub9DHhvz_DgAxF0zkexFqmVLoeJjveTEQNE9kzcZBdMavDNGnbwZeTOqap41vOYTGoadwznZJ-MNdmLpVeGido_Uj1XL8FaTRxLZIWPsPwVM73kJGSFQAOQMNsUxeStxZjZYzAUfdTj6aP__dbJvc-vaQ8-YR1N_3_8JxkcV0GCZu60NLxj_j0rXDGxbTu1KmQiF9KNJyEa5elBnEavOl_T6XCRqYocGxEYjssNxRv8cIyGuIUEnA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:22:16.131 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:22:16.131 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:22:16.131 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:22:16.132 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:22:16.132 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:22:16.286 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:22:16.286 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:22:16.286 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:22:16.287 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:22:16.287 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:22:16.288 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:22:16.448 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:22:16.448 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:22:16.451 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:22:16.899 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:22:16.900 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@2c497807]] -2025-07-14 00:22:16.900 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:22:18.744 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:22:18.744 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:22:18.949 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:22:19.357 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:22:19.357 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@2bde01f1, zw.qantra.tm.domain.models.Recipient@ebce810, zw.qan (truncated)...] -2025-07-14 00:22:19.360 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:22:23.154 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:22:23.154 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:22:23.154 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:22:23.154 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:22:23.155 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:22:23.155 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:22:23.155 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:22:23.156 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:22:23.255 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDY1NDMsImlhdCI6MTc1MjQ0NTM0MywianRpIjoiYzU2YTA2YjUtMjYyOC00ODg4LWI1MTgtMzU5NWFiMmZkYjc2IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.hz56sG-TpqfSBeqzfG26m-RNNsXkQymPCTlT7rQErRtcx0Hc3uZRs38db49FDW83x0etmjP6C7yCz5x9kpHSII3DvZrbv_hCDQDc0UFXapGM2DBXeJgErdibRr5K4xNhAbLiobEWjHdhoBMkRy4xY3u0vztCp2vijaeax55sI4Vt-lpuSiDEpW_P97hAm6IsJUVkx48JB14R8XXXfzXe8MiOz2yaGha34hU51ST75paOQRBa_CYFkuw71RH8udLqWbQP5ko9N1B99vtTRYOp0S7IV1NJByYi6YI3aMczri5Bl988H-sULvlEdV2m1_-FwmJWl8mekgeX-5Kl_N1xIQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:22:23.256 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:22:23.256 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:22:23.257 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:22:23.257 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:22:23.257 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:22:23.333 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:22:23.333 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:22:23.333 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:22:23.333 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:22:23.333 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:22:23.334 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:22:23.346 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:22:23.760 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:22:23.761 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@2786ad5b, zw.qantra.tm.domain.models.PaymentProcessor@2 (truncated)...] -2025-07-14 00:22:23.763 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:27:11.628 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:27:11.628 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:27:11.821 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:27:12.207 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:27:12.208 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@54ee0c90]] -2025-07-14 00:27:12.209 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:27:13.989 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:27:13.989 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:27:14.271 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:27:14.679 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:27:14.679 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@69103e1b, zw.qantra.tm.domain.models.Recipient@39b800d5, zw.qa (truncated)...] -2025-07-14 00:27:14.681 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:27:16.983 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:27:16.983 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:27:17.176 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:27:17.556 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:27:17.556 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@3ffbb54, zw.qantra.tm.domain.models.Recipient@3001329f, zw.qan (truncated)...] -2025-07-14 00:27:17.557 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:28:50.365 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:28:50.365 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:28:50.559 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:28:51.037 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:28:51.038 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@29382116]] -2025-07-14 00:28:51.039 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:28:51.837 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:28:51.837 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:28:52.030 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:28:52.412 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:28:52.412 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@34e6c894, zw.qantra.tm.domain.models.Recipient@3ba64211, zw.qa (truncated)...] -2025-07-14 00:28:52.414 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:29:35.057 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:29:35.057 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:29:35.275 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:29:35.667 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:29:35.667 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@2fc642d6, zw.qantra.tm.domain.models.Category@7ac16cdc]] -2025-07-14 00:29:35.668 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:29:35.777 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:29:35.778 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:29:35.778 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:29:36.196 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:29:36.196 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:29:36.196 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:29:36.196 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:29:36.299 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDY5NzYsImlhdCI6MTc1MjQ0NTc3NiwianRpIjoiMTg3YmNhNGQtZmQxMS00N2UwLTgzNWQtMjI0ZTc4NmFmZWU4IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.WMr4-baUa4WVm3XbuFH9WAM9wzOPgKCjOMZF784Lfh9h1_qlp_7WW7NE7luT6u9_MJqWoG3r-f8SfdngXtiBWm0BXB2pkjC0qwFzbiAsE3N6AJNrwbiy7YpXBSCJovPY3jCqkZcV3O1hbA7OqIpcQ57Ua-mWN3uqNhYD756kYfSf_dPaema-l2ceZudxS5Ui7jxR1kanIHAmujNRfDb6B2RXDLl_yIXrrA5B6qB5ZrZ7vLTNpdpGT-9FzulAC9pYjtYnlm3r6barOWev_AxdlTzkNSFyiCGy8XDLg922dSy848Qybjf2QEGRHHd4Ym71JXuISJKaYcKY-iHxEJKyUQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:29:36.299 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:29:36.299 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:29:36.300 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:29:36.300 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:29:36.301 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:29:36.535 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:29:36.535 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:29:36.535 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:29:36.536 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:29:36.536 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:29:36.536 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:29:36.643 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:29:36.644 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:29:36.647 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:29:37.118 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:29:37.118 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@50fdbc80]] -2025-07-14 00:29:37.119 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:29:43.101 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:29:43.102 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:29:43.293 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:29:43.736 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:29:43.736 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@74a3a84c, zw.qantra.tm.domain.models.Recipient@b416986, zw.qan (truncated)...] -2025-07-14 00:29:43.738 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:29:45.613 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:29:45.614 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:29:45.615 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:29:45.615 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:29:45.616 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:29:45.616 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:29:45.616 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:29:45.617 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:29:45.734 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDY5ODUsImlhdCI6MTc1MjQ0NTc4NSwianRpIjoiOTVmMzk0NzQtNWY2Ni00YjFlLWJhOTEtNWNkZWQyNGIwMjkxIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.Fa3mRqTKj_3Qmb9AltjKYPs6ygV44HwQPsRYrclzJGizEQ-tYceMrqsuY73f4itSK3al3-Ud1qx_IaYlh9ZXr9Asj3O2UEFk8jWJSRnqVS49jowQc8-5dHEbD2yNREwy8SlcEW2v15Di3I1GSogez2pgWiAbqDDiAtSHl_fOGBL0Piob5g8woVTMzHj0D81pt80bcy_K-9bH-lvXOlxA3Z6z7TfYbzpwqeOoslpGBcrYLL3F5iS7jgVpOHxEBY8JJaS0Uc58unTIiy308T4Gl9_mmlsNayuZLTMs3VypHB5BEz6CyBhPZbXDslnlYwxzsdqGAWmniATFkwfuNaWf2A", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:29:45.734 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:29:45.735 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:29:45.735 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:29:45.735 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:29:45.736 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:29:45.807 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:29:45.813 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:29:45.813 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:29:45.814 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:29:45.814 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:29:45.815 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:29:45.815 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:29:46.190 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:29:46.190 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@21e6d4bd, zw.qantra.tm.domain.models.PaymentProcessor@3 (truncated)...] -2025-07-14 00:29:46.191 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:21.401 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:31:21.401 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:31:21.592 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:31:21.970 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:21.970 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@40bf86e3, zw.qantra.tm.domain.models.Category@4343da59]] -2025-07-14 00:31:21.971 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:22.009 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:31:22.009 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:31:22.010 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:31:22.389 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:31:22.389 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:22.389 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:31:22.390 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:31:22.494 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDcwODIsImlhdCI6MTc1MjQ0NTg4MiwianRpIjoiYTIxYjJmZGYtOTBhNy00YzU4LTg3NmItNWEwOWNiMTI2ODg0IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.DvjQRy85s4Q9z9RfhvhHVKSnXOYEWukmF7_ek9uNfgnz52lKSZv0fOHBZ9nUVUJ__XmlyPcdXbn1UearoUhERAKdg-oej-1fx1cfsIov7qk_BacnIK-lvb94U8h_mmMURzsX2x8B9PtlWGHCTECzPCPzWHoCIY_XxGWXJRrUdACavhV7W3he1wY52GPixlaHOo0q2ZmRaoSg9XSWAX-dyMssfRlnSjJtUVzUdPlz0koCl9DYKh8fKyqs4AQuUGRsV7Ga-BuzMerfsaeWAp0qEZZjX9yoAyun7ib872yocZbyqdTS03bOeGpZ_4i7neCeF_geFxyTeV4XLFoM5vdmFg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:31:22.495 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:22.495 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:31:22.497 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:31:22.497 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:22.497 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:31:22.796 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:31:22.797 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:22.797 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:31:22.798 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:22.798 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:31:22.799 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:22.987 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:31:22.988 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:31:22.991 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:31:23.372 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:23.373 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@197a005e]] -2025-07-14 00:31:23.374 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:34.493 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:31:34.494 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:31:34.684 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:31:35.066 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:35.066 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@5f9e0e87, zw.qantra.tm.domain.models.Category@716f12dd]] -2025-07-14 00:31:35.067 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:35.093 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:31:35.093 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:31:35.094 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:31:35.473 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:31:35.474 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:35.474 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:31:35.475 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:31:35.543 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDcwOTUsImlhdCI6MTc1MjQ0NTg5NSwianRpIjoiZDBmZjM2MzctZDE1Ny00YzJhLWEzODItMGJmNjY5OTIzNTNjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.WEddNnrboOVx1VUyGdDK5_Pml26K3mNzRP7vkCjwfnEk9hKCDDFAhFh5IKe2oN8QHTeCndyqpeMq_J23qNaZOdJgRUQt4Da5aJfi--GlV_ix_lcg7jqTj8WnkIPTgVaXEKszrWoMV-DFLhGM1OfZPQLKYVKAzJS_v1uOHjbqtqTXc6UaOrpknfUi8DM1U1UvwePyRpeWz1VrXADK7Mz-5CtoVF_r5AUflTz0i766XejAOLsJoSBDFTuyJryOaom6ECKKcD4073N3FjlJd9FOzDi4tVqGHq5YHVUETpcAeR4A5NbOhpt36Hu1YXNleDVUBuVixOLziSm2eM6RZiv4oA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:31:35.543 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:35.544 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:31:35.544 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:31:35.545 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:35.545 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:31:35.718 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:31:35.718 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:35.718 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:31:35.719 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:35.719 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:31:35.719 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:35.829 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:31:35.829 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:31:35.831 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:31:36.311 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:36.311 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@170d8c39]] -2025-07-14 00:31:36.312 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:38.372 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:31:38.372 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:31:38.566 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:31:38.973 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:38.974 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@77cc1124, zw.qantra.tm.domain.models.Recipient@54b63825, zw.qa (truncated)...] -2025-07-14 00:31:38.975 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:41.179 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:31:41.180 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:31:41.180 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:31:41.180 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:31:41.180 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:41.180 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:31:41.180 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:31:41.181 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:31:41.252 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDcxMDEsImlhdCI6MTc1MjQ0NTkwMSwianRpIjoiNWM1ODg2YjQtMjg5MC00NzY4LTkyYWItODBlYzYxZWY4YzY1IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.UhT8dd8Ci0KhhNm1Lqybw9uEywX8NbrrJP9A6kb3W_lVWckDu0izqejHXLyBXsuB9sejsh44KLr0iNU-rH5vkGBZrAkwOtxxXZsf38jzniBR1fHte7dbTStyxDRFtmJ3G2HyweVRWwzwyQrIrw3kFjxrI9LOHMvPLBOYLuqQG30WgsamPH3eJMp2pzCCMm9a2sMah02nx5tohtghTXNChp3b5snb9x_YopT-RKGDbaV3xU8C1czsY61mEA5NIHpUx_97uDAib3MzESmOiGLdnw_UGH9wpGQkVnyOfo228jbYoTvd6d9Kpwh88lVrRRnhAwNaRFpPswTarMtQirJXuA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:31:41.253 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:41.253 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:31:41.254 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:31:41.254 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:41.254 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:31:41.323 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:31:41.324 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:41.324 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:31:41.324 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:41.324 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:31:41.325 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:41.371 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:31:41.841 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:41.841 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@2e7420b8, zw.qantra.tm.domain.models.PaymentProcessor@4 (truncated)...] -2025-07-14 00:31:41.843 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:44.345 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:31:44.345 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:31:44.364 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@2a71c38e] -2025-07-14 00:31:44.369 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "amount" : 1, - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "", - "status" : "PENDING" -} -2025-07-14 00:31:44.369 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:31:44.372 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:31:44.812 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:31:45.006 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:31:45.198 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:31:45.390 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:31:45.599 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 00:31:45.790 [http-nio-6950-exec-1] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-14 00:31:45.791 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-14 00:31:45.791 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:31:45.791 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:45.791 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:31:45.792 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:31:45.843 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDcxMDUsImlhdCI6MTc1MjQ0NTkwNSwianRpIjoiNmIyZTg3NDYtYTJhOC00NmYyLTgwOTEtNzhlYjU2MmJkNDYyIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.XsDKPk7nX7gS8Y1tWjtdhxCOtPF8WPFM2j5-opGzMzx9VuM0_AHyZv8ryeoYCNlNMGVimLItAUPQ_vTfGK8-cqeGvHR0olAavnIt0bXmKJogFWa0tUasBKrpOrLBFB-eem-3JmeQvjvN7FA1XI8TsJkyX_qI3rVL5OFbVhfmdCZWoWeOFEy7I4EfvdRxdiPZ4LBek4hreaFyws7YuArDV7oj9DmpiklgbhiMxcqy5dLXRL9h6-eHoVFSZJ5UM9CX9E1En3TkARqqxbyGoEv9VMUxChMEch9BVrwYxs32KxKKLenhOS2dWogBmfTJttBsCMEpJpYgIwjBv9K0Sui-Dw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:31:45.844 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:45.844 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:31:45.846 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-14 00:31:45.846 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:45.858 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-14 00:31:45.860 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-14 00:31:46.065 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "errorMessage": "Amount must be between $5.00 and $10000.00", - "status": "FAILED", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Error Message", - "value": "Amount must be between $5.00 and $10000.00" - } - ] - }, - "status": 200.0 -} -2025-07-14 00:31:46.065 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:46.066 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:31:46.070 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:31:46.551 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "f087ec67-c5a8-4617-8951-2499285449e8", - "createdAt" : "2025-07-14T00:31:46.06962", - "updatedAt" : "2025-07-14T00:31:46.069639", - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "3fb0b35c-6f77-468c-bb32-ad59045db12f", - "amount" : 1, - "charge" : 0, - "gatewayCharge" : 0.01, - "tax" : 0, - "totalAmount" : 1.01, - "reference" : "eac0a8cd-6863-4f3f-b534-1b269045cbe9", - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "Amount must be between $5.00 and $10000.00", - "status" : "FAILED" -} -2025-07-14 00:31:46.555 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:46.555 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@2a71c38e] -2025-07-14 00:31:46.556 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:31:50.447 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:31:50.448 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:31:50.449 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@705b546e] -2025-07-14 00:31:50.450 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "amount" : 5, - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "", - "status" : "PENDING" -} -2025-07-14 00:31:50.450 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:31:50.452 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:31:50.833 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:31:51.058 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:31:51.252 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:31:51.467 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:31:51.673 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 00:31:51.876 [http-nio-6950-exec-5] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-14 00:31:51.877 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-14 00:31:51.877 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:31:51.877 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:51.877 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:31:51.878 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:31:51.963 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDcxMTEsImlhdCI6MTc1MjQ0NTkxMSwianRpIjoiYTYyNTlmMjctMTkyMi00MzE1LWFlOGQtMWNiNjNjOGVlNjZlIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.FkAGnPCES09rgtHgseVtBFXve6lZvaotYXqEpqtfOwXvqIvc3a2VZ0VHrfKtmoryX9Fj7n0N-c--GMNfzXfZHIM7vUGzjva-9S0gv5Kf58-0pL8KupjYb-K9Y2uxpvqeG3UwXYaZLmNQXyp4ZBxEJ5TlthP8kB0uRSiKqHWpOmxFeoNGVYQwoCrwAiqoH22sSQktoYAjU74muHyj-BeaLMMDDbUwf5iq684Mxszv-hADKTU1xJGx_ECAwxKSP92PHxoDgrpfjFKhbjV8kPZg9cChVwtXBV0_jnRragZBri1QYrFQ9F_wWPM3x-LqeKywqhS3DvWlF7zPdgqSbI6Zxg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:31:51.963 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:51.963 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:31:51.964 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-14 00:31:51.964 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:31:51.964 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=5, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263773591219, billName=Zesa, trace=null)] as "application/json" -2025-07-14 00:31:51.965 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 5.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263773591219", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-14 00:31:52.195 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "5", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263773591219", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "SUCCESS", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Recipient Phone", - "value": "+263773591219" - }, - { - "name": "Account", - "value": "37132352511" - }, - { - "name": "Currency", - "value": "USD" - }, - { - "name": "Amount", - "value": "5" - }, - { - "name": "Customer", - "value": "HEART OF FURNITURE|null" - }, - { - "name": "Customer\u0027s Address", - "value": "274 WILLOWVALE RD|||null" - } - ] - }, - "status": 200.0 -} -2025-07-14 00:31:52.196 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:31:52.196 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:31:52.198 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:31:52.599 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-14 00:31:53.008 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.account=? and r1_0.user_id=? -2025-07-14 00:31:53.207 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "44f1314e-c0fd-412e-b255-0b330fda4d9e", - "createdAt" : "2025-07-14T00:31:52.198357", - "updatedAt" : "2025-07-14T00:31:52.198375", - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "7b1e6ad5-a77b-4e10-887e-c85987bf5ce5", - "amount" : 5, - "charge" : 0, - "gatewayCharge" : 0.05, - "tax" : 0.10, - "totalAmount" : 5.15, - "reference" : "aa600dc8-a777-47da-9e36-dcd6487d7044", - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "", - "status" : "SUCCESS", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Recipient Phone", - "value" : "+263773591219" - }, { - "name" : "Account", - "value" : "37132352511" - }, { - "name" : "Currency", - "value" : "USD" - }, { - "name" : "Amount", - "value" : "5" - }, { - "name" : "Customer", - "value" : "HEART OF FURNITURE|null" - }, { - "name" : "Customer's Address", - "value" : "274 WILLOWVALE RD|||null" - } ] -} -2025-07-14 00:31:53.207 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:31:53.207 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@705b546e] -2025-07-14 00:31:53.208 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:32:17.195 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:32:17.195 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:32:17.196 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@623c6a64] -2025-07-14 00:32:17.197 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "7b1e6ad5-a77b-4e10-887e-c85987bf5ce5", - "amount" : 5, - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "REQUEST", - "authType" : "REMOTE", - "errorMessage" : "", - "status" : "PENDING" -} -2025-07-14 00:32:17.197 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:32:17.199 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:32:17.580 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:32:17.771 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:32:17.988 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:32:18.193 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:32:18.384 [http-nio-6950-exec-4] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 00:32:18.384 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - processing transaction -2025-07-14 00:32:18.385 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:32:18.385 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:32:18.385 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:32:18.386 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:32:18.459 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDcxMzgsImlhdCI6MTc1MjQ0NTkzOCwianRpIjoiZTQxYzFiYmQtNDEyMC00OGIzLWI5MTctZGU0ZDRlNjFjY2Q5IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.Obyq7xJLaid3jKO07GKN48i0vbPh9Q1nyuSNhxR68RQBNR2YvLzGAWmHjyEuTrp8LEL-4mshTj8afJAgsV0vcZEzJtYd2-xt3hXLprWp3k5MExzBlXfGo1nhKnXPaeR-LSMEGvJ9YQsz0NsvWkyyVNDIevT1UK9tpF5dOVcU2_truc1q3UpgHWGUan--f8YpjS3XCC18Ks7YBJh7pXX-FqF8lZsH1oJCeg0tCz8XVg_d7pcH9Zvw7iHAk6RZHKbcgJqHgxqGBHWa4yziXSh9Yzk0iUbNIjsLLn6Qi5EOOSWsPKDC6mwZ5f7WupRnhqUDYy-du-okrG9M8FtifnYy0g", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:32:18.459 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:32:18.460 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:32:18.462 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -2025-07-14 00:32:18.463 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:32:18.469 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [SdkActionDto(clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, phone=+263773591219, amount=5.10, currency=USD, hash=5b8b7819d9904c67d9f9d9220125aeaca084d323a06acea66f2a6cc7034698ef, authType=REMOTE, billerReference=33de1589-a801-4940-9951-d040a2424726, action=PAYMENT, sandbox=true, paymentProcessorLabel=ECOCASH, responseUrl=https://peakapi.stewardpay.co.zw)] as "application/json" -2025-07-14 00:32:18.469 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -{ - "paymentProcessorLabel": "ECOCASH", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "clientId": "steward_pay", - "phone": "+263773591219", - "sandbox": true, - "action": "PAYMENT", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp", - "currency": "USD", - "authType": "REMOTE", - "billerReference": "33de1589-a801-4940-9951-d040a2424726", - "hash": "5b8b7819d9904c67d9f9d9220125aeaca084d323a06acea66f2a6cc7034698ef" -} -2025-07-14 00:32:31.566 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4376.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:32:18 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:32:31 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "867dae48-8d32-42ac-8f88-3717fa3562cd", - "clientId": "steward_pay", - "phone": "263773591219", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "hash": "5b8b7819d9904c67d9f9d9220125aeaca084d323a06acea66f2a6cc7034698ef", - "paymentProcessorLabel": "ECOCASH", - "seconds": "13.003", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "FAILED", - "currency": "USD", - "billerReference": "33de1589-a801-4940-9951-d040a2424726", - "transaction": { - "id": 58977.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:32:31 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "f546d596-9963-49ab-baa8-61150dafce23", - "channel": "GATEWAY", - "amount": "5.10", - "numericAmount": 5.1, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263773591219", - "phone": "263773591219", - "account": "263773591219", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "867dae48-8d32-42ac-8f88-3717fa3562cd", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "FAILED", - "errorMessage": "Transaction failed", - "reference": "88492a8c-eb2f-4491-b340-ebe37b806737", - "responseCode": "99", - "trace": "80f53a74-5d7c-4535-9681-ca07cde10500", - "type": "REQUEST", - "currency": "USD", - "accountType": "T24", - "narration": "33de1589-a801-4940-9951-d040a2424726", - "client": { - "id": 12.0, - "createdBy": "79875914-70e4-4214-bebb-2a936673f3da", - "created": "2021-03-18 10:40:15 +0200", - "modifiedBy": "79875914-70e4-4214-bebb-2a936673f3da", - "modified": "2021-03-18 10:40:15 +0200", - "deleted": false, - "uid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "status": "LIVE", - "clientId": "steward_pay", - "secret": "babf9556-f542-4084-bb85-d4dec3f51f29", - "onChannels": false, - "enableAggregation": false, - "name": "Steward Pay", - "description": "Steward Pay", - "encryptionKey": "735470ce-8efb-4c0f-ba3f-7298f805ab33", - "webOrigins": "*", - "merchantUid": "7a3b61c3-a6c3-4487-bae8-b84641bb7a28", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "code": "3", - "merchantCode": "1046250", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": false, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "MERCHANT", - "clientType": "MERCHANT", - "suspenseAccount": "1037078464", - "chargePlAccount": "PL54082", - "notificationsEnabled": false, - "weight": 1.0 - }, - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "33de1589-a801-4940-9951-d040a2424726", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": true, - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" - }, - "status": 200.0 -} -2025-07-14 00:32:31.567 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:32:31.567 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:32:31.570 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:32:32.018 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "a4c11d02-2e07-450f-82ba-13e3377a12fb", - "createdAt" : "2025-07-14T00:32:31.569902", - "updatedAt" : "2025-07-14T00:32:31.569914", - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "7b1e6ad5-a77b-4e10-887e-c85987bf5ce5", - "amount" : 5, - "charge" : 0, - "gatewayCharge" : 0.05, - "tax" : 0.10, - "totalAmount" : 5.15, - "reference" : "33de1589-a801-4940-9951-d040a2424726", - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263773591219", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "REQUEST", - "authType" : "REMOTE", - "responseCode" : "01", - "status" : "FAILED", - "sdkActionId" : "867dae48-8d32-42ac-8f88-3717fa3562cd" -} -2025-07-14 00:32:32.019 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:32:32.019 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@623c6a64] -2025-07-14 00:32:32.020 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:34:17.572 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:34:17.573 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:34:17.798 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:34:18.179 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:34:18.179 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@4f433289, zw.qantra.tm.domain.models.Category@5174bf5b]] -2025-07-14 00:34:18.180 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:34:18.242 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:34:18.243 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:34:18.244 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:34:18.718 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:34:18.719 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:34:18.719 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:34:18.719 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:34:18.813 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDcyNTgsImlhdCI6MTc1MjQ0NjA1OCwianRpIjoiZWI5MzZkY2ItMTVjYS00OWRmLTg5YzYtMTk3NDJmZTk0NjllIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.O_yBzOxagNwKSmYd7YifpM4rgCv2ZNsptN8_iKT9Lbp_f7HA6kbr4Mu_L0pg1iiLFFYdMQzkMWKXP_dGy6D_mJVXmF-o5BqnLoemULFjFIGTn6W4n1ZIzpFuyKo-ROL89Y_vU_JR_YzUsNFXU9NEx7hoBFa7uzZjliKh14U6x3NlWfsuAAUu-MhlKPaFoM3soQuFDVbXKNulzAgCoc6RqWOJBkIh5ynANEp5axCRn9njNvDinCz-N6Z356xXCHCMFUIW2pEgtwQxrde2C_RpaNmqdwq6ma2FM947VPRf102lsYwxZpAbUYxhN91uCEv9nhGP_PPkQlIVg54W7y7Y8w", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:34:18.813 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:34:18.813 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:34:18.815 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:34:18.815 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:34:18.815 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:34:19.026 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:34:19.026 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:34:19.026 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:34:19.027 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:34:19.027 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:34:19.027 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:34:19.163 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:34:19.164 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:34:19.167 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:34:19.549 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:34:19.549 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@4599d4ac, zw.qantra.tm.domain.models.Transaction@2a50e778]] -2025-07-14 00:34:19.551 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:34:33.786 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/a4c11d02-2e07-450f-82ba-13e3377a12fb", parameters={} -2025-07-14 00:34:33.787 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:34:33.985 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:34:34.390 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:34:34.595 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Using @ExceptionHandler zw.qantra.tm.exceptions.GeneralExceptionHandler#handleAllExceptions(Exception, WebRequest) -2025-07-14 00:34:34.599 [http-nio-6950-exec-1] INFO z.q.t.e.GeneralExceptionHandler - errors Additional data not found for transaction ID: a4c11d02-2e07-450f-82ba-13e3377a12fb for path uri=/api/transaction/a4c11d02-2e07-450f-82ba-13e3377a12fb -2025-07-14 00:34:34.600 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:34:34.600 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [{success=false, message=Internal Server Error, body=null, errors=[Additional data not found for tran (truncated)...] -2025-07-14 00:34:34.606 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [zw.qantra.tm.exceptions.ApiException: Additional data not found for transaction ID: a4c11d02-2e07-450f-82ba-13e3377a12fb] -2025-07-14 00:34:34.606 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 500 INTERNAL_SERVER_ERROR -2025-07-14 00:34:41.604 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/7d34d2d9-4c7b-4c27-bb0d-e0f2e2d1420b", parameters={} -2025-07-14 00:34:41.605 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:34:41.861 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:34:42.263 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:34:42.480 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:34:42.480 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@1a6bdd50] -2025-07-14 00:34:42.481 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:37:42.411 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:37:42.411 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:37:42.600 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:37:42.982 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:37:42.982 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@563f8954, zw.qantra.tm.domain.models.Category@4505d77e]] -2025-07-14 00:37:42.983 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:37:43.039 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:37:43.039 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:37:43.041 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:37:43.424 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:37:43.424 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:37:43.424 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:37:43.424 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:37:43.529 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc0NjMsImlhdCI6MTc1MjQ0NjI2MywianRpIjoiZjg4Y2Y1ODAtYjkwNi00M2NhLWI0MDktMTU0ZDMzYjFjMDJmIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.Cr2kZZUouXAxZDBcEmK8_D48msUiUetN0ppvQTHmEkIoZr9MYjaaT5_YubDkmVg7mMF9yQYC5OE7pUiSekx8v2O_ENYfe_PithOW7zFo4tnGcAYQD4RzEerySxnWGzrvCHI69qnMa-5S_Kn9WKOHQC0Epc1jR-Pyh3Gw7ofng3gu2hQUD5Q7bteaumo87U9_6NllG5GO7N2ri0x3ruKko5hkmkzgnXEfXquZRzLRWm5p_zOh88w2YPQ10p5Fmu58LRbJDnGTDuJGOtw1YyH1_CuJlYKa-XuAMR7hMfPrdUeqjDkJQEhrwwBg_GffCUxa0pPdLdcPmZ9ypr-QHQU0ug", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:37:43.530 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:37:43.530 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:37:43.531 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:37:43.531 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:37:43.531 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:37:43.679 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:37:43.679 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:37:43.680 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:37:43.681 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:37:43.681 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:37:43.682 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:37:43.759 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:37:43.760 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:37:43.762 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:37:44.142 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:37:44.143 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@48b5bfe3, zw.qantra.tm.domain.models.Transaction@7198f75e]] -2025-07-14 00:37:44.144 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:37:59.409 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:37:59.410 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:37:59.623 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:38:00.001 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:38:00.001 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@2b9414d2, zw.qantra.tm.domain.models.Category@14025d83]] -2025-07-14 00:38:00.002 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:38:00.139 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:38:00.139 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:38:00.140 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:38:00.520 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:38:00.520 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:38:00.520 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:38:00.520 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:38:00.581 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc0ODAsImlhdCI6MTc1MjQ0NjI4MCwianRpIjoiOTlmNjUzYzQtZmQ0Ny00MjIyLWFkMTctMmZhZGQ0YzI1YjBiIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.UjU49_hkCN4wKiRvqxyOJIU6yOEmOPmQZHlHY4WGzerBDdMmysDTM88tRlZKrTLSt5OINIdGMULdeOTEiUm1uKbnE7lZPuvWKFJuvFQD9MX08dJVafJ--nHlH6Zxx_Ule9RKMnNJU41qr3wYz-0Omc-gJTnFQpi0vOpAc0xhGXFNPf5CAHXqzVYCKPrTAropazInXUgkJXBx79g-o-UHvFf6swDtMSmr6xTxHpczUv4pYpqr_f-URaks8KIl8scs1SKodtVNdtlOFvpb04vzHld9xPBebnuYf5uJ5xCv5Oz5Wjbc3l71VGgP8GnmYG8NgdvaYQA12ASSM40zsin3nA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:38:00.581 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:38:00.581 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:38:00.586 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:38:00.587 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:38:00.587 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:38:00.834 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:38:00.834 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:38:00.834 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:38:00.835 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:38:00.835 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:38:00.836 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:38:00.918 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:38:00.918 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:38:00.922 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:38:01.345 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:38:01.345 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@76a4dd66, zw.qantra.tm.domain.models.Transaction@231831fc]] -2025-07-14 00:38:01.346 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:39:38.647 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:39:38.647 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:39:38.847 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:39:39.228 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:39:39.228 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@416b98b6, zw.qantra.tm.domain.models.Category@ad0bc20]] -2025-07-14 00:39:39.228 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:39:39.378 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:39:39.378 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:39:39.379 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:39:39.854 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:39:39.854 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:39:39.854 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:39:39.855 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:39:39.955 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc1NzksImlhdCI6MTc1MjQ0NjM3OSwianRpIjoiNTllYjAzOTktYTg5OS00NjgzLTlmOWYtYmIwMzI4MTIxNThiIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.WjS2tmIok0SKWAOZntnvL2Le0Xgc4xXU17SpJdbmpN2-GJvtVngmHlTl2JXCEJeWCpWlpEfEwXWmqKBpG2aGAHh3mfJAV0ZBbhDrvO_v4m-Vf_krK_6ERuv4hIPWYYN3LDa4Iy-Kj3nlVMsqfgmgFPEt5RSLgMpVeHJ7IiyrsOjxsJDVdWvKqOphPP4OctkZrgbr31eIcRiG00-wSPTuCOoTpO4TbI6My2ywUTmwFxS-1sw8h1QKxTpQorEAuxgb40Xm8pNWeKVZ2fF4Buv-deGuJ3Pkz5iWLs-uTX_PyIwuAZbhbfyfJPDvpmyHquevkmvpJBpOMgtF_dFAa3FqaQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:39:39.955 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:39:39.956 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:39:39.956 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:39:39.956 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:39:39.956 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:39:40.168 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:39:40.168 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:39:40.168 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:39:40.169 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:39:40.169 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:39:40.170 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:39:40.289 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:39:40.290 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:39:40.292 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:39:40.672 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:39:40.672 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@687ff9c6, zw.qantra.tm.domain.models.Transaction@59a2ed85]] -2025-07-14 00:39:40.673 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:42:47.828 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:42:47.828 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:42:48.032 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:42:48.475 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:42:48.475 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@7a564e2b, zw.qantra.tm.domain.models.Category@3c9674f2]] -2025-07-14 00:42:48.475 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:42:48.618 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:42:48.619 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:42:48.621 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:42:49.150 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:42:49.150 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:42:49.150 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:42:49.151 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:42:49.345 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc3NjksImlhdCI6MTc1MjQ0NjU2OSwianRpIjoiNzA2MzYzMzQtM2M3Ni00YzkyLWJiMjYtZWI0MWZiZGUzZWZjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.m8UX0Ca03NVcMUP2m0WzdrRfi6-P8XRMdmkd5wPlybAAi-3MMQ7w1rqU5GaXc-ud4q77IZhEwh1-rupz9IHCzOsM1vOqPlyWC-uC4cS-2qHegaw0CyjoJCqb8rR0lI6kPTLHLnH5FST2pQPoy-yfkQXLgL9NjlcUOphLkvrUBOmcniRLKoMx2IdNQwhZjOhfX67AxT74RU8YhJhgd0JGKh4l91Xn-hf_fNv8IkKQh4Y40vs1Ta69G1AWl2FNWrmZ0a5Gxdgy-Y8k8fk_8MjFNbiU9CZlxFL4twUpa7cC6EWQrz9LUYBrZT2JmkERhvKvLmaqwezkJNHdvTZmPErjfg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:42:49.346 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:42:49.346 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:42:49.346 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:42:49.346 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:42:49.346 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:42:49.582 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:42:49.583 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:42:49.583 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:42:49.584 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:42:49.584 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:42:49.585 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:42:49.726 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:42:49.727 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:42:49.730 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:42:50.207 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:42:50.207 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@47b4d34b, zw.qantra.tm.domain.models.Transaction@1d4b7419]] -2025-07-14 00:42:50.208 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:26.581 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:43:26.581 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:43:26.781 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:43:27.174 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:27.175 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@6cba4388, zw.qantra.tm.domain.models.Category@5c34b2ce]] -2025-07-14 00:43:27.176 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:27.710 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:43:27.710 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:43:27.905 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:43:28.338 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:28.338 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@351bb0a0, zw.qantra.tm.domain.models.Category@862323]] -2025-07-14 00:43:28.339 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:28.485 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:43:28.485 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:43:28.486 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:43:28.879 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:43:28.880 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:43:28.880 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:43:28.880 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:43:29.007 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc4MDgsImlhdCI6MTc1MjQ0NjYwOCwianRpIjoiMWYzMWU0YzAtOGI0Yi00MzRmLWE3MjAtZWZiM2YyOGYzMDdiIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.Ow3K0C-ef0KvF1ZoKoRZPMqu2_R0CzLvUMJig1ktHeIsjwvx7JHtz6muJIljW7G_vrWyxVJxgnksQBUr_HfN6YOnly6TNDZBWZM0nwoxMEK9OijUCI48ngrGYGzaL8E_t8CRpQJO1QBSb0SXHAXxjjxBAp_9052PIC1Am1nTQSfwtK8mBlGwYMH3j_NEuoomrbLSftQoeuqKRw9A8De7d83jGXh438gn10c3RqkeKjome-RfR2eSBZ5s-Kag66IARHQBYIsD07txwm7UN2gzHLWkHA8aeCs4HiYJim0-V87PvKkAOGzZYsg1n_NLTIAm-7ubXoIM3rExkhl0jZN5DQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:43:29.008 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:43:29.008 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:43:29.009 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:43:29.010 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:43:29.010 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:43:29.175 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:43:29.176 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:43:29.176 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:43:29.176 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:29.176 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:43:29.176 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:29.505 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:43:29.505 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:43:29.506 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:43:29.900 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:29.900 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@7fe45a8e, zw.qantra.tm.domain.models.Category@682988eb]] -2025-07-14 00:43:29.901 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:29.965 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:43:29.966 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:43:29.967 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:43:30.356 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:43:30.356 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:43:30.356 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:43:30.357 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:43:30.429 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc4MTAsImlhdCI6MTc1MjQ0NjYxMCwianRpIjoiYjQ0MjE1M2ItMTY5NC00ZjY5LThiYWYtOWEyZDE2OWUwNTBiIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.pXb1ZsZV9UKuTZmHTISfZH3iRfdhP-Iav0ETsY5lH8B8_1tsXIyFf--EiVhhrXvqrGwXRX-qe-PkzuSo1kVLkLcLKywhTLe0uLy4ZrqSiQP2Q4lSGGmuFi2bDyeUDxzykTY2ydYtj6mLydy67D639QF17IMfMrnKmw7DMuvYxrj43cCWPe7KJrZNV3_EXZ1SSNO0TlgvzErc6n0gV3l3nWDWgH8UlsClGMk7A5gyLqxX84Lk1ZUAW9gxze_-La4sfslQE54ankPeb_rvSzv7lutZNZ4WkveeSqDSWRjzLWr5AgUBxmmqINeztUR_d6b9vbY6E-fMcocmmNfzhg2zhA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:43:30.429 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:43:30.430 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:43:30.430 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:43:30.430 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:43:30.431 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:43:30.595 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:43:30.595 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:43:30.595 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:43:30.596 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:30.596 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:43:30.596 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:30.680 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:43:30.680 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:43:30.682 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:43:31.073 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:31.073 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@392e7b0, zw.qantra.tm.domain.models.Transaction@e33bb62]] -2025-07-14 00:43:31.075 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:51.359 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:43:51.359 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:43:51.553 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:43:51.939 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:51.939 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@57f8953a, zw.qantra.tm.domain.models.Category@214994da]] -2025-07-14 00:43:51.939 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:51.985 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:43:51.986 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:43:51.987 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:43:52.477 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:43:52.477 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:43:52.477 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:43:52.478 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:43:52.538 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc4MzIsImlhdCI6MTc1MjQ0NjYzMiwianRpIjoiYjI4MjAwODktMjI1OC00MGIzLTliY2ItNjNmOWVjOTEzNWI5IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.fwQQ1ljQYeEPqhKyVT7vKPDvWvHf2Is9ZyFztQPIZDgG3X7lkDWnM-hL45XLyyv4VOVIOYWvBuT4r-xQgzFkLGs0XwIsYtdFqPpf1l6SxWfspnHOhnSvVTJb55ZZJ6Fc2w5buPxOeDlxwl-aeE9JwclcGrfPRBP-uhYXaOjVGdtkPb_bgWMwIu7SVjk6NbQvLcfP58-bKQeOTNrtiDMZ_5cKAHZF6SRGgrY71HG5Ce_4zGmHWFRyYgwO8gdHdvOG3gZQaaIuzQapyPmD92cnJ8jyKU4QYLZcL_DmXa4j81kqUiRfL0JGu1-n8YKostpieuR3oyH0xZrvje_FRbaVhQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:43:52.538 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:43:52.538 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:43:52.538 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:43:52.538 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:43:52.539 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:43:52.682 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:43:52.683 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:43:52.683 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:43:52.683 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:52.684 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:43:52.685 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:43:52.762 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:43:52.762 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:43:52.765 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:43:53.285 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:43:53.285 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@4d74d05a, zw.qantra.tm.domain.models.Transaction@65736d39]] -2025-07-14 00:43:53.286 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:44:59.530 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:44:59.530 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:44:59.757 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:45:00.158 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:45:00.158 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@50bc18b2, zw.qantra.tm.domain.models.Category@4a717dfa]] -2025-07-14 00:45:00.159 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:45:00.301 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:45:00.301 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:45:00.303 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:45:00.776 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:45:00.776 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:45:00.776 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:45:00.777 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:45:00.879 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc5MDAsImlhdCI6MTc1MjQ0NjcwMCwianRpIjoiY2NmYjcwOWUtZGE4Ni00Nzc2LTg4NTItOTZhOGFjZmZkOGQyIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.N1fAsP6frc0okcwA7PpuocCKjoznxLmC--hKjF5wek3j0LJDXpywYDvfMpBaw57G3ukBZhLY9doTuW4u5v6Lhw-eR89G3ocbuidgf7o5xYWEgZr7cjwPpPrshwpVcSc6vHwk0XSKL3GdmSTzgd9NMX-o7Yo83hdqj5929SrYsQ3_shw1A3e4FCmsVXatV-RebJB74UR7027OZFzZDAgrkp0Y1o0FNDiVcdjcLVM1muOUswr665xvxeg6cr-UhRXwRuMdamE1O89_plazptx7FAtMv-hCOF1DtctvLEpx5DQXD07Y0wPi0_pvp7WTwRk4Dvw3yuuQUdp67xztcB1V-w", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:45:00.880 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:45:00.880 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:45:00.881 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:45:00.881 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:45:00.881 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:45:01.033 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:45:01.033 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:45:01.033 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:45:01.034 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:45:01.034 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:45:01.034 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:45:01.106 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:45:01.106 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:45:01.108 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:45:01.510 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:45:01.511 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@38d27a34, zw.qantra.tm.domain.models.Transaction@5454a337]] -2025-07-14 00:45:01.512 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:04.218 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:46:04.219 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:46:04.464 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:46:04.972 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:04.972 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@5f692ddc, zw.qantra.tm.domain.models.Category@38dd8e8d]] -2025-07-14 00:46:04.973 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:05.106 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:46:05.106 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:46:05.107 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:46:05.506 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:46:05.506 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:05.506 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:46:05.506 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:46:05.606 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc5NjUsImlhdCI6MTc1MjQ0Njc2NSwianRpIjoiOGI1MmVlNzQtMjQwNS00ODY3LWIwM2UtMzZiNTA1MTI2N2JlIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.AHvaA9Yjao79dGnFF1f4kVlmfUX0OMh-XZfcUx5PYIb89Dql9abUSvw7k7URsIZ49c4C_BWKRXGkErVfSA1q5ZEV2tiOPaIPSNnjmNGbIZMrrgIpQlbS8h3MV0b_ge-aEwAeH_NKu5kNl7MXOVintfN-h6YiVAgNodoSniidwpLVjT0gvDY5h4LA3hBqDGaGVtGOu8h1UW0FBx08nsgp4JGH5wRAgnSy6n37ZyNu9P0_MIupI3p2Nw0q8BMuseZXyOG2IpvB_RDJ7AqxD5QCRN25GBqlCrlxUZV2X32RhFt96lSbfa14f8rqJPevIbMgOS0fB1piIbL4amIRzrUTtw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:46:05.606 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:05.606 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:46:05.607 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:46:05.607 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:05.607 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:46:05.775 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:46:05.775 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:05.776 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:46:05.776 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:05.776 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:46:05.776 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:05.883 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:46:05.883 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:46:05.887 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:46:06.287 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:06.287 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@1cc7680e, zw.qantra.tm.domain.models.Transaction@1aa4b1bd]] -2025-07-14 00:46:06.287 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:10.609 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:46:10.609 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:46:10.808 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:46:11.205 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:11.205 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@315b161b, zw.qantra.tm.domain.models.Category@34405364]] -2025-07-14 00:46:11.205 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:11.310 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:46:11.310 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:46:11.312 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:46:11.726 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:46:11.726 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:11.726 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:46:11.727 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:46:11.810 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc5NzEsImlhdCI6MTc1MjQ0Njc3MSwianRpIjoiOTc5YjI1ZmYtMjQwMS00MGQxLTkyMTQtYmZiODZmMTUyODUxIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.qc_u_E9LiZLaSAMYLhyvoyRt2jPbkhqdHdxmNgI4sRet-BqGEHwKVsg1LIQa8MuPCqJa0B2PQwBQYIKQFs9MKsK0mZGesYvyVHGlfZsbiYBl0hPcN8MOZ5hpdayQAsenjG1nzkXrqWzB40ivRQAvZ39eRqr8mDUW4DRpWxkeWbv8sdGyuMfCgdFIwoqlg0YrfCugTtd_Pg3NisMQxcHkAEcFwlG6gDgmVYvCPFcP5tVH7kw2-rAagiuZmEjNdzspYqF2WZUFgBHoD02cdRaI0q9aObMdJUewa-LaUK_5EsVZqvN1__K3DS2aBra2siixWLLvkAhpQnHtU1kv_SU_cw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:46:11.810 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:11.810 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:46:11.811 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:46:11.811 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:11.811 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:46:11.965 [http-nio-6950-exec-2] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:46:11.965 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:11.965 [http-nio-6950-exec-2] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:46:11.966 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:11.966 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:46:11.966 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:12.068 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:46:12.068 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:46:12.070 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:46:12.475 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:12.475 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@699302b6, zw.qantra.tm.domain.models.Transaction@75fd5871]] -2025-07-14 00:46:12.476 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:18.568 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:46:18.568 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:46:18.766 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:46:19.205 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:19.205 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@739dba08, zw.qantra.tm.domain.models.Category@2282c0d3]] -2025-07-14 00:46:19.206 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:19.344 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:46:19.344 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:46:19.345 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:46:19.820 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:46:19.820 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:19.821 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:46:19.821 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:46:19.892 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc5NzksImlhdCI6MTc1MjQ0Njc3OSwianRpIjoiMDNmNGFiMDMtYmY0ZC00YWI4LThmZWEtYjJlMjRiNzA1MzNjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.PVGfS5lpdS8X1rRhj4CycYKE4tw7bd_-s1Uw3c93npsUjakeebERoCVSvMIuZuedRFEUAOJm-O10ACtXS-Gq_wX1TFUE8O24m_I4b1234AM14e-oLbeVidlPkYPuGNQOIj2Ltvt6U12wZr2D_xLjmr7uK_ImuvSUl4dDrrGzUO1_DD4w71_rCIZpWDsfAOjLf0Kj8TDlq-yA0jGee-A8sd7Nt0Iwie5TwdLmEi2nprADfOlavAU-GWUj0sR_q-cEpghbsC5yqr4H_B5RdWZXPr3reEtK47hKWg96k3zYgwEEcMJkiq7OUc2Gu9cMOTfDDxlE3P1Mo8GgOtd9LVNTLA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:46:19.892 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:19.893 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:46:19.893 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:46:19.894 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:19.894 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:46:20.080 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:46:20.080 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:20.080 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:46:20.081 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:20.081 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:46:20.082 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:20.222 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:46:20.222 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:46:20.225 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:46:20.634 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:20.634 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@1f65d3f, zw.qantra.tm.domain.models.Transaction@5a772cc4]] -2025-07-14 00:46:20.635 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:27.162 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:46:27.162 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:46:27.361 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:46:27.760 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:27.760 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@11455b85, zw.qantra.tm.domain.models.Category@5c0f7928]] -2025-07-14 00:46:27.760 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:27.840 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:46:27.840 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:46:27.841 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:46:28.241 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:46:28.241 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:28.242 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:46:28.242 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:46:28.330 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDc5ODgsImlhdCI6MTc1MjQ0Njc4OCwianRpIjoiYTZkNDg4NjQtYmI2NC00ZTljLWJmMjUtYmIyY2M4OWNmNjhkIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.g_9Wx885gQl4uGWfNPAgoG083ucOL-ZzxT_TILaRWR4zrFbzrjhJoWQv901seyHjsPW4Gx3pEpcEQE8MOTYDTlN2kgCa9_A2HwJoOPLqtZohcLtX5Z9vNUrp7p4FMW6n2Jn7cdG3tgz93QIh2xL7e8i64ABRRMW_ImHJNwYhqRVXHqOPZbTeevJg6RtCZYomLxI5KmftXQ0Kas3wLc_gDkI5oFxyTpmB_7nHk7BOlMyURVdgmnvfVTq85g5FhG8ggizxgp8Hr3GgaFEsDWLLRH7DuLtB_4LnCXxaRp4JsyFLqi6mBVmwRp4mWISmPdEK0Rs2HeUyylmxYsqKNqWXLQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:46:28.331 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:28.331 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:46:28.331 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:46:28.332 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:46:28.332 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:46:28.475 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:46:28.476 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:46:28.476 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:46:28.477 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:28.477 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:46:28.477 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:46:28.615 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:46:28.616 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:46:28.619 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:46:29.019 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:46:29.019 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@419ff63e, zw.qantra.tm.domain.models.Transaction@7c6cebea]] -2025-07-14 00:46:29.020 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:47:27.852 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:47:27.852 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:47:27.853 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@22c0e364] -2025-07-14 00:47:27.853 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "trace" : "000cfbc2-c11a-4dbb-b779-004a62ac436e", - "amount" : 5, - "paymentProcessorLabel" : "ECOCASH", - "debitCurrency" : "USD", - "debitRef" : "unique", - "creditPhone" : "263773591219", - "creditAccount" : "14309986843", - "billClientId" : "powertel_zesa", - "billName" : "ZESA", - "type" : "REQUEST", - "authType" : "REMOTE" -} -2025-07-14 00:47:27.853 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:47:27.854 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:47:28.255 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:47:28.459 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:47:28.659 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:47:28.859 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:47:29.059 [http-nio-6950-exec-4] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 00:47:29.059 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - processing transaction -2025-07-14 00:47:29.059 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:47:29.060 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:47:29.060 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:47:29.060 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:47:29.125 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDgwNDksImlhdCI6MTc1MjQ0Njg0OSwianRpIjoiMzc3Zjg4NzQtYzc3NS00MGVlLWExZjctYzVmZGM0NTg5ZWZmIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.WHiOJ84G8y4R64kFM6g0kDaULa7YhhN2brgnT1z5S7GBMGUe5yQSXkRn9b4snGY_qOabDR1glC2ZJW_BkdG5RQryM6Br5qqMe-5snnNGleMVRX3puj46K63eiYnVLSKmdlI-h3iD35ocRuhPNsBOQwf_XEJ0nD5asQ5wAaLVOtMgOwPlfjgWFHkZyabif9CQh0Ww8xEbWzjApm69Qt89d_uwpN8TYOUBng50EqRDv4Cu8JXZPilqvPrAOtABWEtLLnMMOENOpxJUzaAKY4K4QKGTq2CCVMbw3_IkugTp-eoaeMVgBZzA1iCBlHqJtiCvDq9exh2a4DeaIVIsAxGnhg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:47:29.126 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:47:29.126 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:47:29.126 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -2025-07-14 00:47:29.126 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:47:29.126 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [SdkActionDto(clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, phone=263773591219, amount=5.10, currency=USD, hash=ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d, authType=REMOTE, billerReference=1c755fa3-2aca-402a-b28c-3153a6c6b34a, action=PAYMENT, sandbox=true, paymentProcessorLabel=ECOCASH, responseUrl=https://peakapi.stewardpay.co.zw)] as "application/json" -2025-07-14 00:47:29.126 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -{ - "paymentProcessorLabel": "ECOCASH", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "clientId": "steward_pay", - "phone": "263773591219", - "sandbox": true, - "action": "PAYMENT", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp", - "currency": "USD", - "authType": "REMOTE", - "billerReference": "1c755fa3-2aca-402a-b28c-3153a6c6b34a", - "hash": "ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d" -} -2025-07-14 00:47:42.037 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4377.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:47:29 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:47:42 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "0e6b1666-6251-492f-9af3-f3a85e97f251", - "clientId": "steward_pay", - "phone": "263773591219", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "hash": "ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d", - "paymentProcessorLabel": "ECOCASH", - "seconds": "12.827", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "FAILED", - "currency": "USD", - "billerReference": "1c755fa3-2aca-402a-b28c-3153a6c6b34a", - "transaction": { - "id": 58980.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:47:41 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "d481f8cc-1eef-41ec-8cb7-a1c8598cc59e", - "channel": "GATEWAY", - "amount": "5.10", - "numericAmount": 5.1, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263773591219", - "phone": "263773591219", - "account": "263773591219", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "0e6b1666-6251-492f-9af3-f3a85e97f251", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "FAILED", - "errorMessage": "Transaction failed", - "reference": "c0d68f5d-9f4e-43a8-9a5d-b364aa838647", - "responseCode": "99", - "trace": "88aea794-4dca-4419-b0fb-292ba1324911", - "type": "REQUEST", - "currency": "USD", - "accountType": "T24", - "narration": "1c755fa3-2aca-402a-b28c-3153a6c6b34a", - "client": { - "id": 12.0, - "createdBy": "79875914-70e4-4214-bebb-2a936673f3da", - "created": "2021-03-18 10:40:15 +0200", - "modifiedBy": "79875914-70e4-4214-bebb-2a936673f3da", - "modified": "2021-03-18 10:40:15 +0200", - "deleted": false, - "uid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "status": "LIVE", - "clientId": "steward_pay", - "secret": "babf9556-f542-4084-bb85-d4dec3f51f29", - "onChannels": false, - "enableAggregation": false, - "name": "Steward Pay", - "description": "Steward Pay", - "encryptionKey": "735470ce-8efb-4c0f-ba3f-7298f805ab33", - "webOrigins": "*", - "merchantUid": "7a3b61c3-a6c3-4487-bae8-b84641bb7a28", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "code": "3", - "merchantCode": "1046250", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": false, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "MERCHANT", - "clientType": "MERCHANT", - "suspenseAccount": "1037078464", - "chargePlAccount": "PL54082", - "notificationsEnabled": false, - "weight": 1.0 - }, - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "1c755fa3-2aca-402a-b28c-3153a6c6b34a", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": true, - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" - }, - "status": 200.0 -} -2025-07-14 00:47:42.037 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:47:42.037 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:47:42.040 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:47:42.442 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "0a38aca5-2abc-4c7a-9b9d-87529d087013", - "createdAt" : "2025-07-14T00:47:42.03999", - "updatedAt" : "2025-07-14T00:47:42.040008", - "trace" : "000cfbc2-c11a-4dbb-b779-004a62ac436e", - "amount" : 5, - "charge" : 0, - "gatewayCharge" : 0.05, - "tax" : 0.10, - "totalAmount" : 5.15, - "reference" : "1c755fa3-2aca-402a-b28c-3153a6c6b34a", - "paymentProcessorLabel" : "ECOCASH", - "debitCurrency" : "USD", - "debitRef" : "unique", - "creditPhone" : "263773591219", - "creditAccount" : "14309986843", - "billClientId" : "powertel_zesa", - "billName" : "ZESA", - "type" : "REQUEST", - "authType" : "REMOTE", - "responseCode" : "01", - "status" : "FAILED", - "sdkActionId" : "0e6b1666-6251-492f-9af3-f3a85e97f251" -} -2025-07-14 00:47:42.442 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:47:42.442 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@22c0e364] -2025-07-14 00:47:42.443 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:48:37.347 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:48:37.347 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:48:37.348 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@6a99dec6] -2025-07-14 00:48:37.348 [http-nio-6950-exec-7] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "trace" : "000cfbc2-c11a-4dbb-b779-004a62ac436e", - "amount" : 5, - "paymentProcessorLabel" : "ECOCASH", - "debitCurrency" : "USD", - "debitRef" : "unique", - "creditPhone" : "263773591219", - "creditAccount" : "14309986843", - "billClientId" : "powertel_zesa", - "billName" : "ZESA", - "type" : "REQUEST", - "authType" : "REMOTE" -} -2025-07-14 00:48:37.348 [http-nio-6950-exec-7] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:48:37.348 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:48:37.753 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:48:37.959 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:48:38.162 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:48:38.361 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:48:38.573 [http-nio-6950-exec-7] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 00:48:38.573 [http-nio-6950-exec-7] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - processing transaction -2025-07-14 00:48:38.573 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:48:38.573 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:48:38.574 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:48:38.574 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:48:38.647 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDgxMTgsImlhdCI6MTc1MjQ0NjkxOCwianRpIjoiZGQ1MTRiZmItN2UzNC00ZWVhLWEwZjktNjY0MTNlYmI1YzE4IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.d8tx0u6uOZUCoE8uUq1NT2SRnSCMb2dm0tOEHD0DwqXemvXLw8jlrG8qn-IbwHYZZu7CaBQd0nmrM71qBd7RK7KoPBOm6VZ5tXaFco3L_j2zfNNlRPw03ug_qZ0TuzYGUIYgQ-yb58-GpLmcMePZSTs1UuLqxsS_ejJPWNagrbQC7SdMLLS9fOurUDTFPg3uxPTN8DD1DngeHcycQu12kyG1Buxxu0mEyQIt3AyOLiprhzDK20eUel7d3LAIfQO8BKEo1bHjKc_a9QiM2OMMNjaXGrAzuonHgqm3atXqKd-YqbVLUjRbiivHJfsl_7thyqZgMEkYZGyNYjUuNPq_bw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:48:38.647 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:48:38.647 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:48:38.648 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -2025-07-14 00:48:38.648 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:48:38.648 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [SdkActionDto(clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, phone=263773591219, amount=5.10, currency=USD, hash=ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d, authType=REMOTE, billerReference=2072f684-a0e1-4ac2-84a9-0545e8444212, action=PAYMENT, sandbox=true, paymentProcessorLabel=ECOCASH, responseUrl=https://peakapi.stewardpay.co.zw)] as "application/json" -2025-07-14 00:48:38.649 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -{ - "paymentProcessorLabel": "ECOCASH", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "clientId": "steward_pay", - "phone": "263773591219", - "sandbox": true, - "action": "PAYMENT", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp", - "currency": "USD", - "authType": "REMOTE", - "billerReference": "2072f684-a0e1-4ac2-84a9-0545e8444212", - "hash": "ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d" -} -2025-07-14 00:48:46.561 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4378.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:48:38 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:48:46 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "6e1015af-eff6-4921-bf94-b83e7f93b2d5", - "clientId": "steward_pay", - "phone": "263773591219", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "hash": "ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d", - "paymentProcessorLabel": "ECOCASH", - "seconds": "7.786", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "FAILED", - "currency": "USD", - "billerReference": "2072f684-a0e1-4ac2-84a9-0545e8444212", - "transaction": { - "id": 58981.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:48:46 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "17155e7e-35f3-4176-b53f-9ec511429ec3", - "channel": "GATEWAY", - "amount": "5.10", - "numericAmount": 5.1, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263773591219", - "phone": "263773591219", - "account": "263773591219", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "6e1015af-eff6-4921-bf94-b83e7f93b2d5", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "FAILED", - "errorMessage": "Transaction failed", - "reference": "4eefa7b4-3991-42da-b511-f7dbad139664", - "responseCode": "99", - "trace": "b800a7f2-af82-4817-979b-f459d1d89e7d", - "type": "REQUEST", - "currency": "USD", - "accountType": "T24", - "narration": "2072f684-a0e1-4ac2-84a9-0545e8444212", - "client": { - "id": 12.0, - "createdBy": "79875914-70e4-4214-bebb-2a936673f3da", - "created": "2021-03-18 10:40:15 +0200", - "modifiedBy": "79875914-70e4-4214-bebb-2a936673f3da", - "modified": "2021-03-18 10:40:15 +0200", - "deleted": false, - "uid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "status": "LIVE", - "clientId": "steward_pay", - "secret": "babf9556-f542-4084-bb85-d4dec3f51f29", - "onChannels": false, - "enableAggregation": false, - "name": "Steward Pay", - "description": "Steward Pay", - "encryptionKey": "735470ce-8efb-4c0f-ba3f-7298f805ab33", - "webOrigins": "*", - "merchantUid": "7a3b61c3-a6c3-4487-bae8-b84641bb7a28", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "code": "3", - "merchantCode": "1046250", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": false, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "MERCHANT", - "clientType": "MERCHANT", - "suspenseAccount": "1037078464", - "chargePlAccount": "PL54082", - "notificationsEnabled": false, - "weight": 1.0 - }, - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "2072f684-a0e1-4ac2-84a9-0545e8444212", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": true, - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" - }, - "status": 200.0 -} -2025-07-14 00:48:46.562 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:48:46.562 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:48:59.904 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:49:00.384 [http-nio-6950-exec-7] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "6709dfff-7524-4580-8fb4-6e59cdbc964c", - "createdAt" : "2025-07-14T00:48:59.896093", - "updatedAt" : "2025-07-14T00:48:59.896195", - "trace" : "000cfbc2-c11a-4dbb-b779-004a62ac436e", - "amount" : 5, - "charge" : 0, - "gatewayCharge" : 0.05, - "tax" : 0.10, - "totalAmount" : 5.15, - "reference" : "2072f684-a0e1-4ac2-84a9-0545e8444212", - "paymentProcessorLabel" : "ECOCASH", - "debitCurrency" : "USD", - "debitRef" : "unique", - "creditPhone" : "263773591219", - "creditAccount" : "14309986843", - "billClientId" : "powertel_zesa", - "billName" : "ZESA", - "type" : "REQUEST", - "authType" : "REMOTE", - "responseCode" : "01", - "status" : "FAILED", - "sdkActionId" : "6e1015af-eff6-4921-bf94-b83e7f93b2d5" -} -2025-07-14 00:49:00.385 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:49:00.385 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@6a99dec6] -2025-07-14 00:49:00.386 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:51:46.464 [main] INFO zw.qantra.tm.TmApplication - Starting TmApplication using Java 17.0.14 with PID 558509 (/home/vk/dev/qantra/qpay-tm/target/classes started by vk in /home/vk/dev/qantra/qpay-tm) -2025-07-14 00:51:46.465 [main] INFO zw.qantra.tm.TmApplication - The following 1 profile is active: "lab" -2025-07-14 00:51:46.465 [main] DEBUG o.s.boot.SpringApplication - Loading source class zw.qantra.tm.TmApplication -2025-07-14 00:51:46.484 [main] DEBUG o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7502291e -2025-07-14 00:51:47.028 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-14 00:51:47.028 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-14 00:51:47.029 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. -2025-07-14 00:51:47.042 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 6950 (http) -2025-07-14 00:51:47.074 [main] DEBUG o.s.b.w.s.c.ServletWebServerApplicationContext - Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] -2025-07-14 00:51:47.075 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 591 ms -2025-07-14 00:51:47.084 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping filters: customCorsFilter urls=[/*] order=-2147483648, characterEncodingFilter urls=[/*] order=-2147483648, formContentFilter urls=[/*] order=-9900, requestContextFilter urls=[/*] order=-105 -2025-07-14 00:51:47.085 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping servlets: dispatcherServlet urls=[/] -2025-07-14 00:51:47.097 [main] DEBUG o.s.b.w.s.f.OrderedRequestContextFilter - Filter 'requestContextFilter' configured for use -2025-07-14 00:51:47.099 [main] DEBUG o.s.b.w.s.f.OrderedCharacterEncodingFilter - Filter 'characterEncodingFilter' configured for use -2025-07-14 00:51:47.100 [main] DEBUG o.s.b.w.s.f.OrderedFormContentFilter - Filter 'formContentFilter' configured for use -2025-07-14 00:51:47.339 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... -2025-07-14 00:51:49.453 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@314f59b -2025-07-14 00:51:49.455 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. -2025-07-14 00:51:49.678 [main] WARN org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) -2025-07-14 00:51:55.822 [main] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -2025-07-14 00:51:55.873 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 43 mappings in 'requestMappingHandlerMapping' -2025-07-14 00:51:55.895 [main] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping' -2025-07-14 00:51:55.914 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice -2025-07-14 00:51:55.940 [main] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice -2025-07-14 00:51:56.006 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port 6950 (http) with context path '/api' -2025-07-14 00:51:56.010 [main] INFO zw.qantra.tm.TmApplication - Started TmApplication in 9.781 seconds (process running for 10.056) -2025-07-14 00:51:56.011 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state LivenessState changed to CORRECT -2025-07-14 00:51:56.012 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state ReadinessState changed to ACCEPTING_TRAFFIC -2025-07-14 00:51:58.881 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' -2025-07-14 00:51:58.881 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected StandardServletMultipartResolver -2025-07-14 00:51:58.881 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected AcceptHeaderLocaleResolver -2025-07-14 00:51:58.881 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected FixedThemeResolver -2025-07-14 00:51:58.882 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@1b1d1558 -2025-07-14 00:51:58.882 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.support.SessionFlashMapManager@568cbf8d -2025-07-14 00:51:58.882 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data -2025-07-14 00:51:58.882 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 1 ms -2025-07-14 00:51:58.886 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:51:58.889 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:51:58.932 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@573881df] -2025-07-14 00:51:58.943 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "trace" : "000cfbc2-c11a-4dbb-b779-004a62ac436e", - "amount" : 5, - "paymentProcessorLabel" : "ECOCASH", - "debitCurrency" : "USD", - "debitRef" : "unique", - "creditPhone" : "263773591219", - "creditAccount" : "14309986843", - "billClientId" : "powertel_zesa", - "billName" : "ZESA", - "type" : "REQUEST", - "authType" : "REMOTE" -} -2025-07-14 00:51:58.944 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:51:58.984 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:51:59.392 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:51:59.601 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:51:59.799 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:52:00.065 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:52:00.317 [http-nio-6950-exec-1] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 00:52:00.317 [http-nio-6950-exec-1] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - processing transaction -2025-07-14 00:52:00.324 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:52:00.327 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:52:00.329 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [{clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, clientId=steward_pay}] as "application/json" -2025-07-14 00:52:00.335 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:52:00.475 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDgzMjAsImlhdCI6MTc1MjQ0NzEyMCwianRpIjoiNGE0Mzk0OWYtYjI1MS00MGJjLWI3ZjEtYThkZTgzMWYzY2FiIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.PpOVhGep3HboaUVbJQonvHfQ1opm-BGjCBdYArvqI3E_pjzXwBvdRYSPC7WZfLCUwn8vXpM4g3_eOF9YXenhdtBiyX9MzgJXSzdWuqDD2UJy4PufsBdVL5hNWP8Txr3gEI6feP5d7ZZnLZATMfjcY2x7aBv8RcUiI4rL9W6HUwEIhZo220a2pd3SCTKiROj93O5btJHs0wRlsNmr2tSfubjOM-T_1X-vWjRXXtaXRjyTWffqoClE52Ha-HyqrzTAYeSyUsFLhX7IPXVIymFNc7kZnBxI7ckpY8MYfdeGi_3l5x5CVn2XE_VnpVpvqphYUfKGjZYsjjyD51-yojZiyw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:52:00.477 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:52:00.478 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:52:00.480 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -2025-07-14 00:52:00.481 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:52:00.484 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [SdkActionDto(clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, phone=263773591219, amount=5.10, currency=USD, hash=ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d, authType=REMOTE, billerReference=3e848af9-820c-479c-88bb-b37dc887c0c6, action=PAYMENT, sandbox=true, paymentProcessorLabel=ECOCASH, responseUrl=https://peakapi.stewardpay.co.zw)] as "application/json" -2025-07-14 00:52:00.484 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -{ - "paymentProcessorLabel": "ECOCASH", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "clientId": "steward_pay", - "phone": "263773591219", - "sandbox": true, - "action": "PAYMENT", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp", - "currency": "USD", - "authType": "REMOTE", - "billerReference": "3e848af9-820c-479c-88bb-b37dc887c0c6", - "hash": "ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d" -} -2025-07-14 00:52:10.345 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4379.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:52:00 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:52:10 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "0bf34c10-fe4b-4223-8bbb-04a4369359c4", - "clientId": "steward_pay", - "phone": "263773591219", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "hash": "ae2b736614243a7393b355a4a92fd03dfd686163546993a8414c7448fb25713d", - "paymentProcessorLabel": "ECOCASH", - "seconds": "9.735", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "FAILED", - "currency": "USD", - "billerReference": "3e848af9-820c-479c-88bb-b37dc887c0c6", - "transaction": { - "id": 58982.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:52:10 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "49ffb373-a4e3-445b-b82f-69617c9c881e", - "channel": "GATEWAY", - "amount": "5.10", - "numericAmount": 5.1, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263773591219", - "phone": "263773591219", - "account": "263773591219", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "0bf34c10-fe4b-4223-8bbb-04a4369359c4", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "FAILED", - "errorMessage": "Transaction failed", - "reference": "d0329912-b27b-4ff2-9df4-7e1c312fab34", - "responseCode": "99", - "trace": "69326758-9fb2-4ab3-8f83-86b33a79ead8", - "type": "REQUEST", - "currency": "USD", - "accountType": "T24", - "narration": "3e848af9-820c-479c-88bb-b37dc887c0c6", - "client": { - "id": 12.0, - "createdBy": "79875914-70e4-4214-bebb-2a936673f3da", - "created": "2021-03-18 10:40:15 +0200", - "modifiedBy": "79875914-70e4-4214-bebb-2a936673f3da", - "modified": "2021-03-18 10:40:15 +0200", - "deleted": false, - "uid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "status": "LIVE", - "clientId": "steward_pay", - "secret": "babf9556-f542-4084-bb85-d4dec3f51f29", - "onChannels": false, - "enableAggregation": false, - "name": "Steward Pay", - "description": "Steward Pay", - "encryptionKey": "735470ce-8efb-4c0f-ba3f-7298f805ab33", - "webOrigins": "*", - "merchantUid": "7a3b61c3-a6c3-4487-bae8-b84641bb7a28", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "code": "3", - "merchantCode": "1046250", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": false, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "MERCHANT", - "clientType": "MERCHANT", - "suspenseAccount": "1037078464", - "chargePlAccount": "PL54082", - "notificationsEnabled": false, - "weight": 1.0 - }, - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "3e848af9-820c-479c-88bb-b37dc887c0c6", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": true, - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" - }, - "status": 200.0 -} -2025-07-14 00:52:10.345 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:52:10.346 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:52:10.375 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:52:10.849 [http-nio-6950-exec-1] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "93478697-ca6e-4f15-9b50-5d681f888036", - "createdAt" : "2025-07-14T00:52:10.372538", - "updatedAt" : "2025-07-14T00:52:10.372567", - "trace" : "000cfbc2-c11a-4dbb-b779-004a62ac436e", - "amount" : 5, - "charge" : 0, - "gatewayCharge" : 0.05, - "tax" : 0.10, - "totalAmount" : 5.15, - "reference" : "3e848af9-820c-479c-88bb-b37dc887c0c6", - "paymentProcessorLabel" : "ECOCASH", - "debitCurrency" : "USD", - "debitRef" : "unique", - "creditPhone" : "263773591219", - "creditAccount" : "14309986843", - "billClientId" : "powertel_zesa", - "billName" : "ZESA", - "type" : "REQUEST", - "authType" : "REMOTE", - "errorMessage" : "Transaction failed", - "responseCode" : "01", - "status" : "FAILED", - "sdkActionId" : "0bf34c10-fe4b-4223-8bbb-04a4369359c4" -} -2025-07-14 00:52:10.858 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:52:10.858 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@573881df] -2025-07-14 00:52:10.861 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:53:27.354 [main] INFO zw.qantra.tm.TmApplication - Starting TmApplication using Java 17.0.14 with PID 560820 (/home/vk/dev/qantra/qpay-tm/target/classes started by vk in /home/vk/dev/qantra/qpay-tm) -2025-07-14 00:53:27.354 [main] INFO zw.qantra.tm.TmApplication - The following 1 profile is active: "lab" -2025-07-14 00:53:27.355 [main] DEBUG o.s.boot.SpringApplication - Loading source class zw.qantra.tm.TmApplication -2025-07-14 00:53:27.373 [main] DEBUG o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7502291e -2025-07-14 00:53:27.914 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-14 00:53:27.914 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-07-14 00:53:27.915 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. -2025-07-14 00:53:27.929 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 6950 (http) -2025-07-14 00:53:27.962 [main] DEBUG o.s.b.w.s.c.ServletWebServerApplicationContext - Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] -2025-07-14 00:53:27.962 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 589 ms -2025-07-14 00:53:27.971 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping filters: customCorsFilter urls=[/*] order=-2147483648, characterEncodingFilter urls=[/*] order=-2147483648, formContentFilter urls=[/*] order=-9900, requestContextFilter urls=[/*] order=-105 -2025-07-14 00:53:27.972 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping servlets: dispatcherServlet urls=[/] -2025-07-14 00:53:27.985 [main] DEBUG o.s.b.w.s.f.OrderedRequestContextFilter - Filter 'requestContextFilter' configured for use -2025-07-14 00:53:27.986 [main] DEBUG o.s.b.w.s.f.OrderedCharacterEncodingFilter - Filter 'characterEncodingFilter' configured for use -2025-07-14 00:53:27.987 [main] DEBUG o.s.b.w.s.f.OrderedFormContentFilter - Filter 'formContentFilter' configured for use -2025-07-14 00:53:28.245 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... -2025-07-14 00:53:30.417 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@74cd798f -2025-07-14 00:53:30.418 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. -2025-07-14 00:53:30.641 [main] WARN org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) -2025-07-14 00:53:36.625 [main] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -2025-07-14 00:53:36.672 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 43 mappings in 'requestMappingHandlerMapping' -2025-07-14 00:53:36.708 [main] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping' -2025-07-14 00:53:36.725 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice -2025-07-14 00:53:36.749 [main] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice -2025-07-14 00:53:36.809 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port 6950 (http) with context path '/api' -2025-07-14 00:53:36.815 [main] INFO zw.qantra.tm.TmApplication - Started TmApplication in 9.694 seconds (process running for 9.986) -2025-07-14 00:53:36.816 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state LivenessState changed to CORRECT -2025-07-14 00:53:36.817 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state ReadinessState changed to ACCEPTING_TRAFFIC -2025-07-14 00:53:38.978 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' -2025-07-14 00:53:38.979 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected StandardServletMultipartResolver -2025-07-14 00:53:38.979 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected AcceptHeaderLocaleResolver -2025-07-14 00:53:38.979 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected FixedThemeResolver -2025-07-14 00:53:38.979 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@1b1d1558 -2025-07-14 00:53:38.979 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.support.SessionFlashMapManager@568cbf8d -2025-07-14 00:53:38.979 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data -2025-07-14 00:53:38.979 [http-nio-6950-exec-1] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 0 ms -2025-07-14 00:53:38.982 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/a4c11d02-2e07-450f-82ba-13e3377a12fb", parameters={} -2025-07-14 00:53:38.986 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:53:39.239 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:53:39.688 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:53:39.918 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:53:39.918 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@1461d0b9] -2025-07-14 00:53:39.926 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:53:54.792 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/7d34d2d9-4c7b-4c27-bb0d-e0f2e2d1420b", parameters={} -2025-07-14 00:53:54.794 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:53:55.062 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:53:55.502 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:53:55.725 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:53:55.725 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@3192c0c] -2025-07-14 00:53:55.728 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:53:59.886 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/a4c11d02-2e07-450f-82ba-13e3377a12fb", parameters={} -2025-07-14 00:53:59.888 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:54:00.083 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:54:00.510 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:54:00.708 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:00.708 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@55d01a1] -2025-07-14 00:54:00.709 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:05.235 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/client/powertel_zesa", parameters={} -2025-07-14 00:54:05.236 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviderByClientId(String) -2025-07-14 00:54:05.242 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 00:54:05.751 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:54:05.753 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:05.754 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:54:05.758 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:54:05.926 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg0NDUsImlhdCI6MTc1MjQ0NzI0NSwianRpIjoiMWIwMWVlMjYtNWQzYi00YzU5LWEzMDgtMDNlZjk4OWE2MTNjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.FoNYAYoltciw7hPZR7-GshEKMi3OkQRjGI7J9KnCHsfgGixu8jIzp2mRtyljAFWuxfc6RiSARvi204TQSgM00UKQby4fHPRfNfzh58PCQAWNu6mA8RM0ZVojOqW4FE8FuE9HD8-JOdPjk6-ZiMChzdV9QtNJe-M8gXes4BGS4YvVVWrUPkJ5rCBr1CJ6Zbt-tS1y5NKohwMBc24oSbiwGm34Hah8K-mG-BHYcVXxc1oAQtpYpPh5fIX-T5CrwNNQUVOTZeuY6w6DQtB6qaF3pwnsADzew3qebjHbZ-LB8Xd0flqPzHzBP1h-4NoBBf71wg-r7QQJNHefcv5O1iS2RA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:54:05.927 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:05.927 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:54:05.933 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=powertel_zesa -2025-07-14 00:54:05.934 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:05.935 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=powertel_zesa -{ - "log": "" -} -2025-07-14 00:54:06.155 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 1.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 1.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:54:06.155 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:06.155 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:54:06.160 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:06.160 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [{clientId=powertel_zesa, name=Zesa, description=Prepaid Zesa, requiresAccount=true, requiresAmount=t (truncated)...] -2025-07-14 00:54:06.162 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:06.497 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:54:06.498 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:54:06.501 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:54:06.501 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:54:06.502 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:54:06.502 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:54:06.502 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:06.502 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:54:06.502 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:54:06.562 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg0NDYsImlhdCI6MTc1MjQ0NzI0NiwianRpIjoiZWFiZWMxZmUtMTg4OC00NGEwLThiNDktNWViZGY5NmU4MGRmIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.ph35CXPfNYg6dIdA9AKdjxkxQL-6gTsTnRazwLFX4Ci5f41-UATi0M4IQigXgRZJllhe8Ul8UD0Hv8GZ5Ob6eV4kElWeqCakx9NHY8orZBXlhCafYEpR_lsKFynulX_a7oFHsCnV7v-SRTwJI_lWq8-zYhWmf08SWxbeOPyt0DNkuHdGHDcs-GBg8LCvfCdi5BqoAsqruYBEOmBsP64CsVsCaXSMY9moOr0lSBBcCzNzBIyqcQ5exBxpEVnYX4kvJWEZtdxfngcdh4uXIyOekWM9VGma3fcykSuB9ccLNg3KjqE5xC4uSiSZJmBgZ8RSL7B01Cs7A2lAtQ30r6qO3A", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:54:06.563 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:06.563 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:54:06.564 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:54:06.564 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:06.565 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:54:06.660 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:54:06.660 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:06.660 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:54:06.661 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:06.661 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:54:06.661 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:06.892 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:06.893 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@5155fc75, zw.qantra.tm.domain.models.PaymentProcessor@2 (truncated)...] -2025-07-14 00:54:06.897 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:24.134 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:54:24.135 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:54:24.379 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:54:24.788 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:24.788 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@18e941f8, zw.qantra.tm.domain.models.Recipient@3529f15c, zw.qa (truncated)...] -2025-07-14 00:54:24.792 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:25.826 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:54:25.826 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:54:25.827 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:54:25.828 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:54:25.829 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:54:25.829 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:25.829 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:54:25.829 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:54:25.899 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg0NjUsImlhdCI6MTc1MjQ0NzI2NSwianRpIjoiYTliYTZmNDItMGIyYi00YWE1LWI3OTMtNjQwMTA4NGY5ZTljIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.hGrRdpWKF59Zlz2Er1g6Gsw87oi9KmImG3Su-1TaFqRpxhCG_vLVJLG5_eZYkRf49pP65O66ZnsMwV9beCZZ50sO2c3odfxGURnpr1Ou_KRpPbAHS_kwQ0qO74NDVLfGYfg2ebfMdRYyCxzICxnt2M8AQbwdbSSquA19Zg5v1z_FhljXlhp4GG6f8_YUoYi_MAMBZbU0LnwS9OvmYc1dBXISfRwn0KR8eFzCfzyTQ51pUS6ydWtkSYuJ_sk_M90QBphwtkGTlUym89QOGHhM3YqT4HkgZFnJ3lTx91A5vN1bydxxl9mjD2TjRJd-AfhkyzxCBK9gajnaKhf0KCAbmw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:54:25.899 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:25.900 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:54:25.901 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:54:25.901 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:25.901 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:54:25.983 [http-nio-6950-exec-6] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:54:25.983 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:25.983 [http-nio-6950-exec-6] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:54:25.984 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:25.984 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:54:25.985 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:26.023 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:54:26.413 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:26.413 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@6edc3ba4, zw.qantra.tm.domain.models.PaymentProcessor@6 (truncated)...] -2025-07-14 00:54:26.415 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:35.509 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/recipients/search?userId=9db7116e-51bb-442c-9225-9345a3136577", parameters={masked} -2025-07-14 00:54:35.510 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.RecipientController#searchRecipients(Specification) -2025-07-14 00:54:35.747 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.user_id=? -2025-07-14 00:54:36.154 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:36.155 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Recipient@4dd4569, zw.qantra.tm.domain.models.Recipient@7a3ab214, zw.qan (truncated)...] -2025-07-14 00:54:36.157 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:38.010 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/78f1f497-c9eb-401c-b22c-884756e68e40/products", parameters={} -2025-07-14 00:54:38.010 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:54:38.011 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:54:38.011 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:54:38.012 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:54:38.012 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:38.012 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:54:38.012 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:54:38.111 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg0NzgsImlhdCI6MTc1MjQ0NzI3OCwianRpIjoiMTk3ZmY0YzktNjI2Yy00MjM3LTk3ZjUtMjU3ZTQxN2MwYTYzIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.XBJZcWcAkF3mXibFV9kIz3z9Xk1rkQegJO4mheQTa9b9ZZg4xTjtHXovzYRbhT42NMYiY6utsc_ZKZc6cPb15viUpcjoqLdXU3QnUoN-2n66xKW6rYN-jnd7nO_R41tTjnLmgG5s0rd79GL_kZC6N4kPQ0hiCq4jO4fPBS_cm95qm3DRY2BBpBbiSTytSL5ejg_H_7otTo6v0AIt0azYRaZXcz7uefQJ1Y27xZIR9aO3a-d839brthuvJXucV0O7G0F6wNCNek3kibmqAHpFUD2zzX6g5LPYmwi6Gq49EAKM0GZSuJlcTZRrKksYIJVKf09fx-4J7WdHSfGst0sZ0A", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:54:38.111 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:38.111 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:54:38.112 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -2025-07-14 00:54:38.113 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:38.113 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=78f1f497-c9eb-401c-b22c-884756e68e40 -{ - "log": "" -} -2025-07-14 00:54:38.184 [http-nio-6950-exec-10] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:54:38.184 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:38.192 [http-nio-6950-exec-10] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:54:38.193 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:38.193 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:54:38.194 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:38.210 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:54:38.611 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:38.612 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@3a9d8961, zw.qantra.tm.domain.models.PaymentProcessor@6 (truncated)...] -2025-07-14 00:54:38.614 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:41.172 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:54:41.173 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:54:41.193 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@33cad38] -2025-07-14 00:54:41.197 [http-nio-6950-exec-3] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "amount" : 1, - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ECONET", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263771222064", - "creditAccount" : "+263771222064", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "econet_airtime", - "billName" : "Econet Airtime", - "paymentProcessorName" : "Ecocash", - "providerImage" : "econet.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "", - "status" : "PENDING" -} -2025-07-14 00:54:41.198 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:54:41.199 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:54:41.695 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:54:41.899 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:54:42.095 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:54:42.292 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:54:42.515 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 00:54:42.771 [http-nio-6950-exec-3] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ECONET -2025-07-14 00:54:42.771 [http-nio-6950-exec-3] INFO z.q.t.d.s.p.c.EconetConfirmationProcessor - processing transaction -2025-07-14 00:54:42.772 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:54:42.772 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:42.772 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:54:42.772 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:54:42.822 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg0ODIsImlhdCI6MTc1MjQ0NzI4MiwianRpIjoiM2M1Y2JhNzQtN2M5Yi00YjY3LWJkNmEtOTYzZDk4MGY3MGI5IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.JOJDmsh6qTGlUcgIwNXLMpNlSdtpH_NFosLVkctcHtR6ow6aHolz7BdIBXcKIrTJX1DzX6jQGxrdEZ7CPEuBmX0fTlBFFfmdVEaRUBt1P2QWZ3s8te9sLplRXLE7PCxAXQalSu92bOXqAbFWCGypfe13ZKx-uKRNr6cb2-oQ0tf31GmOWPelfIT9ZK4nxJOEq7KvvibR5stQdkLthQIHBQSZm1YIAZsdqde4YASmEE8DkSUO1tXwWFSxtuf-3Mgk0KcYQwrdwy6zCsShH5bYpgaOjjXNoXYkiHS2V4AgCWTvZ4gnyWbpkf5KDXAbav-6bDOjyUUdVkAg6gTipn5IAA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:54:42.822 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:42.822 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:54:42.824 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-14 00:54:42.825 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:42.833 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=econet_airtime, debitRef=peak, debitCurrency=USD, amount=1, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=263771222064, creditCurrency=null, creditPhone=+263771222064, billName=Econet Airtime, trace=null)] as "application/json" -2025-07-14 00:54:42.834 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "263771222064", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "econet_airtime", - "creditPhone": "+263771222064", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Econet Airtime", - "debitPhone": "263773591219" -} -2025-07-14 00:54:43.096 [http-nio-6950-exec-3] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "1", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263771222064", - "creditAccount": "263771222064", - "aggregatorId": "steward_pay", - "billName": "Econet Airtime", - "billClientId": "econet_airtime", - "status": "SUCCESS", - "additionalData": [ - { - "name": "Merchant", - "value": "ECONET AIRTIME" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Recipient Phone", - "value": "+263771222064" - }, - { - "name": "Account", - "value": "1046737845" - } - ] - }, - "status": 200.0 -} -2025-07-14 00:54:43.096 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:43.097 [http-nio-6950-exec-3] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:54:43.111 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:54:43.511 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-14 00:54:43.932 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.account=? and r1_0.user_id=? -2025-07-14 00:54:44.132 [http-nio-6950-exec-3] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "5ab91c41-de78-4d2f-9594-03037e299c05", - "createdAt" : "2025-07-14T00:54:43.109442", - "updatedAt" : "2025-07-14T00:54:43.10946", - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "2b4a7241-92e7-42fb-98cc-2eea405b6b5f", - "amount" : 1, - "charge" : 0, - "gatewayCharge" : 0.01, - "tax" : 0, - "totalAmount" : 1.01, - "reference" : "36697a31-ea61-4b6e-a28d-fb5c3dd951a3", - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ECONET", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263771222064", - "creditAccount" : "263771222064", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "econet_airtime", - "billName" : "Econet Airtime", - "paymentProcessorName" : "Ecocash", - "providerImage" : "econet.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "", - "status" : "SUCCESS", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ECONET AIRTIME" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Recipient Phone", - "value" : "+263771222064" - }, { - "name" : "Account", - "value" : "1046737845" - } ] -} -2025-07-14 00:54:44.132 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:54:44.133 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@33cad38] -2025-07-14 00:54:44.134 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:54:46.032 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 00:54:46.033 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 00:54:46.034 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@2ec2e955] -2025-07-14 00:54:46.035 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "2b4a7241-92e7-42fb-98cc-2eea405b6b5f", - "amount" : 1, - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ECONET", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263771222064", - "creditAccount" : "+263771222064", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "econet_airtime", - "billName" : "Econet Airtime", - "paymentProcessorName" : "Ecocash", - "providerImage" : "econet.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "REQUEST", - "authType" : "REMOTE", - "errorMessage" : "", - "status" : "PENDING" -} -2025-07-14 00:54:46.035 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 00:54:46.037 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 00:54:46.498 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:54:46.705 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:54:46.906 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 00:54:47.111 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 00:54:47.306 [http-nio-6950-exec-4] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 00:54:47.306 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - processing transaction -2025-07-14 00:54:47.307 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:54:47.307 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:47.307 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:54:47.308 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:54:47.361 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg0ODcsImlhdCI6MTc1MjQ0NzI4NywianRpIjoiMGQ2ZjZmMGYtODliZi00NDA2LThjMzMtNjdiNjJlOThjMWZjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.pfqvscINd_bDGcfHwjxwpCGH1F-2GO_XZ4tfcw3aGSHF5m9NWKHh83dCR3XGl6cJzFyNcRHd4n5IHstbHIImlhkCKuAnmBrOetq8dJTxzcpxYCAFLxq19MaTPi6fep8tYrMzL4zbRJHXJrrOPG23cw4v7KPdQPBJoCq_j5WAiN6NS8QUkS6kPZ4bp7ouQmWX-QoArDKGS3Qqxuo9XXMdkz52bk6dEbBb-TotQKZPEWQfZre4xpwDCMHugjf0my9rbIQb_ezH9vbnjdh8YB4iksPuEPN8Qk0zdWs9Q1THWwckMOLaXizlk9NTEnQgyxjBRo3zmpw3pgHriyqnb9nqSg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:54:47.361 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:47.362 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:54:47.364 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -2025-07-14 00:54:47.364 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:54:47.370 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [SdkActionDto(clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, phone=+263771222064, amount=1, currency=USD, hash=082d99fe42eec64edeb1e0736ff5449485215c112275107f33822997aa42c17d, authType=REMOTE, billerReference=1f9b2118-b45e-4c62-ab10-e6121a8a88ee, action=PAYMENT, sandbox=true, paymentProcessorLabel=ECOCASH, responseUrl=https://peakapi.stewardpay.co.zw)] as "application/json" -2025-07-14 00:54:47.371 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -{ - "paymentProcessorLabel": "ECOCASH", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "1", - "clientId": "steward_pay", - "phone": "+263771222064", - "sandbox": true, - "action": "PAYMENT", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp", - "currency": "USD", - "authType": "REMOTE", - "billerReference": "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "hash": "082d99fe42eec64edeb1e0736ff5449485215c112275107f33822997aa42c17d" -} -2025-07-14 00:54:59.429 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4380.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:54:47 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:54:59 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "6e427d5d-9054-48d0-a050-e64a0386b1f9", - "clientId": "steward_pay", - "phone": "263771222064", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "1", - "hash": "082d99fe42eec64edeb1e0736ff5449485215c112275107f33822997aa42c17d", - "paymentProcessorLabel": "ECOCASH", - "seconds": "12.003", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "SUCCESS", - "currency": "USD", - "billerReference": "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "transaction": { - "id": 58986.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:54:59 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:54:59 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "5b17ea0e-79d4-4872-b663-8b85b7f99020", - "channel": "GATEWAY", - "amount": "1", - "numericAmount": 1.0, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263771222064", - "phone": "263771222064", - "account": "263771222064", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "6e427d5d-9054-48d0-a050-e64a0386b1f9", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "SUCCESS", - "clientUpdateResult": "I/O error on POST request for \"https://peakapi.stewardpay.co.zw\": peakapi.stewardpay.co.zw; nested exception is java.net.UnknownHostException: peakapi.stewardpay.co.zw", - "reference": "7be7c093-dea6-49ca-bc3d-c816dea4d703", - "debitReference": "MP250714.0055.A01919", - "responseCode": "00", - "trace": "c5b41124-1569-40b9-95a8-68e9d475038a", - "hash": "5e6f19179f8fcafbe5fae3532363d769ca756086a053b68a9f53d4b028a6e150", - "type": "INTEGRATION", - "currency": "USD", - "accountType": "T24", - "narration": "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "receiptData": [ - { - "name": "Recipient Phone", - "value": "263771222064" - }, - { - "name": "Transaction Type", - "value": "INTEGRATION" - }, - { - "name": "Transaction Reference", - "value": "MP250714.0055.A01919" - }, - { - "name": "Merchant", - "value": "Steward Pay" - }, - { - "name": "Amount", - "value": "1" - } - ], - "client": { - "id": 12.0, - "createdBy": "79875914-70e4-4214-bebb-2a936673f3da", - "created": "2021-03-18 10:40:15 +0200", - "modifiedBy": "79875914-70e4-4214-bebb-2a936673f3da", - "modified": "2021-03-18 10:40:15 +0200", - "deleted": false, - "uid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "status": "LIVE", - "clientId": "steward_pay", - "secret": "babf9556-f542-4084-bb85-d4dec3f51f29", - "onChannels": false, - "enableAggregation": false, - "name": "Steward Pay", - "description": "Steward Pay", - "encryptionKey": "735470ce-8efb-4c0f-ba3f-7298f805ab33", - "webOrigins": "*", - "merchantUid": "7a3b61c3-a6c3-4487-bae8-b84641bb7a28", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "code": "3", - "merchantCode": "1046250", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": false, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "MERCHANT", - "clientType": "MERCHANT", - "suspenseAccount": "1037078464", - "chargePlAccount": "PL54082", - "notificationsEnabled": false, - "weight": 1.0 - }, - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": true, - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" - }, - "status": 200.0 -} -2025-07-14 00:54:59.429 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:54:59.429 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:54:59.434 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:54:59.831 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.account=? and r1_0.user_id=? -2025-07-14 00:55:00.031 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "4a8728b1-d807-4956-b60b-d13c14f0d058", - "createdAt" : "2025-07-14T00:54:59.433631", - "updatedAt" : "2025-07-14T00:54:59.433646", - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "2b4a7241-92e7-42fb-98cc-2eea405b6b5f", - "amount" : 1, - "charge" : 0, - "gatewayCharge" : 0.01, - "tax" : 0, - "totalAmount" : 1.01, - "reference" : "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ECONET", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "MP250714.0055.A01919", - "creditPhone" : "+263771222064", - "creditAccount" : "263771222064", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "econet_airtime", - "billName" : "Econet Airtime", - "paymentProcessorName" : "Ecocash", - "providerImage" : "econet.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "REQUEST", - "authType" : "REMOTE", - "errorMessage" : "", - "responseCode" : "00", - "status" : "SUCCESS", - "sdkActionId" : "6e427d5d-9054-48d0-a050-e64a0386b1f9" -} -2025-07-14 00:55:00.031 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:55:00.031 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@2ec2e955] -2025-07-14 00:55:00.033 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:55:05.172 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/poll/4a8728b1-d807-4956-b60b-d13c14f0d058", parameters={} -2025-07-14 00:55:05.173 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#poll(UUID) -2025-07-14 00:55:05.482 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select count(*) from transaction t1_0 where t1_0.id=? -2025-07-14 00:55:05.952 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:55:06.361 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 00:55:06.362 [http-nio-6950-exec-9] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - polling transaction -2025-07-14 00:55:06.362 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:55:06.363 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:55:06.363 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:55:06.363 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:55:06.455 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg1MDYsImlhdCI6MTc1MjQ0NzMwNiwianRpIjoiYzE0NTNkNTAtOTU5MC00NzNkLTkwMTUtOTk1ZWUxN2Q0ZjVjIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.o3pP8BAN2kW9KmG1RrXQDCiqjXQqAbitEbGV0v7u8EOCg8vtIe-jv5WAqM5haSP2NmOnJtjPgmUP7V2C6E-RPnYyHBWxm3peJbLBqBymWQDdW-YLZXj8sjTRR5Q3hh67FOBJU25zsgEHTCcM75Fp59EDXoltFtBrMuWwlXoVPFspqstv1AJTKbmkRiodsh0pJRVzEvyHc0IrcdnIGHy675pIQEF5eevjcyWQbwztRemO8QRX7ViGZu0MJAxU44v-1SK9o2MGBlmwMjiX85uZT6LcUkLYZ1HeVEZDM2ZJ_v6oYjUr_UF2RHacaL7FB9USDkbTq-E8RlP0R3FQjXFwfQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:55:06.455 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:55:06.455 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:55:06.456 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/sdk/reference/1f9b2118-b45e-4c62-ab10-e6121a8a88ee -2025-07-14 00:55:06.457 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:55:06.457 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/reference/1f9b2118-b45e-4c62-ab10-e6121a8a88ee -{ - "log": "" -} -2025-07-14 00:55:06.551 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4380.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:54:47 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:54:59 +0200", - "deleted": false, - "uid": "6e427d5d-9054-48d0-a050-e64a0386b1f9", - "clientId": "steward_pay", - "phone": "263771222064", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "1", - "hash": "082d99fe42eec64edeb1e0736ff5449485215c112275107f33822997aa42c17d", - "paymentProcessorLabel": "ECOCASH", - "seconds": "12.003", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "SUCCESS", - "currency": "USD", - "billerReference": "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "transaction": { - "id": 58986.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 12:54:59 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 12:54:59 +0200", - "deleted": false, - "uid": "5b17ea0e-79d4-4872-b663-8b85b7f99020", - "channel": "GATEWAY", - "amount": "1", - "numericAmount": 1.0, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263771222064", - "phone": "263771222064", - "account": "263771222064", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "6e427d5d-9054-48d0-a050-e64a0386b1f9", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "SUCCESS", - "clientUpdateResult": "I/O error on POST request for \"https://peakapi.stewardpay.co.zw\": peakapi.stewardpay.co.zw; nested exception is java.net.UnknownHostException: peakapi.stewardpay.co.zw", - "reference": "7be7c093-dea6-49ca-bc3d-c816dea4d703", - "debitReference": "MP250714.0055.A01919", - "responseCode": "00", - "trace": "c5b41124-1569-40b9-95a8-68e9d475038a", - "hash": "5e6f19179f8fcafbe5fae3532363d769ca756086a053b68a9f53d4b028a6e150", - "type": "INTEGRATION", - "currency": "USD", - "accountType": "T24", - "narration": "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "1f9b2118-b45e-4c62-ab10-e6121a8a88ee", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": false - }, - "status": 200.0 -} -2025-07-14 00:55:06.551 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:55:06.552 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:55:06.561 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 00:55:06.772 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - label: INTEGRATION_STEWARD -2025-07-14 00:55:06.772 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - processing integration -2025-07-14 00:55:06.773 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:55:06.773 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:55:06.773 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:55:06.774 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:55:06.819 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg1MDYsImlhdCI6MTc1MjQ0NzMwNiwianRpIjoiYWViYTNmYWMtZDMwMy00YjQyLWExNDgtMjFjOTdkNDNiYzI4IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.byKKuB3huk_FwOb_vzcLotEJb3xfan5PtL-lLE2_7-DouaRewTBDIVbma3de-BHMlrzgK3ZgPHkebinF-NVr-ICwFadf2ndB0aCrNdHnk7QvfOypRA8CPEIdH3xXKgIMvt_MEIo7zE1sz5lbhq4akjiGoeEIpzE78zsEyUfbZauugi1G7nUqVqACKFsJOde-jnv533JjD6SckchmVP5FYNvC7tLOMMAaxK8ZyXYf9XhFS1rIfIretglmRv6x-Foq2_TkkQoALy0qG_CRKmw5NcKPGPLfal8kpYMOP3YKEbtrED-v0WwwZ6SXZOvNiywMaR0qT0qI8pkd2GyGAGpjOw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:55:06.819 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:55:06.819 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:55:06.820 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-14 00:55:06.820 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:55:06.821 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=REQUEST, authType=REMOTE, billClientId=econet_airtime, debitRef=MP250714.0055.A01919, debitCurrency=USD, amount=1.00, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=263771222064, creditCurrency=null, creditPhone=+263771222064, billName=Econet Airtime, trace=2b4a7241-92e7-42fb-98cc-2eea405b6b5f)] as "application/json" -2025-07-14 00:55:06.821 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 1.0, - "debitAccount": "1046737845", - "creditAccount": "263771222064", - "debitRef": "MP250714.0055.A01919", - "debitCurrency": "USD", - "billClientId": "econet_airtime", - "creditPhone": "+263771222064", - "aggregatorId": "steward_pay", - "type": "REQUEST", - "billName": "Econet Airtime", - "trace": "2b4a7241-92e7-42fb-98cc-2eea405b6b5f", - "debitPhone": "263773591219", - "authType": "REMOTE" -} -2025-07-14 00:55:07.494 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "REQUEST", - "trace": "2b4a7241-92e7-42fb-98cc-2eea405b6b5f", - "amount": "1.00", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "MP250714.0055.A01919", - "creditPhone": "+263771222064", - "creditAccount": "263771222064", - "creditRef": "9721-5349-1CBF-8482", - "aggregatorId": "steward_pay", - "billName": "Econet Airtime", - "billClientId": "econet_airtime", - "responseCode": "00", - "status": "SUCCESS", - "additionalData": [ - { - "name": "Biller", - "value": "ECONET AIRTIME" - }, - { - "name": "Transaction Type", - "value": "INTEGRATION" - }, - { - "name": "Recipient Phone", - "value": "+263771222064" - }, - { - "name": "Amount", - "value": "1.00" - }, - { - "name": "Transaction Reference" - }, - { - "name": "Bill Reference", - "value": "9721-5349-1CBF-8482" - } - ] - }, - "status": 200.0 -} -2025-07-14 00:55:07.495 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:55:07.495 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:55:07.496 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - response: {message=Successful Request, body={type=REQUEST, trace=2b4a7241-92e7-42fb-98cc-2eea405b6b5f, amount=1.00, debitPhone=263773591219, debitAccount=1046737845, debitCurrency=USD, debitRef=MP250714.0055.A01919, creditPhone=+263771222064, creditAccount=263771222064, creditRef=9721-5349-1CBF-8482, aggregatorId=steward_pay, billName=Econet Airtime, billClientId=econet_airtime, responseCode=00, status=SUCCESS, additionalData=[{name=Biller, value=ECONET AIRTIME}, {name=Transaction Type, value=INTEGRATION}, {name=Recipient Phone, value=+263771222064}, {name=Amount, value=1.00}, {name=Transaction Reference, value=null}, {name=Bill Reference, value=9721-5349-1CBF-8482}]}, errors=null, status=200} -2025-07-14 00:55:07.498 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 00:55:08.003 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-14 00:55:08.402 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.trace=? and t1_0.type=? -2025-07-14 00:55:08.620 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-14 00:55:09.025 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:55:09.026 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@52fda357] -2025-07-14 00:55:09.027 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:55:09.239 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/4a8728b1-d807-4956-b60b-d13c14f0d058", parameters={} -2025-07-14 00:55:09.239 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:55:09.240 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:55:09.742 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:55:09.948 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:55:09.948 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@4d129cd] -2025-07-14 00:55:09.950 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:55:21.215 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:55:21.215 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:55:21.523 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:55:22.132 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:55:22.132 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@5095edc, zw.qantra.tm.domain.models.Transaction@4b6654f7, zw (truncated)...] -2025-07-14 00:55:22.134 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:55:27.511 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/4a8728b1-d807-4956-b60b-d13c14f0d058", parameters={} -2025-07-14 00:55:27.512 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:55:27.707 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:55:28.105 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:55:28.303 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:55:28.303 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@5f5956e2] -2025-07-14 00:55:28.307 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:55:32.319 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/4a8728b1-d807-4956-b60b-d13c14f0d058", parameters={} -2025-07-14 00:55:32.320 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:55:32.515 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:55:32.908 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:55:33.104 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:55:33.105 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@753d2f82] -2025-07-14 00:55:33.106 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:56:38.813 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/4a8728b1-d807-4956-b60b-d13c14f0d058", parameters={} -2025-07-14 00:56:38.814 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:56:39.034 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:56:39.445 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:56:39.644 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:56:39.644 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@2f232f69] -2025-07-14 00:56:39.645 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:56:49.258 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:56:49.259 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:56:49.453 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:56:49.889 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:56:49.889 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@69fbac0, zw.qantra.tm.domain.models.Category@46bf8b5e]] -2025-07-14 00:56:49.890 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:56:50.051 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:56:50.052 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:56:50.056 [http-nio-6950-exec-1] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:56:50.502 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:56:50.503 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:56:50.503 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:56:50.503 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:56:50.603 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg2MTAsImlhdCI6MTc1MjQ0NzQxMCwianRpIjoiMGM1MDBkMzItNjVhZi00MWQ4LTkyNDUtOTkwNzQ3NWNmMzZiIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.ejR-UdBB0CdPgvqS4dg8wAGpaZ6g-COhI5DP89rlNJwcS5SzVTJ3nXRKEp7zpQxVXaL8qNoa_1TjVw5IVx1-fiSrZAFtbzvY22CaxT5UkyYyLEAobXUK9I-PZngmllhZ2HknVRJA4nMvqxEx77xWpmb4O2YoHH3St_q7Oukr4lE4zrDk3ETKEjR9NNnatwocmyl0oL6eKg4oxdBx_CyHVrtW9Ty3YM7be4RS6h-9W2kWmTmjac1D0nkKmMKsJXj6hgTR03Mz1zotZQzFkkQXj0OdD74p-JEljc3SEbN6huODgUlfyPsbKJIvjLoFLRq8iTGZlkqXmViHCD4RQHGD2Q", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:56:50.603 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:56:50.603 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:56:50.605 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:56:50.605 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:56:50.605 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:56:50.770 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:56:50.771 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:56:50.771 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:56:50.772 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:56:50.772 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:56:50.773 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:56:50.841 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:56:50.841 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:56:50.842 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:56:51.321 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:56:51.322 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@3bf3f9c, zw.qantra.tm.domain.models.Transaction@2f876f5e, zw (truncated)...] -2025-07-14 00:56:51.323 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:56:52.653 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/7d34d2d9-4c7b-4c27-bb0d-e0f2e2d1420b", parameters={} -2025-07-14 00:56:52.654 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:56:52.850 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:56:53.254 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:56:53.474 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:56:53.474 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@787204e4] -2025-07-14 00:56:53.475 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:57:00.375 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:57:00.375 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:57:00.575 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:57:01.049 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:57:01.050 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@997f4e8, zw.qantra.tm.domain.models.Category@2fe9a966]] -2025-07-14 00:57:01.050 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:57:01.199 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:57:01.199 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:57:01.201 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:57:01.592 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:57:01.593 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:57:01.593 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:57:01.593 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:57:01.680 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg2MjEsImlhdCI6MTc1MjQ0NzQyMSwianRpIjoiNzBkM2MxNTctYTVjNy00NDEyLTllMTAtM2UyNzNlMmFhNjA3IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.bB560fu0TSqmj1DsoceXsWtvDQQMLlqnNdP5D7IKAjJJOYfbqlPDZdIcYW7TSg-IvVVhknhjhFILAYDxlbDLpuQ0zvfHWeQtaQx5uESUOZ3etRBX-7voMkNORKQMSzaa9l9e_Ze_SDFcwomftlefY85tOkFaxQKCm0lE5jwzvXabT-s7vKQOSuOOwHAKT381ffdIRi-g_S-Ez6D-BnYs-xbPI92Fdg4T024o13JtVyZL-VJVulRB9mSoVbUYS39WqW2RbANskEaiydvzJK2EDro3mniCTHULd9GiEOGShBopf0eCeew6zS5JGqhQulUeK_RR2J-VP1H3ADQA-NNpYA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:57:01.680 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:57:01.680 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:57:01.681 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:57:01.681 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:57:01.682 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:57:01.769 [http-nio-6950-exec-7] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:57:01.770 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:57:01.770 [http-nio-6950-exec-7] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:57:01.771 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:57:01.771 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:57:01.772 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:57:01.903 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:57:01.904 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:57:01.907 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:57:02.305 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:57:02.305 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@46113c0b, zw.qantra.tm.domain.models.Transaction@112fe22d, z (truncated)...] -2025-07-14 00:57:02.307 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:57:03.178 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/7d34d2d9-4c7b-4c27-bb0d-e0f2e2d1420b", parameters={} -2025-07-14 00:57:03.179 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:57:03.374 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:57:03.816 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:57:04.018 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:57:04.018 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@1420beaf] -2025-07-14 00:57:04.019 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:57:14.228 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/a4c11d02-2e07-450f-82ba-13e3377a12fb", parameters={} -2025-07-14 00:57:14.229 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:57:14.423 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:57:14.876 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:57:15.072 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:57:15.073 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@1df5c82f] -2025-07-14 00:57:15.074 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:59:00.022 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 00:59:00.023 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 00:59:00.251 [http-nio-6950-exec-3] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 00:59:00.641 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:59:00.641 [http-nio-6950-exec-3] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@566a238, zw.qantra.tm.domain.models.Category@3cb8a0a9]] -2025-07-14 00:59:00.643 [http-nio-6950-exec-3] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:59:00.802 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 00:59:00.802 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 00:59:00.804 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 00:59:01.258 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:59:01.258 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:59:01.258 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:59:01.259 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:59:01.373 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg3NDEsImlhdCI6MTc1MjQ0NzU0MSwianRpIjoiMzg1MDYyYTctNDU2MS00YjBkLWFjNGUtNmNhN2RkYjU3ZjE4IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.nX-lhdBUvHY9xJPcNLNeGJgaaDPu2Rl7sfej1RqrpAxMVNMBNiDPOOugT0vNubvCKXIUxzzRqDDgqx1zoI6aSv_XJjrJcLl-dcZFc-bDlUhKubcW6O1Syp6w3nbKoL8neZkSX6H5d5bVZ4A-TnvBAMiJQff8hGWJs6JYcSkvxpJw79wMxmIoWsjZr5MEPcD4D48F-5mkicFqz-cTpvYjIA0m49x-DqOos_g4PpQI3YkgcPV17AGiWb8-JGiqu20koHc1yzmVqsO9zuiIMMfYgnP4339LJwgUjUfnDokykXql2N69jk-q1QPbPr9xm-bEXPNHFrGACxAh9cSzAw0A_w", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:59:01.373 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:59:01.374 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:59:01.374 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 00:59:01.375 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:59:01.375 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 00:59:01.446 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:59:01.447 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:59:01.447 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:59:01.448 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:59:01.448 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 00:59:01.449 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:59:01.525 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 00:59:01.525 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 00:59:01.529 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 00:59:01.984 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:59:01.984 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@4da5fa04, zw.qantra.tm.domain.models.Transaction@3fdf4e28, z (truncated)...] -2025-07-14 00:59:01.985 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:59:43.264 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/a4c11d02-2e07-450f-82ba-13e3377a12fb", parameters={} -2025-07-14 00:59:43.264 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 00:59:43.529 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 00:59:43.924 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 00:59:44.120 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:59:44.120 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@398697d3] -2025-07-14 00:59:44.121 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:59:44.891 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/client/powertel_zesa", parameters={} -2025-07-14 00:59:44.891 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviderByClientId(String) -2025-07-14 00:59:44.893 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 00:59:45.300 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:59:45.300 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:59:45.300 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:59:45.301 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:59:45.409 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg3ODUsImlhdCI6MTc1MjQ0NzU4NSwianRpIjoiYzg1ZjcwZjgtNDc3Yi00ZDJlLTk2YTItNGY5M2E5YjZiZDM2IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.FD9gxr_dds6v6eAbU-lELYtNToAop_nLgX4mJxSxHiszBa5u0kh5DxTVBhLNynDgv6pmxvN-UxYvLEQ1qbt4ZWAh6xhtBVqM9DAcecs4TSysafKCelVLK5rKTQBrRHJfTDsyMXcEpQw4wm4GRWfMwfPtG1MtYEZha0jciA6qa6tsluCk_fGWfgxrd0VTC4bpppF0ax5DcbUaL6F3votOS37OWlCodB7mqlOjUTdQCrfqbktgXZSIU3ISXoYwqdIIW76Hdv6Py7bMvida47HpKY1eyhRWvmXnqS-ErdmZ9nF_4FOjra3HsaMVld17S1ZJLTWyZxP8i_F9Pb2owfsjjA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:59:45.409 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:59:45.409 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:59:45.410 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=powertel_zesa -2025-07-14 00:59:45.410 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:59:45.410 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=powertel_zesa -{ - "log": "" -} -2025-07-14 00:59:45.486 [http-nio-6950-exec-8] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 1.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 1.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 00:59:45.486 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:59:45.486 [http-nio-6950-exec-8] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:59:45.487 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:59:45.487 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [{clientId=powertel_zesa, name=Zesa, description=Prepaid Zesa, requiresAccount=true, requiresAmount=t (truncated)...] -2025-07-14 00:59:45.488 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:59:45.847 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/payment-processors", parameters={} -2025-07-14 00:59:45.847 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.PaymentProcessorController#getAllPaymentProcessors() -2025-07-14 00:59:45.848 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers/0f67f7cc-b62b-4fb5-915f-6740b2afdba6/products", parameters={} -2025-07-14 00:59:45.848 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProducts(UUID) -2025-07-14 00:59:45.848 [http-nio-6950-exec-10] DEBUG org.hibernate.SQL - select pp1_0.id,pp1_0.account_field_label,pp1_0.account_field_name,pp1_0.auth_type,pp1_0.created_at,pp1_0.description,pp1_0.image,pp1_0.label,pp1_0.name,pp1_0.type,pp1_0.updated_at from payment_processor pp1_0 -2025-07-14 00:59:45.848 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 00:59:45.848 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:59:45.848 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 00:59:45.849 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 00:59:45.925 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg3ODUsImlhdCI6MTc1MjQ0NzU4NSwianRpIjoiZDRkNGVkNGUtMjU0Zi00YTRmLWJmZGItNmY1NDI0ODcyNzk1IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.pBrsff2LK0OltBq4SYNU2L0PYv8ZMObVLlHHdOY2qTI-w9a1TRthvo1_CiloYt3YFKMqcNS-C6GqcwcxNSlndrtKOqCweFpDpnbmKfH9BAMXwXq3dgNJmD2FgG7KwYIuF8XEH51Nhb4AbZTQoEC9bp7jVDMA4IHvXgmue6EtdYgox1ZsC7IAU-2-afsRPpKp3QI-3p0P-nl-3P5jgySOB_w4YsxFB0MLPxfQzmyTqa7bWUcBDoxQPa6kfTfg3wWr0DnBoF4rlSDkvHu3g5H0Yzr9gpeMaMBONZdOECpw100pK9uioUarn8ov06mt8dgSoeCgmCGQZ67YcXjYFspZxA", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 00:59:45.925 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:59:45.926 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 00:59:45.927 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -2025-07-14 00:59:45.927 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 00:59:45.927 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/products?size=100&clientUid=0f67f7cc-b62b-4fb5-915f-6740b2afdba6 -{ - "log": "" -} -2025-07-14 00:59:45.956 [http-nio-6950-exec-1] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [], - "pageable": { - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "pageNumber": 0.0, - "pageSize": 100.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 0.0, - "totalElements": 0.0, - "last": true, - "first": true, - "sort": { - "sorted": false, - "unsorted": true, - "empty": true - }, - "numberOfElements": 0.0, - "size": 100.0, - "number": 0.0, - "empty": true - }, - "status": 200.0 -} -2025-07-14 00:59:45.956 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 00:59:45.956 [http-nio-6950-exec-1] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 00:59:45.957 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:59:45.957 [http-nio-6950-exec-1] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[]] -2025-07-14 00:59:45.957 [http-nio-6950-exec-1] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 00:59:46.261 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 00:59:46.261 [http-nio-6950-exec-10] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.PaymentProcessor@7a71b8cf, zw.qantra.tm.domain.models.PaymentProcessor@7 (truncated)...] -2025-07-14 00:59:46.263 [http-nio-6950-exec-10] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:00:01.249 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 01:00:01.250 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 01:00:01.251 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@55021820] -2025-07-14 01:00:01.251 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "amount" : 5, - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263771222064", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "", - "status" : "PENDING" -} -2025-07-14 01:00:01.251 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 01:00:01.253 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 01:00:01.644 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 01:00:01.842 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 01:00:02.055 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 01:00:02.250 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 01:00:02.505 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 01:00:02.708 [http-nio-6950-exec-5] INFO z.q.t.d.services.TransactionService - label: CONFIRM_ZESA -2025-07-14 01:00:02.708 [http-nio-6950-exec-5] INFO z.q.t.d.s.p.c.ZesaConfirmationProcessor - processing transaction -2025-07-14 01:00:02.708 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 01:00:02.708 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:02.709 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 01:00:02.709 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 01:00:02.811 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg4MDIsImlhdCI6MTc1MjQ0NzYwMiwianRpIjoiODhkY2JiZTYtMTliZi00MWIzLWFjM2YtMjU2ZGNkNmVjYjkxIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.qnXyVAX_7pNNeI3bEvElXWCOa5urNZdORI0urLV5_hrmIp94SqfAGCEeFJwCKn4z66wG430GSFcJSWXpH1IaLPDcmWXmzugTWmcoqzBH1D49gySHs5-K4ljAn1OjBZJgULm2Ie9T5oGjMnF3JMyjAu5lo5CukOPFBzAbVEFyT9Fxe-qbC7zYKlchcw1UP0Y6T5yupYA0dtcHdlMA12g8LEoWJkwSGptaj3Qk2IQl6FAz_ow5t0yvIDs7fm9N31Ppad5i_ynqBsbOCZ8BgGJKSsZIR6uDKflbWAeUK8q1E_Nmm4q6aOfie6n7A2_zBEn5J7nVxE6Hj951C3wM3VhR3Q", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 01:00:02.811 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:02.811 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 01:00:02.812 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-14 01:00:02.812 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:02.813 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=CONFIRM, authType=null, billClientId=powertel_zesa, debitRef=peak, debitCurrency=USD, amount=5, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263771222064, billName=Zesa, trace=null)] as "application/json" -2025-07-14 01:00:02.813 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 5.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "peak", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263771222064", - "aggregatorId": "steward_pay", - "type": "CONFIRM", - "billName": "Zesa", - "debitPhone": "263773591219" -} -2025-07-14 01:00:03.003 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "CONFIRM", - "amount": "5", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "peak", - "creditPhone": "+263771222064", - "creditAccount": "37132352511", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "status": "SUCCESS", - "additionalData": [ - { - "name": "Merchant", - "value": "ZESA" - }, - { - "name": "Transaction Type", - "value": "CONFIRM" - }, - { - "name": "Recipient Phone", - "value": "+263771222064" - }, - { - "name": "Account", - "value": "37132352511" - }, - { - "name": "Currency", - "value": "USD" - }, - { - "name": "Amount", - "value": "5" - }, - { - "name": "Customer", - "value": "HEART OF FURNITURE|null" - }, - { - "name": "Customer\u0027s Address", - "value": "274 WILLOWVALE RD|||null" - } - ] - }, - "status": 200.0 -} -2025-07-14 01:00:03.004 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:03.004 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 01:00:03.006 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 01:00:03.418 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-14 01:00:03.939 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.account=? and r1_0.user_id=? -2025-07-14 01:00:04.148 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - update recipient set account=?,address=?,email=?,initials=?,latest_provider_label=?,name=?,phone_number=?,updated_at=?,user_id=? where id=? -2025-07-14 01:00:04.653 [http-nio-6950-exec-5] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "5a6b031b-20d6-401c-8d48-e0a2e07e17e9", - "createdAt" : "2025-07-14T01:00:03.006104", - "updatedAt" : "2025-07-14T01:00:03.006119", - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "654c1fc0-3d29-4476-9bc8-fb893679a288", - "amount" : 5, - "charge" : 0, - "gatewayCharge" : 0.05, - "tax" : 0.10, - "totalAmount" : 5.15, - "reference" : "aebdb410-0841-4690-b360-bcbbef91571f", - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263771222064", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "CONFIRM", - "errorMessage" : "", - "status" : "SUCCESS", - "additionalData" : [ { - "name" : "Merchant", - "value" : "ZESA" - }, { - "name" : "Transaction Type", - "value" : "CONFIRM" - }, { - "name" : "Recipient Phone", - "value" : "+263771222064" - }, { - "name" : "Account", - "value" : "37132352511" - }, { - "name" : "Currency", - "value" : "USD" - }, { - "name" : "Amount", - "value" : "5" - }, { - "name" : "Customer", - "value" : "HEART OF FURNITURE|null" - }, { - "name" : "Customer's Address", - "value" : "274 WILLOWVALE RD|||null" - } ] -} -2025-07-14 01:00:04.654 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:00:04.654 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@55021820] -2025-07-14 01:00:04.655 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:00:06.027 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - POST "/api/transaction", parameters={} -2025-07-14 01:00:06.028 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#create(Transaction) -2025-07-14 01:00:06.029 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor - Read "application/json;charset=UTF-8" to [zw.qantra.tm.domain.models.Transaction@63876d81] -2025-07-14 01:00:06.029 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - incoming transaction: -{ - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "654c1fc0-3d29-4476-9bc8-fb893679a288", - "amount" : 5, - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "peak", - "creditPhone" : "+263771222064", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "REQUEST", - "authType" : "REMOTE", - "errorMessage" : "", - "status" : "PENDING" -} -2025-07-14 01:00:06.030 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.h.CalculateChargesHandler - processing charges -2025-07-14 01:00:06.031 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.account,c1_0.charge_label,c1_0.composite,c1_0.created_at,c1_0.currency,c1_0.description,c1_0.flat,c1_0.global,c1_0.max,c1_0.maximum_amount,c1_0.min,c1_0.minimum_amount,c1_0.percentage_rate,c1_0.target,c1_0.target_event,c1_0.target_value,c1_0.updated_at from charge c1_0 where c1_0.currency=? -2025-07-14 01:00:06.427 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 01:00:06.628 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 01:00:06.857 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select i1_0.charge_id,i1_1.id,i1_1.codes,i1_1.created_at,i1_1.name,i1_1.type,i1_1.updated_at from charge_include_products i1_0 join charge_condition i1_1 on i1_1.id=i1_0.charge_condition_id where i1_0.charge_id=? -2025-07-14 01:00:07.051 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select e1_0.charge_id,e1_1.id,e1_1.codes,e1_1.created_at,e1_1.name,e1_1.type,e1_1.updated_at from charge_exclude_products e1_0 join charge_condition e1_1 on e1_1.id=e1_0.charge_condition_id where e1_0.charge_id=? -2025-07-14 01:00:07.251 [http-nio-6950-exec-4] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 01:00:07.251 [http-nio-6950-exec-4] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - processing transaction -2025-07-14 01:00:07.252 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 01:00:07.252 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:07.252 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 01:00:07.252 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 01:00:07.315 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg4MDcsImlhdCI6MTc1MjQ0NzYwNywianRpIjoiNzJiZDNjYWUtZGM1MS00NWQ3LThkZmYtYzhmY2U1N2U3ZGQ5IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.bujYI3VcuJYEAS-dCZjeQ5m4ch6CqlZPe_uD4kJj9YtqldOzEefFD-Z-nmXbnNxIdo6PvYWdAE6zmrEritz1lm5wbmfp0PDrDE0tc63KszTV0zPFJPAmFbXPdS25271GR1iuT_39Kt8rYfnkNZr346alnWz6YL0YSv44aA7ZGP6tQ1xIH3IazSVPN3kpelGFcOmhFkURyOb2qzJbd7H9igANc7AZTGv-pxFjyrwES70-W6IXlTs9Hbg8YCsYpSUXqj0rx8B3hdxcmY0q8jKOSfQm8_KqfU5wGDOeVwpmFSXh4QRpAyTCIk7O2ubOh8bAFSDGF2alxyS0Ybv8qt1d8w", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 01:00:07.316 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:07.316 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 01:00:07.316 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -2025-07-14 01:00:07.317 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:07.317 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Writing [SdkActionDto(clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp, phone=+263771222064, amount=5.10, currency=USD, hash=04a02f6f28ee389131fc93067c99f6a89c385fb8f6dcfa747e1372effd417fff, authType=REMOTE, billerReference=7a2b4355-2697-46aa-b407-51b611655d02, action=PAYMENT, sandbox=true, paymentProcessorLabel=ECOCASH, responseUrl=https://peakapi.stewardpay.co.zw)] as "application/json" -2025-07-14 01:00:07.317 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/action -{ - "paymentProcessorLabel": "ECOCASH", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "clientId": "steward_pay", - "phone": "+263771222064", - "sandbox": true, - "action": "PAYMENT", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp", - "currency": "USD", - "authType": "REMOTE", - "billerReference": "7a2b4355-2697-46aa-b407-51b611655d02", - "hash": "04a02f6f28ee389131fc93067c99f6a89c385fb8f6dcfa747e1372effd417fff" -} -2025-07-14 01:00:17.058 [http-nio-6950-exec-4] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4381.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 01:00:07 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 01:00:17 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "d34b0c8a-278b-44b5-b830-c40d41dbb7dc", - "clientId": "steward_pay", - "phone": "263771222064", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "hash": "04a02f6f28ee389131fc93067c99f6a89c385fb8f6dcfa747e1372effd417fff", - "paymentProcessorLabel": "ECOCASH", - "seconds": "9.677", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "SUCCESS", - "currency": "USD", - "billerReference": "7a2b4355-2697-46aa-b407-51b611655d02", - "transaction": { - "id": 58993.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 01:00:16 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 01:00:17 +0200", - "modificationType": "CREATE", - "deleted": false, - "uid": "fc2ce9f9-66bf-4c3e-90bd-a303e5f6d9b5", - "channel": "GATEWAY", - "amount": "5.10", - "numericAmount": 5.1, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263771222064", - "phone": "263771222064", - "account": "263771222064", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "d34b0c8a-278b-44b5-b830-c40d41dbb7dc", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "SUCCESS", - "clientUpdateResult": "I/O error on POST request for \"https://peakapi.stewardpay.co.zw\": peakapi.stewardpay.co.zw; nested exception is java.net.UnknownHostException: peakapi.stewardpay.co.zw", - "reference": "6739cf8b-635c-448c-8da4-1b77c4393a1c", - "debitReference": "MP250714.0101.A01932", - "responseCode": "00", - "trace": "28552e4e-71b0-44e5-9727-720ecf1d587d", - "hash": "ec44a070cfdb044e7e350de4261d16de5055e28775120197ea14755ab14d539d", - "type": "INTEGRATION", - "currency": "USD", - "accountType": "T24", - "narration": "7a2b4355-2697-46aa-b407-51b611655d02", - "receiptData": [ - { - "name": "Recipient Phone", - "value": "263771222064" - }, - { - "name": "Transaction Type", - "value": "INTEGRATION" - }, - { - "name": "Transaction Reference", - "value": "MP250714.0101.A01932" - }, - { - "name": "Merchant", - "value": "Steward Pay" - }, - { - "name": "Amount", - "value": "5.10" - } - ], - "client": { - "id": 12.0, - "createdBy": "79875914-70e4-4214-bebb-2a936673f3da", - "created": "2021-03-18 10:40:15 +0200", - "modifiedBy": "79875914-70e4-4214-bebb-2a936673f3da", - "modified": "2021-03-18 10:40:15 +0200", - "deleted": false, - "uid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "status": "LIVE", - "clientId": "steward_pay", - "secret": "babf9556-f542-4084-bb85-d4dec3f51f29", - "onChannels": false, - "enableAggregation": false, - "name": "Steward Pay", - "description": "Steward Pay", - "encryptionKey": "735470ce-8efb-4c0f-ba3f-7298f805ab33", - "webOrigins": "*", - "merchantUid": "7a3b61c3-a6c3-4487-bae8-b84641bb7a28", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "code": "3", - "merchantCode": "1046250", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": false, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "MERCHANT", - "clientType": "MERCHANT", - "suspenseAccount": "1037078464", - "chargePlAccount": "PL54082", - "notificationsEnabled": false, - "weight": 1.0 - }, - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "7a2b4355-2697-46aa-b407-51b611655d02", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": true, - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" - }, - "status": 200.0 -} -2025-07-14 01:00:17.058 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:17.058 [http-nio-6950-exec-4] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 01:00:17.061 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 01:00:17.456 [http-nio-6950-exec-4] DEBUG org.hibernate.SQL - select r1_0.id,r1_0.account,r1_0.address,r1_0.created_at,r1_0.email,r1_0.initials,r1_0.latest_provider_label,r1_0.name,r1_0.phone_number,r1_0.updated_at,r1_0.user_id from recipient r1_0 where r1_0.account=? and r1_0.user_id=? -2025-07-14 01:00:17.660 [http-nio-6950-exec-4] INFO z.q.t.d.c.TransactonController - outgoing transaction: -{ - "id" : "1b2a30e9-fd9f-45a0-bb41-89e347cd27db", - "createdAt" : "2025-07-14T01:00:17.060979", - "updatedAt" : "2025-07-14T01:00:17.060995", - "userId" : "9db7116e-51bb-442c-9225-9345a3136577", - "trace" : "654c1fc0-3d29-4476-9bc8-fb893679a288", - "amount" : 5, - "charge" : 0, - "gatewayCharge" : 0.05, - "tax" : 0.10, - "totalAmount" : 5.15, - "reference" : "7a2b4355-2697-46aa-b407-51b611655d02", - "paymentProcessorLabel" : "ECOCASH", - "providerLabel" : "ZESA", - "debitPhone" : "", - "debitAccount" : "", - "debitCurrency" : "USD", - "debitRef" : "MP250714.0101.A01932", - "creditPhone" : "+263771222064", - "creditAccount" : "37132352511", - "creditName" : "", - "creditEmail" : "", - "billClientId" : "powertel_zesa", - "billName" : "Zesa", - "paymentProcessorName" : "Ecocash", - "providerImage" : "zesa.png", - "paymentProcessorImage" : "ecocash.png", - "type" : "REQUEST", - "authType" : "REMOTE", - "errorMessage" : "", - "responseCode" : "00", - "status" : "SUCCESS", - "sdkActionId" : "d34b0c8a-278b-44b5-b830-c40d41dbb7dc" -} -2025-07-14 01:00:17.661 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:00:17.661 [http-nio-6950-exec-4] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@63876d81] -2025-07-14 01:00:17.662 [http-nio-6950-exec-4] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:00:17.680 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/poll/1b2a30e9-fd9f-45a0-bb41-89e347cd27db", parameters={} -2025-07-14 01:00:17.681 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#poll(UUID) -2025-07-14 01:00:17.683 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select count(*) from transaction t1_0 where t1_0.id=? -2025-07-14 01:00:18.170 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 01:00:18.565 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - label: REQUEST_ECOCASH_REMOTE -2025-07-14 01:00:18.566 [http-nio-6950-exec-9] INFO z.q.t.d.s.p.p.EcocashRemotePaymentProcessor - polling transaction -2025-07-14 01:00:18.566 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 01:00:18.566 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:18.566 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 01:00:18.567 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 01:00:18.648 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg4MTgsImlhdCI6MTc1MjQ0NzYxOCwianRpIjoiYjkzY2FkZjctNmM1MC00ZDIzLThkNGItMzU4MDhiZTk5NmE0IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.okKBs1aobRhBUap9byKCMXjn1WE_UsbIcQErVcAPbEKeN8d9KRd2Qtk4RfF1q_fsehN1Mc4rjmvLbyF1sNMMvymIIDkI3P9fgcykAXw_DNvkYlDbUQFqj0qaEG82KSfeQxeVmdpEJTNfC3d8-CBnsRsqshfe97N8FQ5TlG-DAbbKhTWWqMBfhlwdq3n0I0EWBDnM3RzqrbWsptM8P0EN3Ao1eV5EJRR5YzSmk9-uJchzKzQ5KCPJ-uOgZ6jd98eW39AG4-zfqDF6JLu0QHbMxnX_DXT9bFxz4DKDNR9eWV79cxuWEgCthxTVePofvEHy3bIi4_AlSEFmOc4HSrMDxg", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 01:00:18.649 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:18.649 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 01:00:18.650 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/sdk/reference/7a2b4355-2697-46aa-b407-51b611655d02 -2025-07-14 01:00:18.650 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:18.650 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/sdk/reference/7a2b4355-2697-46aa-b407-51b611655d02 -{ - "log": "" -} -2025-07-14 01:00:18.735 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "id": 4381.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 01:00:07 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 01:00:17 +0200", - "deleted": false, - "uid": "d34b0c8a-278b-44b5-b830-c40d41dbb7dc", - "clientId": "steward_pay", - "phone": "263771222064", - "responseUrl": "https://peakapi.stewardpay.co.zw", - "amount": "5.10", - "hash": "04a02f6f28ee389131fc93067c99f6a89c385fb8f6dcfa747e1372effd417fff", - "paymentProcessorLabel": "ECOCASH", - "seconds": "9.677", - "action": "PAYMENT", - "authType": "REMOTE", - "status": "SUCCESS", - "currency": "USD", - "billerReference": "7a2b4355-2697-46aa-b407-51b611655d02", - "transaction": { - "id": 58993.0, - "createdBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "created": "2025-07-14 01:00:17 +0200", - "modifiedBy": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "modified": "2025-07-14 01:00:17 +0200", - "deleted": false, - "uid": "fc2ce9f9-66bf-4c3e-90bd-a303e5f6d9b5", - "channel": "GATEWAY", - "amount": "5.10", - "numericAmount": 5.1, - "clientUid": "c4037acb-5aae-4f57-8af6-d4b5fd8e7721", - "destinationPhone": "263771222064", - "phone": "263771222064", - "account": "263771222064", - "integrationProcessorConfigUid": "2e41cd89-1930-46b4-a4ef-031bf8648556", - "sdkActionUid": "d34b0c8a-278b-44b5-b830-c40d41dbb7dc", - "paymentProcessorConfigUid": "069cfe39-68f3-47af-af92-9511444f6365", - "paymentProcessorLabel": "ECOCASH", - "status": "SUCCESS", - "clientUpdateResult": "I/O error on POST request for \"https://peakapi.stewardpay.co.zw\": peakapi.stewardpay.co.zw; nested exception is java.net.UnknownHostException: peakapi.stewardpay.co.zw", - "reference": "6739cf8b-635c-448c-8da4-1b77c4393a1c", - "debitReference": "MP250714.0101.A01932", - "responseCode": "00", - "trace": "28552e4e-71b0-44e5-9727-720ecf1d587d", - "hash": "ec44a070cfdb044e7e350de4261d16de5055e28775120197ea14755ab14d539d", - "type": "INTEGRATION", - "currency": "USD", - "accountType": "T24", - "narration": "7a2b4355-2697-46aa-b407-51b611655d02", - "userUid": "0053308e-d30a-46e6-a4a3-aca0d979fb4c", - "billerReference": "7a2b4355-2697-46aa-b407-51b611655d02", - "tax": 0.0, - "charge": 0.0, - "commissionType": "BILLPAYUS", - "taxType": "OMNIMT", - "merchantCommission": 0.0, - "billPaymentCharge": false - }, - "sandbox": false - }, - "status": 200.0 -} -2025-07-14 01:00:18.736 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:18.736 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 01:00:18.745 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 where p1_0.client_id=? -2025-07-14 01:00:18.990 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - label: INTEGRATION_STEWARD -2025-07-14 01:00:18.990 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - processing integration -2025-07-14 01:00:18.990 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 01:00:18.990 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:18.991 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 01:00:18.991 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 01:00:19.092 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg4MTksImlhdCI6MTc1MjQ0NzYxOSwianRpIjoiYzY4ZjE2M2QtMGUxYS00MTk0LWFlMDUtMGEwYTgyMDdlNTJiIiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.SpkuJXstpEBtq0mFRM5jMKyaKZt2moes93LuMhKLmq3656tfsGGjomRxzUDSbAAZhGisW3Qs9JEw6FRlczTKa2aM3HGKWpRqlLXHotbltK3nHDo0PS-KfbNbk_sCjBMXTlRDxzRAg6RAQFhUVqjN0TupGiVQBlmMsgzfbJbspP4kw8jSOY9e_PvsqYry1NWpDWhuui8a-y9ROVa7a88M0_7nlw-uUWiY5FS0mo_MMU-NzeuvlhRQKPGl92_3WVGMSyMxGY5hk65q5_xHpwlDwcay4NoOK4FT6JvEmqyvWcqCb8XkhUAmD_jOG1-QXOtqHH9SLYQFWjkIfzHfbFhMvw", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 01:00:19.092 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:19.093 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 01:00:19.093 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -2025-07-14 01:00:19.094 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:00:19.094 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Writing [BillPaymentDto(type=REQUEST, authType=REMOTE, billClientId=powertel_zesa, debitRef=MP250714.0101.A01932, debitCurrency=USD, amount=5.00, aggregatorId=steward_pay, debitPhone=263773591219, debitAccount=1046737845, creditAccount=37132352511, creditCurrency=null, creditPhone=+263771222064, billName=Zesa, trace=654c1fc0-3d29-4476-9bc8-fb893679a288)] as "application/json" -2025-07-14 01:00:19.094 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/transaction -{ - "amount": 5.0, - "debitAccount": "1046737845", - "creditAccount": "37132352511", - "debitRef": "MP250714.0101.A01932", - "debitCurrency": "USD", - "billClientId": "powertel_zesa", - "creditPhone": "+263771222064", - "aggregatorId": "steward_pay", - "type": "REQUEST", - "billName": "Zesa", - "trace": "654c1fc0-3d29-4476-9bc8-fb893679a288", - "debitPhone": "263773591219", - "authType": "REMOTE" -} -2025-07-14 01:00:19.605 [http-nio-6950-exec-9] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "type": "REQUEST", - "trace": "654c1fc0-3d29-4476-9bc8-fb893679a288", - "amount": "5.00", - "debitPhone": "263773591219", - "debitAccount": "1046737845", - "debitCurrency": "USD", - "debitRef": "MP250714.0101.A01932", - "creditPhone": "+263771222064", - "creditAccount": "37132352511", - "creditRef": "P250415111122318360", - "aggregatorId": "steward_pay", - "billName": "Zesa", - "billClientId": "powertel_zesa", - "responseCode": "00", - "status": "SUCCESS", - "additionalData": [ - { - "name": "Recipient Phone", - "value": "+263771222064" - }, - { - "name": "Transaction Type", - "value": "INTEGRATION" - }, - { - "name": "Transaction Reference" - }, - { - "name": "Biller", - "value": "ZESA" - }, - { - "name": "Currency", - "value": "USD" - }, - { - "name": "Amount", - "value": "5.00" - }, - { - "name": "Meter Number", - "value": "37132352511" - }, - { - "name": "Token", - "value": "7200 0387 6066 2164 2065" - } - ] - }, - "status": 200.0 -} -2025-07-14 01:00:19.605 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:00:19.605 [http-nio-6950-exec-9] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 01:00:19.606 [http-nio-6950-exec-9] INFO z.q.t.d.services.TransactionService - response: {message=Successful Request, body={type=REQUEST, trace=654c1fc0-3d29-4476-9bc8-fb893679a288, amount=5.00, debitPhone=263773591219, debitAccount=1046737845, debitCurrency=USD, debitRef=MP250714.0101.A01932, creditPhone=+263771222064, creditAccount=37132352511, creditRef=P250415111122318360, aggregatorId=steward_pay, billName=Zesa, billClientId=powertel_zesa, responseCode=00, status=SUCCESS, additionalData=[{name=Recipient Phone, value=+263771222064}, {name=Transaction Type, value=INTEGRATION}, {name=Transaction Reference, value=null}, {name=Biller, value=ZESA}, {name=Currency, value=USD}, {name=Amount, value=5.00}, {name=Meter Number, value=37132352511}, {name=Token, value=7200 0387 6066 2164 2065}]}, errors=null, status=200} -2025-07-14 01:00:19.608 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - insert into transaction (aggregator_id,amount,auth_type,bill_client_id,bill_name,bill_product_name,channel,channel_name,charge,client_secret,created_at,credit_account,credit_card,credit_currency,credit_email,credit_name,credit_phone,credit_ref,debit_account,debit_card,debit_currency,debit_email,debit_name,debit_phone,debit_ref,error_message,gateway_charge,integration_processor_label,payment_processor_image,payment_processor_label,payment_processor_name,product_uid,provider_image,provider_label,provider_uid,reference,response_code,rrn,sdk_action_id,status,target_url,tax,total_amount,trace,type,updated_at,user_id,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) -2025-07-14 01:00:20.014 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-14 01:00:20.428 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.trace=? and t1_0.type=? -2025-07-14 01:00:20.627 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - insert into additional_data (created_at,json_string,transaction_id,updated_at,id) values (?,?,?,?,?) -2025-07-14 01:00:21.038 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:00:21.038 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@42c2223d] -2025-07-14 01:00:21.039 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:00:21.356 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/1b2a30e9-fd9f-45a0-bb41-89e347cd27db", parameters={} -2025-07-14 01:00:21.356 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 01:00:21.357 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 01:00:21.849 [http-nio-6950-exec-8] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 01:00:22.064 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:00:22.064 [http-nio-6950-exec-8] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@7f9d1dfe] -2025-07-14 01:00:22.065 [http-nio-6950-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:01:36.434 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 01:01:36.434 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 01:01:36.635 [http-nio-6950-exec-2] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 01:01:37.052 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:01:37.053 [http-nio-6950-exec-2] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@6b5be11b, zw.qantra.tm.domain.models.Transaction@1ee38704, z (truncated)...] -2025-07-14 01:01:37.054 [http-nio-6950-exec-2] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:01:39.537 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/categories", parameters={} -2025-07-14 01:01:39.537 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.CategoryController#getAllCategories() -2025-07-14 01:01:39.787 [http-nio-6950-exec-6] DEBUG org.hibernate.SQL - select c1_0.id,c1_0.created_at,c1_0.description,c1_0.image,c1_0.label,c1_0.name,c1_0.updated_at from category c1_0 -2025-07-14 01:01:40.182 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:01:40.183 [http-nio-6950-exec-6] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Category@533fc8a4, zw.qantra.tm.domain.models.Category@113c81a5]] -2025-07-14 01:01:40.184 [http-nio-6950-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:01:40.209 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/providers", parameters={} -2025-07-14 01:01:40.209 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.ProviderController#getProviders(String) -2025-07-14 01:01:40.211 [http-nio-6950-exec-5] DEBUG org.hibernate.SQL - select p1_0.id,p1_0.account_field_name,p1_0.category,p1_0.client_id,p1_0.created_at,p1_0.description,p1_0.external_id,p1_0.image,p1_0.integration_processor_label,p1_0.label,p1_0.updated_at from provider p1_0 -2025-07-14 01:01:40.600 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP POST https://api.stewardpay.co.zw/lab/v2/merchant/client/token -2025-07-14 01:01:40.600 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:01:40.601 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Writing [{clientId=steward_pay, clientSecret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp}] as "application/json" -2025-07-14 01:01:40.601 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: POST: https://api.stewardpay.co.zw/lab/v2/merchant/client/token -{ - "clientId": "steward_pay", - "clientSecret": "XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp" -} -2025-07-14 01:01:40.681 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ1SDlVdmt6Tnd5emVZdnlTdjJ3S0lONlNpOV84RTU0c0dPVW9ZcGRmUHdVIn0.eyJleHAiOjE3NTI0NDg5MDAsImlhdCI6MTc1MjQ0NzcwMCwianRpIjoiZjEzMWE0N2MtM2YzMC00OTNiLWIyM2UtMGYyY2UzYzc5NTE3IiwiaXNzIjoiaHR0cDovLzE5Mi4xNjguMS4xMTY6OTAwMC9hdXRoL3JlYWxtcy9vbW5pY2hhbm5lbCIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIwMDUzMzA4ZS1kMzBhLTQ2ZTYtYTRhMy1hY2EwZDk3OWZiNGMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJzdGV3YXJkX3BheSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiLyoiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiZGVmYXVsdC1yb2xlcy1vbW5pY2hhbm5lbCAiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoiZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxOTIuMTY4LjE2LjI5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc3Rld2FyZF9wYXkiLCJjbGllbnRBZGRyZXNzIjoiMTkyLjE2OC4xNi4yOSIsImNsaWVudF9pZCI6InN0ZXdhcmRfcGF5In0.Ck_NQ0Sumy1UcOCLmhgHOiMR6Qa4bspaoI0o4g1UpYkIfGlYWTN84PWjghX4DInRr9fM0kZmUxBl_nuSnGn7Gjs8vm4tQlU4DfPj5ibGMs10iT5SqbGN18T9z6s1Ma0PkWEANgFgNKeqe2TJqgRcelpdwClkolwyj5kMgO1U2UQLBJMreNijNOdZKwA5vN-74r0YoXxxJqmV1QWoMhkV6tk4DN5T0JzaGiBT2mP-_fYiDzajgajkAWYJnFqj7MBJw_XYTVhJzwuJ_R_uaJqj92CJK6zQwoTZ2LGBp4pLj1BfHnSRy_WuGMuRhon3NGUo2A-aUTcELH5Mpjk1JTQOKQ", - "expires_in": 1200.0, - "refresh_expires_in": 0.0, - "token_type": "Bearer", - "not-before-policy": 0.0, - "scope": "email profile" - }, - "status": 200.0 -} -2025-07-14 01:01:40.681 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:01:40.681 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.Map] -2025-07-14 01:01:40.682 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - HTTP GET https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -2025-07-14 01:01:40.682 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/*+json] -2025-07-14 01:01:40.682 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Request: GET: https://api.stewardpay.co.zw/lab/v2/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=econet_airtime,netone_usd_airtime,powertel_zesa,econet_broadband_usd -{ - "log": "" -} -2025-07-14 01:01:40.789 [http-nio-6950-exec-5] INFO z.q.tm.rest.RestTemplateInterceptor - Response body: -{ - "message": "Successful Request", - "body": { - "content": [ - { - "clientId": "econet_airtime", - "name": "ECONET AIRTIME", - "description": "ECONET AIRTIME", - "requiresAccount": false, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": true, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "78f1f497-c9eb-401c-b22c-884756e68e40" - }, - { - "clientId": "econet_broadband_usd", - "name": "ECONET BROADBAND USD", - "description": "ECONET BROADBAND USD", - "requiresAccount": false, - "requiresAmount": false, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "additionalDataString": "", - "processorType": "AIRTIME", - "uid": "287863e2-a791-4106-b629-79dadc9a6779" - }, - { - "clientId": "powertel_zesa", - "name": "ZESA", - "description": "PowerTel Zesa", - "requiresAccount": true, - "requiresAmount": true, - "requiresAmountFromMerchant": false, - "requiresPhone": true, - "requiresReversal": false, - "processorType": "BILLER", - "uid": "0f67f7cc-b62b-4fb5-915f-6740b2afdba6" - } - ], - "pageable": { - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "pageNumber": 0.0, - "pageSize": 20.0, - "offset": 0.0, - "unpaged": false, - "paged": true - }, - "totalPages": 1.0, - "totalElements": 3.0, - "last": true, - "first": true, - "sort": { - "sorted": true, - "unsorted": false, - "empty": false - }, - "numberOfElements": 3.0, - "size": 20.0, - "number": 0.0, - "empty": false - }, - "status": 200.0 -} -2025-07-14 01:01:40.789 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Response 200 OK -2025-07-14 01:01:40.789 [http-nio-6950-exec-5] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.LinkedHashMap] -2025-07-14 01:01:40.790 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:01:40.790 [http-nio-6950-exec-5] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[{clientId=econet_airtime, name=Econet Airtime, description=Econet Airtime, requiresAccount=false, r (truncated)...] -2025-07-14 01:01:40.791 [http-nio-6950-exec-5] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:01:40.839 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction?userId=9db7116e-51bb-442c-9225-9345a3136577&type=REQUEST", parameters={masked} -2025-07-14 01:01:40.839 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getAll(Specification) -2025-07-14 01:01:40.841 [http-nio-6950-exec-7] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.type=? and t1_0.user_id=? order by t1_0.created_at -2025-07-14 01:01:41.232 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:01:41.233 [http-nio-6950-exec-7] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [[zw.qantra.tm.domain.models.Transaction@33f62789, zw.qantra.tm.domain.models.Transaction@71dbbc8f, z (truncated)...] -2025-07-14 01:01:41.234 [http-nio-6950-exec-7] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:01:54.655 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - GET "/api/transaction/1b2a30e9-fd9f-45a0-bb41-89e347cd27db", parameters={} -2025-07-14 01:01:54.656 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to zw.qantra.tm.domain.controllers.TransactonController#getById(UUID) -2025-07-14 01:01:54.895 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select t1_0.id,t1_0.aggregator_id,t1_0.amount,t1_0.auth_type,t1_0.bill_client_id,t1_0.bill_name,t1_0.bill_product_name,t1_0.channel,t1_0.channel_name,t1_0.charge,t1_0.client_secret,t1_0.created_at,t1_0.credit_account,t1_0.credit_card,t1_0.credit_currency,t1_0.credit_email,t1_0.credit_name,t1_0.credit_phone,t1_0.credit_ref,t1_0.debit_account,t1_0.debit_card,t1_0.debit_currency,t1_0.debit_email,t1_0.debit_name,t1_0.debit_phone,t1_0.debit_ref,t1_0.error_message,t1_0.gateway_charge,t1_0.integration_processor_label,t1_0.payment_processor_image,t1_0.payment_processor_label,t1_0.payment_processor_name,t1_0.product_uid,t1_0.provider_image,t1_0.provider_label,t1_0.provider_uid,t1_0.reference,t1_0.response_code,t1_0.rrn,t1_0.sdk_action_id,t1_0.status,t1_0.target_url,t1_0.tax,t1_0.total_amount,t1_0.trace,t1_0.type,t1_0.updated_at,t1_0.user_id from transaction t1_0 where t1_0.id=? -2025-07-14 01:01:55.313 [http-nio-6950-exec-9] DEBUG org.hibernate.SQL - select ad1_0.id,ad1_0.created_at,ad1_0.json_string,ad1_0.transaction_id,ad1_0.updated_at from additional_data ad1_0 left join transaction t1_0 on t1_0.id=ad1_0.transaction_id where t1_0.id=? -2025-07-14 01:01:55.513 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [*/*] and supported [application/json, application/*+json] -2025-07-14 01:01:55.513 [http-nio-6950-exec-9] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [zw.qantra.tm.domain.models.Transaction@2a824c8f] -2025-07-14 01:01:55.514 [http-nio-6950-exec-9] DEBUG o.s.web.servlet.DispatcherServlet - Completed 200 OK -2025-07-14 01:02:47.184 [SpringApplicationShutdownHook] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state ReadinessState changed from ACCEPTING_TRAFFIC to REFUSING_TRAFFIC -2025-07-14 01:02:47.184 [SpringApplicationShutdownHook] DEBUG o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7502291e, started on Mon Jul 14 00:53:27 CAT 2025 -2025-07-14 01:02:47.187 [SpringApplicationShutdownHook] INFO o.s.b.w.e.tomcat.GracefulShutdown - Commencing graceful shutdown. Waiting for active requests to complete -2025-07-14 01:02:47.190 [tomcat-shutdown] INFO o.s.b.w.e.tomcat.GracefulShutdown - Graceful shutdown complete -2025-07-14 01:02:47.197 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated... -2025-07-14 01:02:47.199 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed. diff --git a/logs/application.log b/logs/application.log deleted file mode 100644 index 47dfdfc..0000000 --- a/logs/application.log +++ /dev/null @@ -1,28 +0,0 @@ -2025-08-01 18:07:03.225 [main] INFO zw.qantra.tm.TmApplication - Starting TmApplication using Java 17.0.14 with PID 536123 (/home/vk/dev/qantra/qpay-tm/target/classes started by vk in /home/vk/dev/qantra/qpay-tm) -2025-08-01 18:07:03.227 [main] INFO zw.qantra.tm.TmApplication - The following 1 profile is active: "lab" -2025-08-01 18:07:03.228 [main] DEBUG o.s.boot.SpringApplication - Loading source class zw.qantra.tm.TmApplication -2025-08-01 18:07:03.251 [main] DEBUG o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7502291e -2025-08-01 18:07:03.823 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-08-01 18:07:03.824 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - Code archive: /home/vk/.m2/repository/org/springframework/boot/spring-boot/3.5.0/spring-boot-3.5.0.jar -2025-08-01 18:07:03.824 [main] DEBUG o.s.b.w.e.t.TomcatServletWebServerFactory - None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. -2025-08-01 18:07:03.834 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 6950 (http) -2025-08-01 18:07:03.874 [main] DEBUG o.s.b.w.s.c.ServletWebServerApplicationContext - Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] -2025-08-01 18:07:03.875 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 623 ms -2025-08-01 18:07:03.885 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping filters: customCorsFilter urls=[/*] order=-2147483648, characterEncodingFilter urls=[/*] order=-2147483648, formContentFilter urls=[/*] order=-9900, requestContextFilter urls=[/*] order=-105 -2025-08-01 18:07:03.885 [main] DEBUG o.s.b.w.s.ServletContextInitializerBeans - Mapping servlets: dispatcherServlet urls=[/] -2025-08-01 18:07:03.898 [main] DEBUG o.s.b.w.s.f.OrderedRequestContextFilter - Filter 'requestContextFilter' configured for use -2025-08-01 18:07:03.900 [main] DEBUG o.s.b.w.s.f.OrderedCharacterEncodingFilter - Filter 'characterEncodingFilter' configured for use -2025-08-01 18:07:03.900 [main] DEBUG o.s.b.w.s.f.OrderedFormContentFilter - Filter 'formContentFilter' configured for use -2025-08-01 18:07:04.145 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... -2025-08-01 18:07:06.340 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@74cd798f -2025-08-01 18:07:06.342 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. -2025-08-01 18:07:06.655 [main] WARN org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) -2025-08-01 18:07:13.413 [main] WARN o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -2025-08-01 18:07:13.460 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 43 mappings in 'requestMappingHandlerMapping' -2025-08-01 18:07:13.484 [main] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping' -2025-08-01 18:07:13.502 [main] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice -2025-08-01 18:07:13.526 [main] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice -2025-08-01 18:07:13.595 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat started on port 6950 (http) with context path '/api' -2025-08-01 18:07:13.601 [main] INFO zw.qantra.tm.TmApplication - Started TmApplication in 10.655 seconds (process running for 11.159) -2025-08-01 18:07:13.602 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state LivenessState changed to CORRECT -2025-08-01 18:07:13.603 [main] DEBUG o.s.b.a.ApplicationAvailabilityBean - Application availability state ReadinessState changed to ACCEPTING_TRAFFIC diff --git a/src/main/java/zw/qantra/tm/domain/dtos/ErpNextSalesInvoiceDto.java b/src/main/java/zw/qantra/tm/domain/dtos/ErpNextSalesInvoiceDto.java new file mode 100644 index 0000000..3358f54 --- /dev/null +++ b/src/main/java/zw/qantra/tm/domain/dtos/ErpNextSalesInvoiceDto.java @@ -0,0 +1,107 @@ +package zw.qantra.tm.domain.dtos; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; +import java.util.List; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class ErpNextSalesInvoiceDto { + + @JsonProperty("doctype") + private String doctype = "Sales Invoice"; + + @JsonProperty("company") + private String company; + + @JsonProperty("customer") + private String customer; + + @JsonProperty("posting_date") + private String postingDate; + + @JsonProperty("due_date") + private String dueDate; + + @JsonProperty("reference_no") + private String referenceNo; + + @JsonProperty("remarks") + private String remarks; + + @JsonProperty("currency") + private String currency; + + @JsonProperty("conversion_rate") + private Double conversionRate = 1.0; + + @JsonProperty("items") + private List items; + + @JsonProperty("taxes") + private List taxes; + + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + public static class ErpNextInvoiceItemDto { + @JsonProperty("doctype") + private String doctype = "Sales Invoice Item"; + + @JsonProperty("item_code") + private String itemCode; + + @JsonProperty("item_name") + private String itemName; + + @JsonProperty("description") + private String description; + + @JsonProperty("qty") + private Double qty = 1.0; + + @JsonProperty("rate") + private Double rate; + + @JsonProperty("amount") + private Double amount; + + @JsonProperty("income_account") + private String incomeAccount; + + @JsonProperty("cost_center") + private String costCenter; + } + + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + public static class ErpNextTaxDto { + @JsonProperty("doctype") + private String doctype = "Sales Taxes and Charges"; + + @JsonProperty("charge_type") + private String chargeType = "On Net Total"; + + @JsonProperty("account_head") + private String accountHead; + + @JsonProperty("description") + private String description; + + @JsonProperty("rate") + private Double rate; + + @JsonProperty("tax_amount") + private Double taxAmount; + } +} diff --git a/src/main/java/zw/qantra/tm/domain/services/TransactionService.java b/src/main/java/zw/qantra/tm/domain/services/TransactionService.java index 07569e8..d8b2d65 100644 --- a/src/main/java/zw/qantra/tm/domain/services/TransactionService.java +++ b/src/main/java/zw/qantra/tm/domain/services/TransactionService.java @@ -5,14 +5,12 @@ import lombok.RequiredArgsConstructor; import java.util.Arrays; import java.util.List; -import java.util.Map; import java.util.UUID; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; -import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Service; @@ -20,7 +18,6 @@ import zw.qantra.tm.domain.enums.RequestType; import zw.qantra.tm.domain.enums.Status; import zw.qantra.tm.domain.models.AdditionalData; import zw.qantra.tm.domain.models.Provider; -import zw.qantra.tm.domain.models.Recipient; import zw.qantra.tm.domain.models.Transaction; import zw.qantra.tm.domain.repositories.TransactionRepository; import zw.qantra.tm.domain.services.factories.PaymentProcessorFactory; @@ -31,6 +28,8 @@ import zw.qantra.tm.domain.services.processors.handlers.FormattingHandler; import zw.qantra.tm.domain.services.processors.handlers.LogicPipeline; import zw.qantra.tm.domain.services.processors.handlers.RecipientsUpdateHandler; import zw.qantra.tm.domain.services.processors.handlers.ValidationHandler; +import zw.qantra.tm.domain.services.processors.handlers.erp.PurchaseInvoiceHandler; +import zw.qantra.tm.domain.services.processors.handlers.erp.SalesInvoiceHandler; import zw.qantra.tm.exceptions.ApiException; import zw.qantra.tm.utils.Utils; @@ -76,6 +75,12 @@ public class TransactionService { transactionRepository.save(transaction); return transaction; } + + // run post integration logic + LogicPipeline postTransactionLogic = + new LogicPipeline<>(new PurchaseInvoiceHandler()); + transaction = postTransactionLogic.execute(transaction); + return transaction; } @@ -85,6 +90,10 @@ public class TransactionService { } Transaction transaction = transactionRepository.findById(uuid).get(); + // if the transaction is already successful, return it + if(transaction.getStatus() == Status.SUCCESS){ + return transaction; + } // no persistence happens during polling unless the transaction status changes String label = getLabel(transaction); @@ -97,11 +106,12 @@ public class TransactionService { transactionProcessorInterface.poll(transaction); // if tran was successful deep copy transaction & push integration to the aggregator - Transaction transactionCopy = Utils.deepCopy(transaction, Transaction.class); - transactionCopy.setType(RequestType.INTEGRATION); - transactionCopy.setId(null); - integration(transactionCopy); - + if(transaction.getStatus() == Status.SUCCESS){ + Transaction transactionCopy = Utils.deepCopy(transaction, Transaction.class); + transactionCopy.setType(RequestType.INTEGRATION); + transactionCopy.setId(null); + integration(transactionCopy); + } } catch (Exception e) { e.printStackTrace(); transaction.setStatus(Status.FAILED); @@ -143,7 +153,8 @@ public class TransactionService { // run post transaction logic LogicPipeline postTransactionLogic = - new LogicPipeline<>(new RecipientsUpdateHandler(recipientService)); + new LogicPipeline<>(new RecipientsUpdateHandler(recipientService)) + .addHandler(new SalesInvoiceHandler()); transaction = postTransactionLogic.execute(transaction); return transaction; diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/CalculateChargesHandler.java b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/CalculateChargesHandler.java index b1e51c2..f28f74f 100644 --- a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/CalculateChargesHandler.java +++ b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/CalculateChargesHandler.java @@ -3,7 +3,6 @@ package zw.qantra.tm.domain.services.processors.handlers; import lombok.RequiredArgsConstructor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import zw.qantra.tm.domain.models.Charge; import zw.qantra.tm.domain.models.ChargeCondition; diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicHandler.java b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicHandler.java index 95d86e9..c10f029 100644 --- a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicHandler.java +++ b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicHandler.java @@ -1,5 +1,5 @@ package zw.qantra.tm.domain.services.processors.handlers; -interface LogicHandler { +public interface LogicHandler { O process(I input); } diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicPipeline.java b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicPipeline.java index 23624b8..8262d19 100644 --- a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicPipeline.java +++ b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/LogicPipeline.java @@ -1,7 +1,5 @@ package zw.qantra.tm.domain.services.processors.handlers; -import org.springframework.stereotype.Service; - public class LogicPipeline { private final LogicHandler currentHandler; diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/PurchaseInvoiceHandler.java b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/PurchaseInvoiceHandler.java new file mode 100644 index 0000000..98be333 --- /dev/null +++ b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/PurchaseInvoiceHandler.java @@ -0,0 +1,21 @@ +package zw.qantra.tm.domain.services.processors.handlers.erp; + +import org.springframework.stereotype.Service; + +import lombok.RequiredArgsConstructor; +import zw.qantra.tm.domain.services.processors.handlers.LogicHandler; +import zw.qantra.tm.domain.models.Transaction; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@Service +@RequiredArgsConstructor +public class PurchaseInvoiceHandler implements LogicHandler{ + Logger logger = LoggerFactory.getLogger(PurchaseInvoiceHandler.class); + + @Override + public Transaction process(Transaction transaction) { + logger.info("processing purchase invoice"); + return transaction; + } +} diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/SalesInvoiceHandler.java b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/SalesInvoiceHandler.java new file mode 100644 index 0000000..475e6bd --- /dev/null +++ b/src/main/java/zw/qantra/tm/domain/services/processors/handlers/erp/SalesInvoiceHandler.java @@ -0,0 +1,40 @@ +package zw.qantra.tm.domain.services.processors.handlers.erp; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import lombok.RequiredArgsConstructor; +import zw.qantra.tm.domain.enums.Status; +import zw.qantra.tm.domain.models.Transaction; +import zw.qantra.tm.domain.services.processors.handlers.LogicHandler; + +@Service +@RequiredArgsConstructor +public class SalesInvoiceHandler implements LogicHandler{ + Logger logger = LoggerFactory.getLogger(SalesInvoiceHandler.class); + + + @Override + public Transaction process(Transaction transaction) { + logger.info("Processing sales invoice for transaction: {}", transaction.getReference()); + + if(transaction.getStatus() == Status.SUCCESS){ + try { + logger.info("Creating sales invoice in ERPNext for successful transaction"); + + + + logger.info("Sales invoice created successfully in ERPNext"); + } catch (Exception e) { + logger.error("Failed to create sales invoice in ERPNext: {}", e.getMessage(), e); + // Don't fail the transaction, just log the error + // The ERP invoice creation is a side effect, not critical to the payment flow + } + } else { + logger.info("Transaction status is not SUCCESS ({}), skipping sales invoice creation", transaction.getStatus()); + } + + return transaction; + } +} diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/integrations/StewardIntegrationProcessor.java b/src/main/java/zw/qantra/tm/domain/services/processors/integrations/StewardIntegrationProcessor.java index 279f1ec..c69e784 100644 --- a/src/main/java/zw/qantra/tm/domain/services/processors/integrations/StewardIntegrationProcessor.java +++ b/src/main/java/zw/qantra/tm/domain/services/processors/integrations/StewardIntegrationProcessor.java @@ -5,6 +5,9 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; + +import jakarta.transaction.TransactionScoped; +import jakarta.transaction.Transactional; import zw.qantra.tm.domain.dtos.BillPaymentDto; import zw.qantra.tm.domain.enums.RequestType; import zw.qantra.tm.domain.enums.Status; @@ -16,6 +19,7 @@ import zw.qantra.tm.domain.services.processors.TransactionProcessorInterface; import zw.qantra.tm.rest.RestService; import zw.qantra.tm.utils.Utils; +import java.beans.Transient; import java.util.LinkedHashMap; @Service("INTEGRATION_STEWARD") @@ -36,6 +40,7 @@ public class StewardIntegrationProcessor implements TransactionProcessorInterfac private String aggregatorAccount; @Override + @Transactional public Object process(Transaction transaction) throws Exception { logger.info("processing integration"); String token = restService.getMerchantToken(); @@ -69,12 +74,14 @@ public class StewardIntegrationProcessor implements TransactionProcessorInterfac transaction.setResponseCode((String) body.get("responseCode")); transaction.setCreditRef((String) body.get("creditReference")); transaction.setAdditionalData(body.get("additionalData")); + transaction.setErrorMessage(null); // clear any previous error message transactionService.save(transaction); - AdditionalData additionalData = AdditionalData.builder() - .transaction(transaction) - .jsonString(Utils.toJson(body.get("additionalData"))) - .build(); + AdditionalData additionalData = additionalDataService.getAdditionalDataRepository() + .findByTransactionId(transaction.getId()).orElse(new AdditionalData()); + + additionalData.setTransaction(transaction); + additionalData.setJsonString(Utils.toJson(body.get("additionalData"))); additionalDataService.getAdditionalDataRepository().save(additionalData); // fetch the corresponding request transaction if it exists @@ -82,16 +89,15 @@ public class StewardIntegrationProcessor implements TransactionProcessorInterfac .findByTraceAndType(transaction.getTrace(), RequestType.REQUEST); if (requestTransaction != null) { // create a new additional data for the request transaction - AdditionalData requestAdditionalData = AdditionalData.builder() - .transaction(requestTransaction) - .jsonString(Utils.toJson(body.get("additionalData"))) - .build(); + AdditionalData requestAdditionalData = additionalDataService.getAdditionalDataRepository() + .findByTransactionId(requestTransaction.getId()).orElse(new AdditionalData()); + requestAdditionalData.setTransaction(requestTransaction); + requestAdditionalData.setJsonString(Utils.toJson(body.get("additionalData"))); additionalDataService.getAdditionalDataRepository().save(requestAdditionalData); } } else { transaction.setStatus(Status.FAILED); - transaction.setErrorMessage((String) body.get("message")); transaction.setResponseCode((String) body.get("responseCode")); transaction.setErrorMessage((String) body.get("errorMessage")); } diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/payments/MPGSWebPaymentProcessor.java b/src/main/java/zw/qantra/tm/domain/services/processors/payments/MPGSWebPaymentProcessor.java index ab27ec0..3886eb0 100644 --- a/src/main/java/zw/qantra/tm/domain/services/processors/payments/MPGSWebPaymentProcessor.java +++ b/src/main/java/zw/qantra/tm/domain/services/processors/payments/MPGSWebPaymentProcessor.java @@ -88,7 +88,11 @@ public class MPGSWebPaymentProcessor implements TransactionProcessorInterface { transaction.setStatus(Status.FAILED); transaction.setResponseCode("01"); LinkedHashMap transactionData = (LinkedHashMap) body.get("transaction"); - transaction.setErrorMessage((String) transactionData.get("errorMessage")); + if (transactionData != null) { + transaction.setErrorMessage((String) transactionData.get("errorMessage")); + } else { + transaction.setErrorMessage(body.get("errorMessage").toString()); + } } } catch (Exception e) { logger.error("Network error during payment processing: {}", e.getMessage(), e); @@ -117,16 +121,24 @@ public class MPGSWebPaymentProcessor implements TransactionProcessorInterface { LinkedHashMap body = (LinkedHashMap) response.get("body"); // only update tran status if polling returns a success - if(body.get("status").equals("SUCCESS")){ - transaction.setStatus(Status.SUCCESS); - transaction.setResponseCode("00"); - transaction.setTargetUrl((String) body.get("targetUrl")); - - LinkedHashMap transactionData = (LinkedHashMap) body.get("transaction"); - transaction.setDebitRef((String) transactionData.get("debitReference")); - + if(!body.get("status").equals("SUCCESS")){ + logger.error(body.get("errorMessage").toString()); + transaction.setStatus(Status.FAILED); + transaction.setResponseCode(body.get("responseCode").toString()); + transaction.setErrorMessage(body.get("errorMessage").toString()); transactionService.save(transaction); + return transaction; } + + transaction.setStatus(Status.SUCCESS); + transaction.setResponseCode("00"); + transaction.setTargetUrl((String) body.get("targetUrl")); + + LinkedHashMap transactionData = (LinkedHashMap) body.get("transaction"); + transaction.setDebitRef((String) transactionData.get("debitReference")); + + transactionService.save(transaction); + } catch (Exception e) { logger.error("Network error during payment processing: {}", e.getMessage(), e); transaction.setStatus(Status.FAILED); diff --git a/src/main/resources/application-lab.properties b/src/main/resources/application-lab.properties index 20c7b5e..49ed7df 100644 --- a/src/main/resources/application-lab.properties +++ b/src/main/resources/application-lab.properties @@ -5,6 +5,8 @@ logging.level.org.springframework.boot.autoconfigure=INFO server.port=6950 +server.servlet.context-path=/api + spring.jpa.hibernate.ddl-auto=update spring.datasource.driver-class-name=org.postgresql.Driver spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect @@ -16,13 +18,26 @@ spring.datasource.password=zdDZMzq6F4B4L1IUl # sbz.merchant.url=http://192.168.16.29:24050/v1 -# sbz.merchant.url=https://localhost:24000/v1 -sbz.merchant.url=https://api.stewardpay.co.zw/lab/v2 +sbz.merchant.url=http://localhost:24000/v1 +# sbz.merchant.url=https://api.stewardpay.co.zw/lab/v2 sbz.aggregator.url=${sbz.merchant.url} -sbz.aggregator.client-id=steward_pay -sbz.aggregator.client-secret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp sbz.aggregator.phone=263773591219 sbz.aggregator.account=1046737845 + +sbz.aggregator.client-id=steward_pay +sbz.aggregator.client-secret=XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp sbz.aggregator.encryption-key=735470ce-8efb-4c0f-ba3f-7298f805ab33 steward.payment.processor.url=${sbz.merchant.url} + +# ERPNext Configuration +erpnext.url=http://localhost:8000 +erpnext.api.key=your_api_key_here +erpnext.api.secret=your_api_secret_here +erpnext.company=Qantra Payments +erpnext.customer=Default Customer +erpnext.item=Payment Service +erpnext.income.account=5111 - Sales Income - QPAY +erpnext.cost.center=Main - QPAY +erpnext.tax.account=VAT - QPAY +erpnext.tax.rate=15.0 diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 184b519..2fb4c30 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,21 +1,43 @@ spring.application.name=tm debug=true - -server.servlet.context-path=/api - logging.level.root=INFO logging.level.org.springframework.boot.autoconfigure=INFO server.port=6950 +server.servlet.context-path=/api + spring.jpa.hibernate.ddl-auto=update spring.datasource.driver-class-name=org.postgresql.Driver spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect - -spring.datasource.url=jdbc:postgresql://localhost:5432/qpay?useLegacyDatetimeCode=false +spring.datasource.url=jdbc:postgresql://173.212.247.232:5532/qpay?useLegacyDatetimeCode=false spring.datasource.username=postgres -spring.datasource.password=password +spring.datasource.password=zdDZMzq6F4B4L1IUl -sbz.aggregator.url=http://192.168.16.29:24050/v1 \ No newline at end of file + +# sbz.merchant.url=http://192.168.16.29:24050/v1 +# sbz.merchant.url=https://localhost:24000/v1 +sbz.merchant.url=https://api.stewardpay.co.zw/v1 +sbz.aggregator.url=${sbz.merchant.url} +sbz.aggregator.phone=263773591219 +sbz.aggregator.account=1041248676 + +sbz.aggregator.client-id=seasons_international_p_l +sbz.aggregator.client-secret=7765fcfc-7c46-4694-b0bb-40c470482d7b +sbz.aggregator.encryption-key=f29b64d6-e44b-42ea-a0ea-9d9f6a806dbe + +steward.payment.processor.url=${sbz.merchant.url} + +# ERPNext Configuration +erpnext.url=http://localhost:8000 +erpnext.api.key=your_api_key_here +erpnext.api.secret=your_api_secret_here +erpnext.company=Qantra Payments +erpnext.customer=Default Customer +erpnext.item=Payment Service +erpnext.income.account=5111 - Sales Income - QPAY +erpnext.cost.center=Main - QPAY +erpnext.tax.account=VAT - QPAY +erpnext.tax.rate=15.0