From 3351a4c2cea3ce65ff8930ccd4224aa89bc55f40 Mon Sep 17 00:00:00 2001
From: Patrick
Date: Mon, 24 Jun 2024 12:59:22 -0400
Subject: [PATCH] SP-896: PHPCS fix
---
modules/gateways/bitpaycheckout.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gateways/bitpaycheckout.php b/modules/gateways/bitpaycheckout.php
index 69011f6..87f09ef 100644
--- a/modules/gateways/bitpaycheckout.php
+++ b/modules/gateways/bitpaycheckout.php
@@ -195,6 +195,7 @@ function bitpaycheckout_link($config_params)
$params->orderId = trim($invoiceId);
// @phpcs:ignore Generic.Files.LineLength.TooLong
$protocol = 'https://';
+ // @phpcs:ignore Generic.Files.LineLength.TooLong
$params->notificationURL = $protocol . $_SERVER['SERVER_NAME']. $dir . '/modules/gateways/bitpaycheckout/callback/bitpaycheckout_ipn.php';
// @phpcs:ignore Generic.Files.LineLength.TooLong
$params->redirectURL = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";