Commit graph

3590 commits

Author SHA1 Message Date
Alex P
8188faeec4
Redirect on any credentials change (including sandbox checkbox)
otherwise we may use wrong state/host e.g. for webhook subscription
2023-03-10 10:39:02 +02:00
Alex P
4c59337247
Delete all webhooks before adding 2023-03-09 10:47:29 +02:00
Alex P
3d3fe37185
Improve webhook deletion error output 2023-03-09 10:46:25 +02:00
Alex P
c77f20d2f9
Fix name to avoid confusion 2023-03-08 17:36:38 +02:00
Emili Castells Guasch
a5626b52a5 Add update pricing webhook handler 2023-03-08 09:17:30 +01:00
Alex P
3d096fb2ad
Handle price suffix with price for product button check 2023-03-07 16:20:01 +02:00
Emili Castells Guasch
f84d9da8d6 Handle subscription renewal from payment sale complete webhook handler 2023-03-07 12:15:29 +01:00
Emili Castells Guasch
501dbcca55 Add billing subscription cancelled webhook handler 2023-03-07 10:35:39 +01:00
Alex P
c41cedc80d
Change "Enabled" to "Available" in status text
Now it is more clear because "enabled" can be understood as enabled gateway, while it only means that it is enabled in the PayPal account.
2023-03-07 09:46:45 +02:00
Emili Castells Guasch
5a230a7669 Allow customer suspend and activate subscription 2023-03-06 16:41:18 +01:00
Alex P
8bfc58f0da
Fix duplicated auth error 2023-03-06 17:07:31 +02:00
Emili Castells Guasch
6400e14874 Add purchase subscription test 2023-03-06 15:10:33 +01:00
Emili Castells
91c39fdef2
Merge pull request #1214 from woocommerce/PCP-1462-order-pay-later
Fix Pay Later on order pay page
2023-03-03 10:59:09 +01:00
Emili Castells Guasch
50b864ba8b Update changelog 2023-03-03 10:48:52 +01:00
Emili Castells Guasch
098ec6f057 Merge branch 'trunk' into PCP-1462-order-pay-later 2023-03-03 10:46:50 +01:00
Emili Castells
1debc92453
Merge pull request #965 from woocommerce/pcp-456-aub-choice
Improve cart subscriptions check and "All products for subscriptions" compatibility
2023-03-03 10:44:03 +01:00
Alex P
7e16b39bbb
Remove shortcodes from description 2023-03-03 09:48:45 +02:00
Emili Castells Guasch
bdc69a6fc6 Fix return subscription plan id 2023-03-02 09:11:17 +01:00
Emili Castells Guasch
62364d1e84 Fix wrong replacements 2023-03-01 16:19:27 +01:00
Emili Castells Guasch
b5e1f1530a Add update subscription (WIP) 2023-03-01 16:12:26 +01:00
Alex P
c08c028471
Make e2e php tests more reliable locally
they were depending on the current shop country and shipping settings
2023-03-01 16:21:46 +02:00
Alex P
33bfc32427
Fix test warnings 2023-03-01 16:20:31 +02:00
Alex P
bff551c13b
Fix service overriding in ModularTestCase
doing it via container does not work because of the bootstrap bug
2023-03-01 16:20:08 +02:00
Alex P
2adc0d57e1
Do not remove mini-cart location for pay later 2023-03-01 16:18:21 +02:00
Alex P
2c1459b6b9
Fix phpcs 2023-03-01 10:23:14 +02:00
Alex P
f7323210f0
Show funding source as payment method 2023-03-01 10:20:04 +02:00
Emili Castells Guasch
8ceb7e0664 Add create subscription e2e test 2023-02-28 17:00:24 +01:00
Emili Castells Guasch
c1d7d30f04 Fix merge conflicts 2023-02-28 11:07:03 +01:00
Emili Castells Guasch
4737f9d203 Merge branch 'trunk' into PCP-591-save-and-display-vaulted-payment-methods-in-woo-commerce-native-endpoint 2023-02-28 10:00:35 +01:00
Emili Castells
43a5b759f2
Merge pull request #1210 from woocommerce/playwright
Add Playwright
2023-02-28 09:55:39 +01:00
Emili Castells Guasch
2b1363671b Add ddev url to env config file 2023-02-28 09:44:44 +01:00
Emili Castells Guasch
9876fc67fa Use ddev exec npx to avoid installing on host 2023-02-27 17:35:23 +01:00
Emili Castells Guasch
d31a9a982b Add ci tag for running non headed tests, add command to package.json 2023-02-27 16:38:49 +01:00
Emili Castells Guasch
e9eba09ebb Use existing e2e environment config file 2023-02-27 11:39:30 +01:00
Alex P
8c1af84204
Refactor settings check 2023-02-27 12:04:43 +02:00
Alex P
f8daa7ff2f
Remove incorrect @throws 2023-02-27 12:04:08 +02:00
Alex P
8950b9ca13
Render pay later message before buttons on order pay page 2023-02-27 12:03:32 +02:00
Alex P
d35fdea592
Fix pay later enabling
It should be enabled only when enabled on the Pay Later tab, also we disabling we can use `paylater` instead of `credit`
2023-02-27 12:02:47 +02:00
Alex P
68b13a480b
Fix script loading logic in pay-now check 2023-02-27 11:33:22 +02:00
Alex P
38a8473e57
Remove redundant method
pay later is not available for mini-cart, and even if we add it we should not implement this check with such confusing naming (location and context)
2023-02-26 15:03:41 +02:00
Alex P
8640d3031d
Fix pay later on order pay page 2023-02-26 15:00:42 +02:00
Emili Castells Guasch
9d460605a8 Add basic tests 2023-02-24 17:22:03 +01:00
Emili Castells Guasch
f174e8b8d6 Move playwright ignores to its own directory 2023-02-24 15:55:04 +01:00
Emili Castells Guasch
a121373be0 Add basic documentation 2023-02-24 15:48:14 +01:00
Emili Castells Guasch
c84d10eb62 Add test dir config 2023-02-24 15:37:35 +01:00
Emili Castells Guasch
fa87e19618 Exclude playwright config file from archive 2023-02-24 15:28:48 +01:00
Emili Castells Guasch
1a0c819434 Update playwright ignore paths 2023-02-24 15:24:53 +01:00
Emili Castells Guasch
0fd45c7fff Add playwright 2023-02-24 15:17:40 +01:00
Emili Castells
68569c93f7
Merge pull request #1193 from woocommerce/PCP-923-ppec-compatibility-layer-does-not-take-over-subscriptions
PPEC compatibility layer does not take over subscriptions (923)
2023-02-23 17:57:35 +01:00
Emili Castells Guasch
ba86f397f2 Update changelog 2023-02-23 17:52:04 +01:00