View Issue Details

IDProjectCategoryView StatusLast Update
0007912OXID eShop (all versions)4.12. Subshop handlingpublic2026-03-19 09:51
Reporterkjunker Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version6.5.3 
Summary0007912: OSC Paypal Modul - Fix webhook URL resolution for mall sub-shops during onboarding
DescriptionIn OXID Enterprise mall setups, the onboarding flow registered the
webhook with the mall admin URL because the endpoint was always built
from the current shop URL.

Resolve the webhook base URL from the requested shop context first by
using the shop-specific mall SSL/non-SSL URL and fall back to the
current shop URL when no mall URL is available. This keeps the legacy
behavior for Community Edition while ensuring Enterprise sub-shops use
their own storefront URL.

See in Paypal Package: \OxidSolutionCatalysts\PayPal\Core\Config::getWebhookControllerUrl
Steps To Reproduce1. Install OXID 6.5.3 EE
2. Add one or more subshops
3. install paypal module
4. try to register the subshops with the onboarding button

Result: each Shop will have the same sMallSSLShopUrl
Additional InformationExample Code:

# \OxidSolutionCatalysts\PayPal\Core\Config::getWebhookControllerUrl
    public function getWebhookControllerUrl(): string
    {
        $config = Registry::getConfig();
        $request = Registry::getRequest();

        $shopId = $request->getEscapedShopUrl("shp");

        $baseUrl =
            $config->getShopConfVar('sMallSSLShopURL', $shopId)
                ?: $config->getShopConfVar('sMallShopURL', $shopId)
                ?: $config->getCurrentShopUrl(false);

        $query = 'index.php?cl=oscpaypalwebhook';

        if ($this->isSandbox()) {
            $query .= '&XDEBUG_SESSION_START=1';
        }

        return html_entity_decode($baseUrl . $query);
    }
TagsEE, Payment, PayPal, PayPal Express
ThemeNot defined
BrowserNot defined
PHP Version8.1
Database VersionMySQL 5.7

Activities

There are no notes attached to this issue.