merge from api createApigateway

This commit is contained in:
MahanCh
2025-07-19 13:25:58 +03:30
35 changed files with 10906 additions and 344 deletions

View File

@@ -40,11 +40,11 @@ public class AqayePardakhtPaymentGateway:IPaymentGateway
callback = command.CallBackUrl,
card_number = command.CardNumber,
invoice_id = command.InvoiceId,
mobile = command.Mobile,
email = command.Email,
mobile = command.Mobile,
email = command.Email??"",
description = command.Description,
}, cancellationToken: cancellationToken);
var resStr = await response.Content.ReadAsStringAsync(cancellationToken);
var result = await response.Content.ReadFromJsonAsync<PaymentGatewayResponse>(cancellationToken: cancellationToken);
return result;
}

View File

@@ -30,6 +30,8 @@ public class PaymentGatewayResponse
[JsonPropertyName("transid")]
public string TransactionId { get; set; }
public bool IsSuccess => Status == "success";
}
public class WalletAmountResponse