Commit graph

309 commits

Author SHA1 Message Date
Alex P
8efa0e6da3
Fix pay now button
not sure if the action parameter in order creation request affects anything, but the docs say that it should match the js sdk commit parameter
2023-04-24 08:15:22 +03:00
Alex P
6049f8b396
Merge branch 'trunk' into pcp-157-blocks 2023-04-17 17:12:44 +03:00
Alex P
ae978771c0
Add missing stub 2023-04-17 14:30:55 +03:00
Alex P
3c557907f2
Refresh checkout totals after validation if needed
Refreshing the totals the same way as WC does this.
2023-04-04 11:35:16 +03:00
Alex P
2a0fa49800
Merge branch 'trunk' into pcp-157-blocks 2023-03-22 23:23:06 +02:00
Alex P
6a882bb628
Merge branch 'trunk' into pcp-157-blocks 2023-03-17 21:31:39 +02:00
Alex P
e5c9ef86a3
Merge branch 'trunk' into PCP-506-api 2023-03-17 17:23:47 +02:00
Alex P
7a994f8d28
Do not save refund id after ppcp_refund_order 2023-03-17 17:23:33 +02:00
Alex P
7e64f81c19
Fix credentials change check for redirect 2023-03-17 16:22:04 +02:00
Alex P
fa0afe381a
Merge branch 'trunk' into pcp-157-blocks 2023-03-17 15:53:53 +02:00
Alex P
5dce62fa78
Add API for refunding and voiding orders 2023-03-17 11:44:28 +02:00
Alex P
70d9cfbea0
Add API for retrieving paypal order 2023-03-17 11:40:02 +02:00
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
25b13e4467
Merge branch 'trunk' into pcp-157-blocks 2023-03-14 09:24:06 +02: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
70c48762fa
Merge branch 'trunk' into pcp-157-blocks 2023-02-15 11:38:31 +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
Alex P
0bf18d67c5
Pass user_action 2023-01-11 17:45:09 +02: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