add : Sep gateway for test

This commit is contained in:
2025-12-30 18:45:33 +03:30
parent 322be31128
commit c97b5b385c
+2 -2
View File
@@ -14,9 +14,9 @@ interface SepRequestPaymentResponse {
class SepGateway {
private logger = new Logger(SepGateway.name);
private gatewayApiUrl: string = process.env.SEP_HOST || "";
private gatewayApiUrl: string = process.env.SEP_HOST || "https://sep.shaparak.ir";
private callBackURL = `${process.env.SITE_URL}/payment/verify/SEP/`;
private TERMINAL_ID: string = process.env.SEP_TERMINAL_ID || "";
private TERMINAL_ID: string = process.env.SEP_TERMINAL_ID || "15364098";
private requestHeader = { "Content-Type": "application/json", Accept: "application/json" };
async processPayment(amount: number, description: string, email: string, mobile: string, callBackPath: string) {