diff --git a/src/modules/IPG/gateways/sep.ts b/src/modules/IPG/gateways/sep.ts index 2aa74cc..1370a01 100644 --- a/src/modules/IPG/gateways/sep.ts +++ b/src/modules/IPG/gateways/sep.ts @@ -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) {