View Issue Details

IDProjectCategoryView StatusLast Update
0007817module PayPal Checkoutmodule PayPal checkout - subpublic2025-09-08 15:53
ReporterSpritje Assigned To 
PrioritynormalSeveritymajorReproducibilityrandom
Status resolvedResolutionfixed 
Product Version2.6.0 
Fixed in Version2.6.1 / 3.5.0 
Summary0007817: In step 4 (cl=order), the shop freezes with 500 errors - Internal Server Error on POST Request
DescriptionIn 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 Reproduce1. 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){
TagsNo tags attached.

Activities

mario_lorenz

2025-08-19 10:34

developer   ~0018152

It is solved in version v2.6.1 for OXID6 and v3.5.0 for OXID7