Commit graph

2175 commits

Author SHA1 Message Date
Emili Castells
5cd439fa20
Merge pull request #633 from woocommerce/pcp-615-invalid-address
Retry without shipping field when got invalid address error
2022-05-17 12:53:00 +02:00
Emili Castells
c6cc94f5ec
Merge pull request #625 from woocommerce/PCP-660-mini-cart-smart-buttons-visible-with-subscription-product
Move the subscription product in cart existence and the vaulting enabled check into the callbacks.
2022-05-17 11:05:18 +02:00
dinamiko
f20b539df9 Merge trunk and fix conflicts 2022-05-17 10:59:39 +02:00
Emili Castells
486fe96a3e
Merge pull request #617 from woocommerce/PCP-647-fraud-prevention-function
Add Fraud Processor Response as an order note.
2022-05-17 10:46:20 +02:00
Emili Castells
63c8cb8851
Merge pull request #609 from woocommerce/PCP-608-add-the-paypal-fee-to-the-custom-fields
Add "PayPal Transaction Key" into order custom fields.
2022-05-17 10:45:42 +02:00
Emili Castells
fc31202305
Merge pull request #607 from woocommerce/PCP-632-smart-buttons-not-loading
Fix the button render logic when free product is in cart.
2022-05-17 10:45:09 +02:00
Emili Castells
125150ac58
Merge pull request #578 from woocommerce/PCP-616-disabling-paypal-checkout-on-removes-buttons-from-cart
Unset the gateway only on checkout page
2022-05-17 10:44:27 +02:00
Emili Castells
4ec36a8547
Merge pull request #621 from woocommerce/pcp-440-fix-partial-refunds
Fix duplicated partial refunds
2022-05-17 10:43:39 +02:00
Emili Castells
72af7261a2
Merge pull request #649 from woocommerce/ddev-use-wp-version
Download the specified WP version in DDEV
2022-05-16 15:52:15 +02:00
Alex P
a4bf56021d Download the specified WP version in DDEV
This parameter was not passed to wp core download
2022-05-16 16:49:09 +03:00
Alex P
d63f89a4a2 Retry without shipping field when got invalid address error 2022-05-16 15:12:40 +03:00
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
c7801bc734
Merge pull request #638 from woocommerce/rm-docker
Remove previous docker setup
2022-05-11 12:50:56 +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
leonardo lopes de albuquerque
e6775ce3fe
Merge pull request #353 from helgatheviking/issues/234-supports 2022-05-10 10:05:59 -03: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
Alex P
26f11a6e5e Remove previous docker setup 2022-05-09 13:53:24 +03: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
Alex P
7e121c6a4a Update dev env docs 2022-05-09 11:32:24 +03: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
Narek Zakarian
d3b8e04135
Update CartBootstap.js 2022-05-04 15:34:19 +04:00
Brian Yu
00cfa973e6
Merge pull request #628 from woocommerce/version_bump/1.8.0
Add date for 1.8.0 release
2022-05-03 14:38:12 -04:00
Brian Yu
450aeadd8e Add date for 1.8.0 release 2022-05-03 14:32:56 -04:00
Alex P
dd4b39971f Remove duplicated variable 2022-05-03 16:14:22 +03:00
Narek Zakarian
c4f5d7a139 Move the subscription cart check into the callbacks.
The subscription product in cart existence and the vaulting enabled check should be called inside the button renderer hook callback so that the mini-cart ajax refresh will take it into the consideration.
2022-05-02 17:48:14 +04:00
Alex P
93ef548b65 Fix psalm errors 2022-04-28 16:20:30 +03:00
Alex P
35f058870a Skip already handled refunds in webhook
When we add a refund from WC, we still receive a webhook with it. And for some partial refunds the duplicated refund can be added in WC.
2022-04-28 16:20:05 +03:00
Alex P
13e04b009c Fix const name 2022-04-27 23:50:23 +03:00
Emili Castells
6ebd88230b
Merge pull request #619 from woocommerce/pcp-646-vaulting-errors
Show free trial vaulting errors
2022-04-27 17:29:49 +02:00
Emili Castells
4d65c80494
Merge pull request #615 from woocommerce/pcp-650-free-trial-fix-dcc
Fix DCC with free trial
2022-04-27 17:28:33 +02:00
Alex P
e72b80ae72 Show error if PayPal already vaulted for another WC customer 2022-04-27 10:45:05 +03:00
Alex P
b2e5a80f3f Show error message when vaulting approval fails 2022-04-27 10:39:54 +03:00
Narek Zakarian
d148a1bf9a Adjust API client services to support fraud response. 2022-04-25 19:17:13 +04:00
Narek Zakarian
fd77690d46 Include fraud response in order capture. 2022-04-25 19:16:09 +04:00
Narek Zakarian
4c1695788f Create Fraud processor response and it's factory. 2022-04-25 19:14:21 +04:00
Alex P
4a4f131325 Handle card smart button for free trial (1$ auth + void)
Disabling this funding source also disables DCC
2022-04-25 15:24:37 +03:00
Alex P
a5191b04ff Do not disable card funding source for free trial if DCC enabled
Otherwise DCC gateway gets disabled (paypal.HostedFields.isEligible() becomes false)
2022-04-25 15:13:46 +03:00
Emili Castells
1c92a56e69
Merge pull request #612 from woocommerce/PCP-648-pre-release-1.8.0-disabling-dcc-
Do not set PayPal gateway enabled on credit card gateway
2022-04-21 15:23:32 +02:00
dinamiko
36151c8296 Do not set PayPal gateway enabled on credit card gateway 2022-04-21 15:19:08 +02:00
Emili Castells
7c2b36b045
Merge pull request #611 from woocommerce/revert-pcp-478
Revert self redirect after updating DDC settings
2022-04-21 11:44:06 +02:00
dinamiko
ca0aa6145c Revert change 2022-04-21 11:20:47 +02:00
Narek Zakarian
de855042a0 Add "PayPal Transaction Key" into order custom fields. 2022-04-20 19:51:26 +04:00