updates to erp logic
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user