Commit graph

310 commits

Author SHA1 Message Date
Alex P
d40d01a4f4
Add API for easy programmatic capture 2023-03-17 10:19:56 +02:00
Alex P
b798ccc0e9
Store container in a globally accessible field
needed for providing API
2023-03-16 21:12:34 +02:00
Alex P
cc21dd78e7
Fix tests, add http redirector 2023-03-16 18:13:41 +02:00
Emili Castells
e332e62105
Merge pull request #1221 from woocommerce/PCP-1479-paylater-minicart
Allow Pay Later in mini-cart
2023-03-16 15:13:57 +01:00
Emili Castells
1b27a27313
Merge pull request #1226 from woocommerce/PCP-1482-remove-shortcode
Remove shortcodes from description
2023-03-16 15:13:27 +01:00
Emili Castells
cbf64f5cb9
Merge pull request #1220 from woocommerce/PCP-259-log-payment-method
Show funding source as payment method
2023-03-16 15:12:27 +01:00
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
7e16b39bbb
Remove shortcodes from description 2023-03-03 09:48:45 +02: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
f7323210f0
Show funding source as payment method 2023-03-01 10:20:04 +02: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
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
0fd45c7fff Add playwright 2023-02-24 15:17:40 +01:00
Alex P
3439f67ec9
Do not send buyer-country for previews in live mode to avoid error 2023-02-14 11:25:23 +02:00
Alex P
50560a96c4
Add tests 2023-02-07 15:30:59 +02:00
emilicastells
9055c702e7
Fix merge conflicts 2023-01-17 15:03:20 +01:00
Emili Castells
d4187854de
Merge pull request #1029 from woocommerce/PCP-951-could-not-retrieve-order
Could not retrieve order error (951)
2023-01-11 09:55:34 +01:00
Alex P
2f6240bfb4
Do not send Paypal-Request-Id
The current usage is incorrect and only causes issues without solving any problems (we don't implement any way to retry requests).
2022-12-15 12:37:52 +02:00
Narek Zakarian
e8c59d98b4
fix tests 2022-11-29 19:53:32 +04:00
Narek Zakarian
50e18c1518
Add FraudNet header when creating order. 2022-11-29 19:31:58 +04:00
emilicastells
e6ef177a65
Fix phpunit 2022-11-29 11:01:03 +01:00
emilicastells
598542ee9e
Fix phpunit 2022-11-21 12:31:29 +01:00
Narek Zakarian
2775f7dd9d Disable funding soures for Pay Later preview 2022-11-17 16:58:58 +04:00
Emili Castells
e67b4225d3
Merge pull request #962 from woocommerce/PCP-915-create-pay-later-tab
Create the pay later tab
2022-11-15 11:53:37 +01:00
Narek Zakarian
629292c85a Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-11-15 14:40:23 +04:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02:00
Narek Zakarian
9ecf3c8a09 Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab 2022-11-15 14:32:53 +04:00
Narek Zakarian
fb43730ddb Fix tests 2022-11-10 15:18:57 +04:00
Narek Zakarian
e189325766 Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-button/services.php
2022-11-09 19:16:59 +04:00
Alex P
aae6f3dd1d Fix typehint 2022-11-09 16:09:38 +02:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
dinamiko
df38a3bb85 Fix phpunit 2022-11-07 15:56:37 +01:00
Emili Castells
b420ec4d22
Merge pull request #937 from woocommerce/PCP-736-1-9-0-test-5-missing-pui-refund-functionality-from-wc-order
Missing PUI refund functionality from WC order (736)
2022-11-02 17:04:03 +01:00
Emili Castells
0c756c0667
Merge pull request #938 from woocommerce/PCP-946-multiple-php-warnings-php-8
Multiple PHP warnings (PHP8)
2022-11-02 16:44:36 +01:00
Emili Castells
8bc53bf3cf
Merge pull request #922 from woocommerce/PCP-937-php-8.1-support
PHP 8.1 support
2022-11-02 16:39:06 +01:00
Emili Castells
933cede8d6
Merge pull request #933 from woocommerce/PCP-954-compatibility-with-wc-high-performance-order-storage
Compatibility with WC High-Performance Order Storage
2022-11-02 16:34:58 +01:00
Emili Castells
77e18ea2b3
Merge pull request #942 from woocommerce/pcp-817-validation
Execute server-side WC validation when clicking button
2022-11-02 16:31:30 +01:00
Narek Zakarian
156acbf32c Fix the tests 2022-11-02 19:06:17 +04:00
Alex P
91636a9dcc Execute server-side WC validation when clicking button (order creation) 2022-10-27 09:55:25 +03:00
dinamiko
f688ccdff0 Fix php8 warnings 2022-10-25 16:16:48 +02:00
dinamiko
37b20fa896 Fix phpunit 2022-10-25 12:07:01 +02:00
dinamiko
6d2c08b46a Fix phpunit 2022-10-24 12:44:34 +02:00
Alex P
ab618b200e Add button preview in settings 2022-10-21 17:56:48 +03:00
dinamiko
f66c2322fd Fix phpunit 2022-10-21 12:25:22 +02:00