updated sdkaction

This commit is contained in:
2025-11-04 21:21:15 +02:00
parent 29e5036346
commit faa2ab17cf
3 changed files with 11 additions and 10 deletions

View File

@@ -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;

View File

@@ -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())

View File

@@ -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
#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