Commit graph

2442 commits

Author SHA1 Message Date
Emili Castells
c3887bec7a
Merge pull request #646 from woocommerce/refactor-filter
Refactor product_supports_payment_request_button filter
2022-05-12 09:23:02 +02:00
Alex P
f7d0f60ca7 Ignore wrong psalm error
https://github.com/php-stubs/wordpress-stubs/issues/2
2022-05-11 18:21:35 +03:00
Alex P
fc3ba70d4b Extract filter to a function 2022-05-11 18:16:50 +03:00
Emili Castells
956061b163
Merge pull request #640 from woocommerce/PCP-657-1.9.0-test1-can-checkout-with-an
[PUI] can checkout with any date as birth date (657)
2022-05-11 16:50:21 +02:00
dinamiko
1baa66a955 Merge PCP-417-new-feature---pay-upon-invoice 2022-05-11 16:45:49 +02:00
dinamiko
73cc313c4c Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-05-11 16:31:38 +02:00
dinamiko
5bf95fbca3 Get session id from request when page is pay for order 2022-05-11 16:11:05 +02:00
Emili Castells
c7801bc734
Merge pull request #638 from woocommerce/rm-docker
Remove previous docker setup
2022-05-11 12:50:56 +02:00
dinamiko
564caa418c Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-05-11 12:49:32 +02:00
dinamiko
30d17b2a0a Check if product contains virtual or downloable variation 2022-05-11 12:07:11 +02:00
dinamiko
00b40dc6de Do not hide pui gateway on pay for order page 2022-05-11 11:31:27 +02:00
Emili Castells
295fbb1785
Merge pull request #645 from woocommerce/fix-ddev-start-permissions
Create wordpress directory during ddev start
2022-05-11 10:50:30 +02:00
Alex P
34fdae6bd5 Create wordpress directory during ddev start
Otherwise it will be created automatically with wrong permissions
2022-05-11 11:37:54 +03:00
dinamiko
ff2ff8d31f Update pui error notice 2022-05-11 10:37:16 +02:00
dinamiko
995cd43839 Do not enable pui gateway if customer service instructions is empty 2022-05-11 10:11:13 +02:00
Narek Zakarian
ab0e90dab0 Store order info in wc order meta to get if there is no session. 2022-05-10 18:46:40 +04:00
leonardo lopes de albuquerque
e6775ce3fe
Merge pull request #353 from helgatheviking/issues/234-supports 2022-05-10 10:05:59 -03:00
Emili Castells
8f84087b41
Merge pull request #637 from woocommerce/PCP-683-hide-pui-gateway-whe
Hide PUI gateway when merchant account not being enabled for PUI (683)
2022-05-10 14:10:47 +02:00
dinamiko
b9dc98eefc Make pui error translatable 2022-05-10 12:42:41 +02:00
dinamiko
b7413b9adf Remove unnecesary throw docblock 2022-05-10 12:33:50 +02:00
dinamiko
235c9c8281 Fix psalm 2022-05-10 12:18:18 +02:00
dinamiko
c77cab9cbe Validate birth date 2022-05-10 11:59:24 +02:00
dinamiko
5911e09310 validate birth date (WIP) 2022-05-10 10:25:06 +02:00
helgatheviking
0052aacbbc Rename new filter to woocommerce_paypal_payments_product_supports_payment_request_button to avoid abbreviates 2022-05-09 13:19:32 -06:00
dinamiko
bc3d025f2d Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-05-09 14:57:16 +02:00
Alex P
26f11a6e5e Remove previous docker setup 2022-05-09 13:53:24 +03:00
dinamiko
e5008603c9 Fix phpcs 2022-05-09 11:53:30 +02:00
dinamiko
ac6361e2ce Fix phpcs 2022-05-09 11:46:22 +02:00
dinamiko
723206ff70 Fix error requiring dcc product status 2022-05-09 10:51:50 +02:00
dinamiko
5c3881a247 Fix error requiring dcc product status 2022-05-09 10:48:19 +02:00
Emili Castells
f78dfac648
Merge pull request #634 from woocommerce/ddev
Use DDEV instead of custom Docker setup
2022-05-09 10:38:52 +02:00
dinamiko
f2284d49f5 Fix psalm 2022-05-09 10:36:38 +02:00
Alex P
7e121c6a4a Update dev env docs 2022-05-09 11:32:24 +03:00
dinamiko
49bc0f255c Check seller product status for pui (WIP) 2022-05-06 17:03:10 +02:00
Narek Zakarian
199b18c7f3 Fix the psalm error about no return type. 2022-05-06 18:22:58 +04:00
Narek Zakarian
5965cc4bde Enable the "pay later" on card page when card page is updated. 2022-05-06 18:22:11 +04:00
Narek Zakarian
6ac84bc801 Merge branch 'PCP-632-smart-buttons-not-loading' into PCP-163-pay-later-message-bug 2022-05-06 17:34:13 +04:00
Alex P
a87a9dcab5 Exclude .ddev from package 2022-05-06 11:34:58 +03:00
Alex P
b84177b61c Simplify ddev .htaccess handling 2022-05-06 10:44:07 +03:00
Alex P
29aff60d27 Fix PHP_IDE_CONFIG 2022-05-06 10:19:42 +03:00
Alex P
074f1f68f7 Support multisite in ddev 2022-05-06 09:35:14 +03:00
Alex P
6dc0a995f6 Add ddev ngrok wrapper 2022-05-05 18:37:46 +03:00
Alex P
df6e784d29 Add DDEV 2022-05-05 16:29:18 +03:00
dinamiko
bc612dbb12 Add product type check for pui checkout 2022-05-04 16:59:20 +02:00
Emili Castells
c3b642e964
Merge pull request #631 from woocommerce/PCP-665-1.9.0-test1-pui-gateway-visible-
PUI gateway visible when checkout currency or order total are not supported
2022-05-04 16:38:50 +02:00
dinamiko
59551701e7 Use cart get_total and cast it as float 2022-05-04 16:35:23 +02:00
dinamiko
8e17e35987 Fix phpunit 2022-05-04 16:27:56 +02:00
dinamiko
7e57c2ccc3 Update transaction id 2022-05-04 16:04:02 +02:00
dinamiko
0cedfffe73 Fix phpunit 2022-05-04 15:24:24 +02:00
dinamiko
eb2eb58a1c Update transaction id 2022-05-04 15:06:17 +02:00