updated sdkaction
This commit is contained in:
@@ -13,6 +13,7 @@ public class SdkActionDto {
|
|||||||
|
|
||||||
private String clientId;
|
private String clientId;
|
||||||
private String clientSecret;
|
private String clientSecret;
|
||||||
|
private String channel;
|
||||||
private String phone;
|
private String phone;
|
||||||
private String amount;
|
private String amount;
|
||||||
private String currency;
|
private String currency;
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ public class MPGSWebPaymentProcessor implements TransactionProcessorInterface {
|
|||||||
SdkActionDto sdkActionDto = SdkActionDto.builder()
|
SdkActionDto sdkActionDto = SdkActionDto.builder()
|
||||||
.clientId(clientId)
|
.clientId(clientId)
|
||||||
.clientSecret(clientSecret)
|
.clientSecret(clientSecret)
|
||||||
|
.channel("api")
|
||||||
.phone(transaction.getCreditPhone())
|
.phone(transaction.getCreditPhone())
|
||||||
.amount(totalAmount.toString())
|
.amount(totalAmount.toString())
|
||||||
.currency(transaction.getDebitCurrency().toString())
|
.currency(transaction.getDebitCurrency().toString())
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
# sbz.merchant.url=http://localhost:24000/v1
|
sbz.merchant.url=http://localhost:24000/v1
|
||||||
sbz.merchant.url=https://api.stewardpay.co.zw/lab/v2
|
#sbz.merchant.url=https://api.stewardpay.co.zw/lab/v2
|
||||||
|
|
||||||
spring.datasource.url=jdbc:postgresql://localhost:5432/qpay?useLegacyDatetimeCode=false
|
#spring.datasource.url=jdbc:postgresql://localhost:5432/qpay?useLegacyDatetimeCode=false
|
||||||
spring.datasource.username=postgres
|
#spring.datasource.username=postgres
|
||||||
spring.datasource.password=example
|
#spring.datasource.password=example
|
||||||
|
|
||||||
|
#nflow.db.postgresql.driver=org.postgresql.Driver
|
||||||
nflow.db.postgresql.driver=org.postgresql.Driver
|
#nflow.db.postgresql.url=jdbc:postgresql://localhost:5432/qpay
|
||||||
nflow.db.postgresql.url=jdbc:postgresql://localhost:5432/qpay
|
#nflow.db.postgresql.user=postgres
|
||||||
nflow.db.postgresql.user=postgres
|
#nflow.db.postgresql.password=example
|
||||||
nflow.db.postgresql.password=example
|
|
||||||
Reference in New Issue
Block a user