Merge branch 'mrtz'
This commit is contained in:
@@ -14,9 +14,9 @@ interface SepRequestPaymentResponse {
|
|||||||
class SepGateway {
|
class SepGateway {
|
||||||
private logger = new Logger(SepGateway.name);
|
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 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" };
|
private requestHeader = { "Content-Type": "application/json", Accept: "application/json" };
|
||||||
|
|
||||||
async processPayment(amount: number, description: string, email: string, mobile: string, callBackPath: string) {
|
async processPayment(amount: number, description: string, email: string, mobile: string, callBackPath: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user