feat(payment): enhance TwentyCard payment integration and update configuration
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
- Added support for optional Email and NationalId fields in PaymentRequest for TwentyCard transactions. - Updated TwentyCardPaymentService to handle multipart/form-data requests and improved error handling. - Modified appsettings and configuration files for both production and staging environments to include updated BaseUrl and credentials for TwentyCard. - Updated README to reflect the new documentation location.
This commit is contained in:
@@ -108,6 +108,16 @@ public class PaymentRequest
|
||||
/// شماره فاکتور / سفارش
|
||||
/// </summary>
|
||||
public string Invoice { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// ایمیل (اختیاری — برای ۲۰کارت)
|
||||
/// </summary>
|
||||
public string? Email { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// کد ملی (اختیاری — برای ۲۰کارت)
|
||||
/// </summary>
|
||||
public string? NationalId { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user