File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,6 @@ public struct ApiConfiguration
3636 /// </summary>
3737 public string MerchantId ;
3838
39- /// <summary>
40- /// Marketplace Id (issued by PSCB) for the Fast Payments System
41- /// </summary>
42- public string MerchantIdFastPayments ;
43-
4439 /// <summary>
4540 /// Default url for successful payments
4641 /// </summary>
Original file line number Diff line number Diff line change @@ -142,9 +142,7 @@ public async Task<PaymentRequestDescriptor> BuildPaymentRequestAsync(
142142 Url = $ "{ ActualApiEndpoint } /pay",
143143 Request = new PaymentRequest
144144 {
145- marketPlace = message . PaymentMethod == PscbPaymentMethod . FastPaymentsSystem
146- ? _configuration . MerchantIdFastPayments ?? _configuration . MerchantId
147- : _configuration . MerchantId ,
145+ marketPlace = _configuration . MerchantId ,
148146 message = Convert . ToBase64String ( messageAsJsonUtf8 ) ,
149147 signature = messageWithKey . Sha256Encode ( ) . ToHexString ( )
150148 }
@@ -182,9 +180,7 @@ public async Task<PaymentInfo> GetPaymentInfoAsync(PscbPaymentMethod paymentMeth
182180 var queryParams = new PaymentInfoQueryParams
183181 {
184182 OrderId = orderId ,
185- MerchantId = paymentMethod == PscbPaymentMethod . FastPaymentsSystem
186- ? _configuration . MerchantIdFastPayments ?? _configuration . MerchantId
187- : _configuration . MerchantId ,
183+ MerchantId = _configuration . MerchantId ,
188184 GetCardData = getCardData ,
189185 GetFiscalData = getFiscalData ,
190186 } ;
You can’t perform that action at this time.
0 commit comments