We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a60003 commit 3351a4cCopy full SHA for 3351a4c
modules/gateways/bitpaycheckout.php
@@ -195,6 +195,7 @@ function bitpaycheckout_link($config_params)
195
$params->orderId = trim($invoiceId);
196
// @phpcs:ignore Generic.Files.LineLength.TooLong
197
$protocol = 'https://';
198
+ // @phpcs:ignore Generic.Files.LineLength.TooLong
199
$params->notificationURL = $protocol . $_SERVER['SERVER_NAME']. $dir . '/modules/gateways/bitpaycheckout/callback/bitpaycheckout_ipn.php';
200
201
$params->redirectURL = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
0 commit comments