View Issue Details

IDProjectCategoryView StatusLast Update
0007234module PayPal Plusmodule PayPal Plus - subpublic2021-06-24 13:54
ReporterStefanBerger Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0007234: Incorrect oxField assignment in paypPayPalPlusOxPaymentGateway
DescriptionHi,

using this module in OXID Version 6.3.0 with the PHP Version 8.3.0 a error occurs in paypPayPalPlusOxPaymentGateway.

[2021-04-26 15:07:44] OXID Logger.ERROR: Attempt to assign property "value" on bool ["[object] (Error(code: 0): Attempt to assign property \"value\" on bool at .../httpdocs_oxid_project_ce/source/modules/payp/paypalplus/models/payppaypalplusoxpaymentgateway.php:92)\n[stacktrace]\n
...

The following patch will solve the issue:
$oOrder->oxorder__oxordernr->value = new oxField($sInvoiceNumber);
=>
$oOrder->oxorder__oxordernr = new oxField($sInvoiceNumber);
Steps To ReproduceSubmit a paypal plus order
Additional Informationsee https://github.com/OXIDprojects/paypalplus-module/issues/10
TagsPaypal Plus

Activities

mario_lorenz

2021-06-24 13:54

developer   ~0013453

fixed in Version >= 3.0.10