Skip to content

Commit

Permalink
Merge pull request OXIDprojects#15 from OXIDprojects/PSPAYPALPLUS_Inc…
Browse files Browse the repository at this point in the history
…orrectFieldAssignment

fix: Incorrect oxField assignment
  • Loading branch information
mariolorenz authored Jun 24, 2021
2 parents 6d53b2f + a8c2c30 commit 2deebb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/payppaypalplusoxpaymentgateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function executePayment($dAmount, & $oOrder)

$oPayPalSession = $oShop->getPayPalPlusSession();
if ($sInvoiceNumber = $oPayPalSession->getInvoiceNumber()) {
$oOrder->oxorder__oxordernr->value = new oxField($sInvoiceNumber);
$oOrder->oxorder__oxordernr = new oxField($sInvoiceNumber);
}
if (!$this->_executePayment($oOrder)) {
$this->_iLastErrorNo = $this->_LastPaypalPlusErrorNo;
Expand Down

0 comments on commit 2deebb0

Please sign in to comment.