Skip to content

Commit

Permalink
fix: Incorrect oxField assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Jun 24, 2021
1 parent 6d53b2f commit a8c2c30
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 a8c2c30

Please sign in to comment.