Commit graph

2385 commits

Author SHA1 Message Date
Emili Castells Guasch
06bfe33db2 Working on subscriptions (WIP) 2023-06-21 15:42:18 +02:00
Emili Castells Guasch
157dd41b7c Fix psalm 2023-06-16 16:28:15 +02:00
Emili Castells Guasch
09c7537e48 Hide non updatable form fields if subscription product connected to PayPal 2023-06-16 16:11:45 +02:00
Emili Castells Guasch
8c407546a3 Add spinner to unlink plan button 2023-06-15 15:59:16 +02:00
Emili Castells Guasch
28213c39af Add deactivate plan endpoint (WIP) 2023-06-15 12:16:25 +02:00
Emili Castells Guasch
d9ba42e45b Add tooltip for connect PayPal checkbox 2023-06-14 12:37:59 +02:00
Emili Castells Guasch
7f25e1edd9 Update subscription mode description 2023-06-13 12:17:49 +02:00
Emili Castells Guasch
87325585f1 Fix cart button render conditional 2023-06-13 11:46:56 +02:00
Emili Castells Guasch
f9ed01e5c4 Fix single product button render conditional 2023-06-13 11:33:24 +02:00
Emili Castells Guasch
d83d26c5f5 Remove subscriptions schedule metabox and add custom one 2023-06-12 15:14:26 +02:00
Emili Castells Guasch
40b00d7fb0 Display PayPal button only if cart contains only one subscription product 2023-06-08 16:49:17 +02:00
Emili Castells Guasch
c570621b67 Add script for disabling subscription product form fields 2023-06-08 12:39:08 +02:00
Emili Castells Guasch
21fd894d7a Check if subscription product in cart before removing PayPal button 2023-06-07 14:43:32 +02:00
Emili Castells Guasch
5082a0d17b Do not render PayPal subscription button if no plan is connected 2023-06-07 12:50:18 +02:00
Emili Castells Guasch
1a4f06a6d7 Add more scripts and update changelog 2023-06-06 12:24:05 +02:00
Emili Castells Guasch
0bfb1bec16 Merge branch 'trunk' into fix/PCP-1677-fraudnet_scripts_in_SGO_filter 2023-06-06 12:20:57 +02:00
carmenmaymo
16d0e9b6fb
Add MX and JP to ACDC PCP-1755 2023-06-02 12:56:55 +02:00
Emili Castells
e49fcab485
Merge pull request #1411 from woocommerce/PCP-1752-fix-ajax-security
Fix ajax vulnerabilities
2023-06-01 11:29:46 +02:00
Alex P
d548bb8788
Check admin permissions 2023-05-31 16:36:02 +03:00
Alex P
c684e461ee
Fix response 2023-05-31 16:19:25 +03:00
Alex P
bee2a8d5ba
Do not send whole order in create order response 2023-05-31 16:18:34 +03:00
Alex P
df81e5e411
Remove unused 2023-05-31 16:17:09 +03:00
Alex P
508fe0ee48
Do not sent order in approve response 2023-05-31 16:15:19 +03:00
Emili Castells Guasch
76ac995c82 Use WC_Payment_Token_CC instead of custom one for cards 2023-05-31 11:46:29 +02:00
Emili Castells Guasch
58a08b3be0 Get customer tokens for each gateway 2023-05-30 14:47:00 +02:00
Emili Castells Guasch
3b1ad30aef Do not log token id 2023-05-29 17:09:32 +02:00
Emili Castells Guasch
ee16175438 Fix psalm 2023-05-29 16:48:23 +02:00
Emili Castells Guasch
5fce71e26c Add action scheduler 2023-05-29 16:24:50 +02:00
Emili Castells Guasch
a460da6267 Add action for running the migration 2023-05-29 15:21:32 +02:00
Emili Castells Guasch
d0d50c5696 Add logging to payment tokens migration 2023-05-29 13:02:59 +02:00
Emili Castells Guasch
fa049527b6 Catch correct exception 2023-05-24 15:17:03 +02:00
Alex P
f1c91d5508
Fix type
Sometimes this service returns DisabledSmartButton
2023-05-24 09:36:36 +03:00
Emili Castells
28e831de0f
Merge pull request #1397 from woocommerce/PCP-1674-handle-block-errors
Handle payment errors in blocks
2023-05-23 11:56:53 +02:00
Emili Castells Guasch
83ae24eae8 Do not add previous_transaction_reference for PayPal payment method 2023-05-22 11:45:46 +02:00
Alex P
780aaed1c6
Fix session_handler usage 2023-05-22 12:19:25 +03:00
Alex P
6aa75e62d4
Refactor session handling 2023-05-22 10:42:33 +03:00
Alex P
2df970a74a
Handle payment errors in blocks 2023-05-22 10:38:31 +03:00
Emili Castells Guasch
e173f39e3c Add vault true when subscription in cart 2023-05-18 16:46:25 +02:00
Emili Castells Guasch
c64d174817 Fix get_cart_contents null error 2023-05-18 10:42:18 +02:00
dependabot[bot]
0488670bf2
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-blocks
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 11:04:20 +00:00
dependabot[bot]
6db83fdd5a
Bump webpack from 5.75.0 to 5.76.0 in /modules/ppcp-blocks
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 10:55:41 +00:00
Emili Castells Guasch
12c8edf7bc Remove unused services 2023-05-17 11:29:29 +02:00
Emili Castells Guasch
077c23d7f1 Fix phpcs 2023-05-16 15:15:35 +02:00
Emili Castells Guasch
c1f97dd625 Fix constructor parameters order 2023-05-16 15:02:27 +02:00
Emili Castells Guasch
3c0e807758 Fix merge conflicts 2023-05-16 12:44:14 +02:00
Emili Castells Guasch
353ba42cbc Fix psalm 2023-05-16 11:49:08 +02:00
Emili Castells Guasch
6f2a47dddb Fix phpcs 2023-05-16 11:39:38 +02:00
Emili Castells Guasch
b8cdb68317 Merge branch 'subscriptions-api-flag' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2023-05-16 11:27:49 +02:00
Emili Castells Guasch
b35295b43e Fix phpcs 2023-05-16 11:26:57 +02:00
Emili Castells
918f09f47d
Merge pull request #1346 from woocommerce/pcp-157-blocks
Add express cart/checkout block
2023-05-16 11:14:53 +02:00