updates to erp logic

This commit is contained in:
2025-12-02 15:48:38 +02:00
parent 63ed9c72ed
commit ab32f9163a
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ public class PaymentEntryHandler implements HandlerInterface {
.build(); .build();
transactionEventService.save(transactionEvent); transactionEventService.save(transactionEvent);
if(transaction.getStatus() == Status.SUCCESS){ if(transaction.getPaymentStatus() == Status.SUCCESS){
try { try {
logger.info("Creating payment entry in ERPNext for successful transaction"); logger.info("Creating payment entry in ERPNext for successful transaction");

View File

@@ -68,7 +68,7 @@ spring.mail.properties.mail.smtp.starttls.enable=true
powertel.clientid=zesa_prepaid_usd powertel.clientid=zesa_prepaid_usd
ecocash.apikey=OUzGezwTgktLg_9v0I48I6WUM4LVLGFl ecocash.apikey=Uv24CpV-wU69yvY6KpVYvydMDdbf4iZ_
ecocash.url=https://developers.ecocash.co.zw/api/ecocash_pay/api/v2/payment/instant/c2b/sandbox ecocash.url=https://developers.ecocash.co.zw/api/ecocash_pay/api/v2/payment/instant/c2b/sandbox
management.tracing.enabled=true management.tracing.enabled=true