This commit is contained in:
2026-02-24 14:36:03 +03:30
parent c35765b706
commit a95a8c2d87
2 changed files with 2 additions and 2 deletions
@@ -34,7 +34,7 @@ export class ZarinpalGateway implements IPaymentGateway {
this.zarinpalRequestUrl = `${zarinpalBaseUrl}/pg/v4/payment/request.json`;
this.zarinpalVerifyUrl = `${zarinpalBaseUrl}/pg/v4/payment/verify.json`;
this.zarinpalMerchantId = this.configService.getOrThrow<string>('ZARINPAL_BASE_MERCHANT')
this.apiUrl = this.configService.getOrThrow<string>('API_URL') || 'https://negareh-api.dev.danakcorp.com/'
this.apiUrl = this.configService.get<string>('API_URL') || 'https://negareh-api.dev.danakcorp.com/'
}
private getAxiosErrorData(error: unknown): { status?: number; data?: unknown } | null {