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