View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007817 | module PayPal Checkout | module PayPal checkout - sub | public | 2025-08-07 11:08 | 2025-09-08 15:53 |
| Reporter | Spritje | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | random |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.6.0 | ||||
| Fixed in Version | 2.6.1 / 3.5.0 | ||||
| Summary | 0007817: In step 4 (cl=order), the shop freezes with 500 errors - Internal Server Error on POST Request | ||||
| Description | In step 4 (cl=order) of the order process, the shop freezes with a 500 error – Internal Server Error instead of displaying the (cl=thankyou) page. Developer console: https://domain.de/index.php?cl=ajaxpay&fnc=createAcdcOrder&aid=&stoken=XXX Status 500 - Internal Server Error oxideshop.log: [2025-08-07 08:51:17] OXID Logger.ERROR: Return value of OxidSolutionCatalysts\PayPal\Service\Payment::getCustomIdParameter() must be of the type string, null returned ["[object] (TypeError(code: 0): Return value of OxidSolutionCatalysts\\PayPal\\Service\\Payment::getCustomIdParameter() must be of the type string, null returned | ||||
| Steps To Reproduce | 1. Add item to shopping cart 2. Log in to the shop 3. In step 4 (cl=order) of the ordering process, select credit card and enter details 4. After clicking on “Place order,” the shop freezes with a 500 error – Internal Server Error instead of displaying the (cl=thankyou) page. The behavior is not reproducible on all systems. | ||||
| Additional Information | -- es -- The problem is probably here: public function getCustomIdParameter(?EshopModelOrder $order): string { /** @var ModuleSettings $moduleSettings */ $moduleSettings = $this->getServiceFromContainer(ModuleSettings::class); $module = oxNew(\OxidEsales\Eshop\Core\Module\Module::class); $module->load(Module::MODULE_ID); /** @var Order $orderNumber */ $orderNumber = $order instanceof EshopModelOrder ? $order->getFieldData('oxordernr') : ''; if($orderNumber == 0){ | ||||
| Tags | No tags attached. | ||||