Commit graph

939 commits

Author SHA1 Message Date
Rafał Jaskulski
6a9202fcfc
Merge c2de78c937 into fc1a487a4f 2026-06-03 07:42:54 +00:00
Grzegorz Sadowski
9fb864caae
[2.0][API] Enforce channel eligibility check when changing payment method via account endpoint (#19037)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 2.2 branch
 - Features and deprecations must be submitted against the 2.3 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2026-06-02 12:01:57 +02:00
TheMilek
04fd184814
Check payment request ownership on POST 2026-06-02 08:53:12 +02:00
Wojdylak
1f93b923d0
Cover createdByGuest case in payment request ownership 2026-06-02 08:53:12 +02:00
TheMilek
d21c14fbf0
Check payment request ownership 2026-06-02 08:53:12 +02:00
Grzegorz Sadowski
d2b16b81fd
[API] Add regression tests for payment method channel eligibility 2026-05-26 12:19:05 +02:00
Grzegorz Sadowski
0b2be91493
[API] Fix contract tests for API Platform 4.1 2025-03-03 07:10:28 +01:00
Michał Pysiak
eb7ab4fce2
Revert skipped phpunit test 2025-01-09 07:24:25 +01:00
Michał Pysiak
db423267be
[Bug] Fix statistics tests in new year 2025-01-02 15:01:42 +01:00
Francis Hilaire
b85dc96e8e
Allow null action to let it guess it afterward 2024-12-03 11:16:09 +01:00
Wojdylak
b949b842fb
[Maintenance] Add test skipping test in CatalogPromotionsTest 2024-11-29 13:25:34 +01:00
Francis Hilaire
3d5a364b7d
Fix ecs 2024-11-09 15:16:07 +01:00
Francis Hilaire
39b119cf21
Remove priority but decorates the offline actions command provider 2024-11-09 15:06:25 +01:00
Francis Hilaire
a4e5753c39
Remove payum env by using usePayum field 2024-11-09 13:56:31 +01:00
Michał Pysiak
2b576dda75
move problematic test 2024-10-25 10:18:09 +02:00
Michał Pysiak
8e95467caf
Fix response test 2024-10-25 10:18:09 +02:00
Michał Pysiak
ab1059eefd
Fix validation responses 2024-10-25 10:18:08 +02:00
Michał Pysiak
1d1c287689
Bump APIP to 4.0 and Fix Put errors 2024-10-25 10:18:08 +02:00
Kamil Grygierzec
7f0d51ceca
Fix tests 2024-10-23 13:28:03 +02:00
Wojdylak
d7274c70cb
[ApiBundle] Add common enabled extension for the shop section 2024-10-22 12:29:02 +02:00
Wojdylak
bb6e6024c1
[ApiBundle] Add serialization group checking to normalizers 2024-10-22 12:29:01 +02:00
Grzegorz Sadowski
8f095aea42
[API] Fix order of channel pricing log entries in contract tests 2024-10-22 06:53:22 +02:00
Grzegorz Sadowski
4779db26f0
[API] Adjust contract tests fixtures after bumping doctrine/collections dependency 2024-10-22 06:53:18 +02:00
Wojdylak
a1c86b8688
[ApiBundle] Unification of services names 2024-10-21 12:13:30 +02:00
Grzegorz Sadowski
b8c766400e
Adjust tests after removing Winzou State Machine 2024-10-15 08:26:55 +02:00
Grzegorz Sadowski
13a754c47c
[PaymentRequest] Refactor AddPaymentRequest command 2024-10-14 09:49:12 +02:00
Grzegorz Sadowski
d9e4cbb69b
[API] Refactor Payment Request POST endpoint 2024-10-11 11:45:46 +02:00
Grzegorz Sadowski
105a196e3f
[API] Fix configuration of Payment Request resource 2024-10-11 10:35:51 +02:00
Grzegorz Sadowski
ccebc0cf4f
Resolve conflicts between 2.0 and payment-request 2024-10-08 13:35:47 +02:00
Michał Pysiak
2e7dff0152
Fix contract tests 2024-10-07 09:57:24 +02:00
Grzegorz Sadowski
8db6bc38e0
[UPMERGE] 2.0 -> payment-request (#17080)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.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/payment-request -m "Resolve conflicts between 2.0 and payment-request"
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
2024-10-02 06:49:03 +02:00
Grzegorz Sadowski
b3421856e0
[API][Admin] Make Province endpoints to be subresources of Country 2024-10-01 08:55:07 +02:00
Grzegorz Sadowski
0ccee33c9d
[API][Shop] Make Province GET endpoint to be subresources of Country 2024-10-01 08:55:07 +02:00
Wojdylak
e4cbd6b46a
[Admin][PaymentRequest] Add behat tests 2024-09-27 09:34:51 +02:00
Grzegorz Sadowski
42f2fcb123
Resolve conflicts between 2.0 and payment-request 2024-09-26 13:52:33 +02:00
Grzegorz Sadowski
ecd82e8273
Merge branch '1.14' into 2.0
* 1.14:
  [API] Add missing endpoint for ShopUser in shop context
2024-09-25 12:13:51 +02:00
Grzegorz Sadowski
7e8e682d09
Merge branch '1.13' into 1.14
* 1.13:
  [API] Add missing endpoint for ShopUser in shop context
2024-09-25 12:06:23 +02:00
Grzegorz Sadowski
4e19386c7e
[UPMERGE] 2.0 -> payment-request (#17016)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.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/payment-request -m "Resolve conflicts between 2.0 and payment-request"
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
2024-09-25 10:25:02 +02:00
Grzegorz Sadowski
f0dc4cb967
[API] Add missing endpoint for ShopUser in shop context 2024-09-25 10:20:32 +02:00
Grzegorz Sadowski
64d6b9d526
Resolve conflicts between 2.0 and payment-request 2024-09-25 07:34:26 +02:00
Kamil Grygierzec
3600f870d1
[API] Add position to serialization and fix contract tests 2024-09-24 22:38:53 +02:00
Rafikooo
5ba8d3159e
[Unit] Add test cases for promotion coupon with non-existing promotion 2024-09-24 12:10:56 +02:00
Rafikooo
7d8d85a4ba
[Unit] Add customizable message to assertResponseNotFound in JsonApiTestCase 2024-09-24 12:10:56 +02:00
Rafikooo
7c2d8a8e0c
[Unit] Replace direct client requests with helper methods in PromotionCouponsTest class 2024-09-24 12:10:56 +02:00
Rafikooo
b68a670d14
[API] Refactor PromotionCoupons tests to use new promotion coupon URIs 2024-09-24 12:10:56 +02:00
Rafikooo
13b2649251
[Unit] Adjust promotion coupons tests 2024-09-24 12:10:55 +02:00
Rafikooo
c83a2642a8
[Unit] Refine promotion tests 2024-09-24 12:10:54 +02:00
Wojdylak
532be0456b
Resolve conflicts between 2.0 and payment-request 2024-09-24 09:18:52 +02:00
Grzegorz Sadowski
df217d7182
Resolve conflicts between 2.0 and symfony-7 2024-09-24 08:48:32 +02:00
Francis Hilaire
f9c4ad20a7
Fix too many required arguments 2024-09-20 13:22:57 +02:00