updated sdkaction
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user