Skip to content

Commit

Permalink
SP-896: PHPCS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
p-maguire committed Jun 24, 2024
1 parent 6a60003 commit 3351a4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gateways/bitpaycheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]";
Expand Down

0 comments on commit 3351a4c

Please sign in to comment.