View Issue Details

IDProjectCategoryView StatusLast Update
0007234module PayPal Plusmodule PayPal Plus - subpublic2021-04-27 11:29
ReporterStefanBerger 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
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

There are no notes attached to this issue.