Skip to content

Commit

Permalink
Merge pull request #353 from OXID-eSales/PSPAYPAL-840_Tracking
Browse files Browse the repository at this point in the history
Pspaypal 840 tracking
  • Loading branch information
mariolorenz authored Oct 17, 2024
2 parents 856c5ba + a89aea5 commit 99d2cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### FIX

- Catch possible thrown Error by getting DataClientToken
- [0007719](https://bugs.oxid-esales.com/view.php?id=7719): Tracking code also be stored in standard DB field for backwards compatibility

## [2.5.1] - 2024-09-20

Expand Down
1 change: 1 addition & 0 deletions src/Model/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ public function setPayPalTracking(string $trackingCarrier, string $trackingCode)
'oxtrackcode' => $trackingCode
]
);
$this->save();
$payPalOrder = $this->getPayPalRepository();
$payPalOrder->setTrackingCode($trackingCode);
$payPalOrder->setTrackingCarrier($trackingCarrier);
Expand Down

0 comments on commit 99d2cdd

Please sign in to comment.