Fix url payment ko

This commit is contained in:
Laurent Destailleur (aka Eldy) 2025-01-23 19:39:19 +01:00
parent 33ce03e128
commit d81a25ea11

View file

@ -343,7 +343,7 @@ if (!empty($doactionsthenredirect)) {
// Redirect to an error page
// Paymentko page must be created for the specific website
if (!defined('USEDOLIBARRSERVER') && !empty($ws_virtuelhost)) {
$ext_urlok = $ws_virtuelhost . '/paymentok.php?fulltag='.$FULLTAG;
$ext_urlok = $ws_virtuelhost . '/paymentko.php?fulltag='.$FULLTAG;
} else {
$ext_urlko = DOL_URL_ROOT.'/public/website/index.php?website='.urlencode($ws).'&pageref=paymentko&fulltag='.$FULLTAG;
}