You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/PayPalPlugin/blob/1.7/.github/workflows/upmerge_pr.yaml).
**Remember!** The upmerge should always be merged with using `Merge pull
request` button.
In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/2.0 -m "Resolve conflicts between 1.7 and 2.0"
```
If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/PayPalPlugin`
repository.
Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
Copy file name to clipboardExpand all lines: UPGRADE-2.0.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,34 @@
1
+
### UPGRADE FROM 2.0.2 to 2.0.3
2
+
3
+
1.#### Removed overwriting of shipping address in `CompleteOrderAction` and introduced shipping address update to PayPal.
4
+
Previously, the `Sylius\PayPalPlugin\Payum\Action\CompleteOrderAction` class retrieved the shipping address from PayPal after order completion and overwrote
5
+
the existing shipping address in Sylius. This behavior was incorrect because if a customer changed their address after completing the PayPal checkout,
6
+
the system would revert it back to the PayPal-provided address.
7
+
8
+
This mechanism has been removed. Instead, a new mechanism has been introduced: if shipping is required, the order completion process now updates
9
+
the PayPal shipping address with the one stored in Sylius. This ensures that the shipping address remains consistent with the one confirmed in the store.
10
+
11
+
1. The following classes have been deprecated and will be removed in Sylius/PayPalPlugin 3.0:
0 commit comments