diff --git a/src/main/java/zw/qantra/tm/domain/dtos/SdkActionDto.java b/src/main/java/zw/qantra/tm/domain/dtos/SdkActionDto.java index e986cf5..9e784d9 100644 --- a/src/main/java/zw/qantra/tm/domain/dtos/SdkActionDto.java +++ b/src/main/java/zw/qantra/tm/domain/dtos/SdkActionDto.java @@ -13,6 +13,7 @@ public class SdkActionDto { private String clientId; private String clientSecret; + private String channel; private String phone; private String amount; private String currency; 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 71e30dd..97941cd 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 @@ -64,6 +64,7 @@ public class MPGSWebPaymentProcessor implements TransactionProcessorInterface { SdkActionDto sdkActionDto = SdkActionDto.builder() .clientId(clientId) .clientSecret(clientSecret) + .channel("api") .phone(transaction.getCreditPhone()) .amount(totalAmount.toString()) .currency(transaction.getDebitCurrency().toString()) diff --git a/src/main/resources/application-vusa.properties b/src/main/resources/application-vusa.properties index b283d84..72f727a 100644 --- a/src/main/resources/application-vusa.properties +++ b/src/main/resources/application-vusa.properties @@ -1,12 +1,11 @@ -# sbz.merchant.url=http://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 -spring.datasource.url=jdbc:postgresql://localhost:5432/qpay?useLegacyDatetimeCode=false -spring.datasource.username=postgres -spring.datasource.password=example +#spring.datasource.url=jdbc:postgresql://localhost:5432/qpay?useLegacyDatetimeCode=false +#spring.datasource.username=postgres +#spring.datasource.password=example - -nflow.db.postgresql.driver=org.postgresql.Driver -nflow.db.postgresql.url=jdbc:postgresql://localhost:5432/qpay -nflow.db.postgresql.user=postgres -nflow.db.postgresql.password=example \ No newline at end of file +#nflow.db.postgresql.driver=org.postgresql.Driver +#nflow.db.postgresql.url=jdbc:postgresql://localhost:5432/qpay +#nflow.db.postgresql.user=postgres +#nflow.db.postgresql.password=example \ No newline at end of file