View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007912 | OXID eShop (all versions) | 4.12. Subshop handling | public | 2026-03-19 09:51 | 2026-03-19 09:51 |
| Reporter | kjunker | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 6.5.3 | ||||
| Summary | 0007912: OSC Paypal Modul - Fix webhook URL resolution for mall sub-shops during onboarding | ||||
| Description | In 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 Reproduce | 1. 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 Information | Example 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); } | ||||
| Tags | EE, Payment, PayPal, PayPal Express | ||||
| Theme | Not defined | ||||
| Browser | Not defined | ||||
| PHP Version | 8.1 | ||||
| Database Version | MySQL 5.7 | ||||