feat(payment): implement multi-gateway support and enhance payment processing
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m44s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m44s
- Added support for multiple payment gateways, including ZarinPal and TwentyCard, through a new IPaymentGatewayResolver. - Updated PaymentRequest DTO to include payer name and invoice number for better transaction tracking. - Enhanced PackageService to dynamically determine payment amounts based on the selected gateway. - Updated appsettings to include configuration for TwentyCard payment options. - Bumped Protobuf project version to reflect the addition of new features and changes.
This commit is contained in:
@@ -249,6 +249,8 @@ message CustomerPurchasePackageRequest
|
||||
int64 package_id = 1;
|
||||
PurchaseMethodEnum purchase_method = 2;
|
||||
string callback_url = 3;
|
||||
// "zarinpal" (default) | "20card"
|
||||
string gateway_provider = 4;
|
||||
}
|
||||
|
||||
message CustomerPurchasePackageResponse
|
||||
|
||||
Reference in New Issue
Block a user