Commit graph

294 commits

Author SHA1 Message Date
Alex P
d40d01a4f4
Add API for easy programmatic capture 2023-03-17 10:19:56 +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
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
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
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
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
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
dinamiko
6a5cc5d129 Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-16 11:04:45 +02:00
dinamiko
e4e968a823 Fix merge conflict 2022-09-14 12:22:46 +02:00
Narek Zakarian
bd3d886250 Cache the DCC status PayPal response. 2022-09-13 18:26:02 +04:00
Narek Zakarian
cbba252be7 Fix PHPunit tests 2022-09-13 16:12:28 +04:00
dinamiko
85ad002937 Fix phpunit 2022-09-02 14:09:51 +02:00
dinamiko
f5fa440f5d Update changelog, skip failing testing for now 2022-08-31 17:20:54 +02:00
Narek Zakarian
9b63ab0b91 Merge remote-tracking branch 'origin/trunk' into PCP-155-tracking-api
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
#	modules/ppcp-wc-gateway/src/Helper/PayUponInvoiceHelper.php
#	tests/PHPUnit/WcGateway/Helper/PayUponInvoiceHelperTest.php
2022-08-17 17:11:20 +04:00
Narek Zakarian
48e4590d98 fix tests 2022-08-17 15:31:38 +04:00
Narek Zakarian
10da1f8067 method to check if PUI is ready in admin screen 2022-08-12 16:50:05 +04:00
dinamiko
76a81b535b Get payer from order instead of customer 2022-08-12 10:38:42 +02:00
dinamiko
0e24b1d0f8 Add unit tests for vaulted card handler 2022-08-12 09:57:47 +02:00