Commit graph

3448 commits

Author SHA1 Message Date
Alex P
dc119e7978
Do not ignore disabled APMs list in block
Looks like we were overwriting this value removing the previously added disabled APMs (could affect only Venmo currently).
Now adding instead of overwriting everything (there is an array_unique call before outputting).
2023-11-24 18:43:34 +02:00
Pedro Silva
9e0322ba9a
Fix lint 2023-11-24 16:18:15 +00:00
Pedro Silva
f24ec78c28
Code review adjustments. 2023-11-24 15:14:09 +00:00
Pedro Silva
3e468896b6
Merge branch 'trunk' into PCP-1393-update-to-vault-v-3 2023-11-24 13:37:27 +00:00
Niklas Gutberlet
9f5d62e2f2
Merge pull request #1858 from woocommerce/PCP-2273-block-buttons
Render block buttons separately and add block style settings
2023-11-24 14:22:24 +01:00
Pedro Silva
fb1ceeba76
Merge branch 'trunk' into PCP-1393-update-to-vault-v-3
# Conflicts:
#	modules/ppcp-api-client/services.php
#	modules/ppcp-wc-gateway/src/Processor/OrderProcessor.php
#	tests/PHPUnit/WcGateway/Processor/OrderProcessorTest.php
2023-11-24 11:20:15 +00:00
Pedro Silva
a24d2ef87d
Fix ScriptLoading when subscriptions module is disabled. 2023-11-24 10:40:25 +00:00
Pedro Silva
d1b087b90e
Merge pull request #1840 from woocommerce/PCP-2049-place-order-redirect
Allow redirect to PayPal with "Place order" button if smart buttons failed to load (2049)
2023-11-24 09:55:26 +00:00
Pedro Silva
4827fbd455
Merge pull request #1856 from woocommerce/PCP-2328-remove-the-home-location-from-default-enabled-pay-later-messaging-locations
Remove the Home location from default enabled Pay Later messaging locations (2328)
2023-11-24 09:47:14 +00:00
Alex P
9038119618
Fix block editing 2023-11-24 09:56:52 +02:00
Alex P
2c8352fa24
Handle block styling settings hiding 2023-11-23 16:43:20 +02:00
Alex P
f338ef57df
Refactor style settings selectors determination for hiding 2023-11-23 16:42:40 +02:00
Emili Castells Guasch
a068350c98 Fix phpcs 2023-11-23 15:22:07 +01:00
Emili Castells Guasch
892a605219 Fix phpcs 2023-11-23 15:05:43 +01:00
Emili Castells Guasch
dfccf99e71 Fix psalm 2023-11-23 14:58:11 +01:00
Emili Castells Guasch
056cb9fcc2 Fix phpunit 2023-11-23 14:53:47 +01:00
Emili Castells Guasch
687b56d8c0 Add payment method to create order request body data filter 2023-11-23 11:40:21 +01:00
Emili Castells
42f995222d
Merge pull request #1841 from woocommerce/PCP-2312-fatal-error-with-woo-commerce-ship-station-integration-by-woo-commerce-4-3-9
Fix action callback arguments count in ShipStation tracking integration (2312)
2023-11-23 09:24:33 +01:00
Emili Castells
7e6e87cebd
Merge pull request #1855 from woocommerce/PCP-2280-improve-block-theme-support-for-pay-later-messaging
Improve Block Theme support for Pay Later messaging (2280)
2023-11-23 09:23:45 +01:00
Emili Castells
11bdfda8dd
Merge pull request #1850 from woocommerce/PCP-2282-pay-pal-package-tracking-goes-under-order-notes-instead-order-data-when-hpos-is-active
Display Package Tracking metabox below Order actions when HPOS is active (2282)
2023-11-23 09:22:06 +01:00
Alex P
3131dab353
Merge branch 'PCP-2049-place-order-redirect' into PCP-2273-block-buttons 2023-11-23 10:07:05 +02:00
Alex P
ad715bcfb6
Merge branch 'trunk' into PCP-2049-place-order-redirect 2023-11-23 10:06:10 +02:00
Alex P
758bb5da29
Add place order method in block together with express 2023-11-23 09:59:14 +02:00
Alex P
ea35893a82
Fix method id check 2023-11-23 08:46:48 +02:00
Alex P
018ba0de3e
Handle block google/apple buttons height 2023-11-22 17:27:21 +02:00
Alex P
2492957dba
Add block styling settings 2023-11-22 17:25:24 +02:00
Alex P
b014403031
Register/render each express button separately 2023-11-22 17:19:08 +02:00
Alex P
064b6db726
Restore place order button if script loading failed 2023-11-22 16:58:25 +02:00
Alex P
844684b484
Add loadPaypalScript promise wrapper 2023-11-22 16:57:36 +02:00
Emili Castells Guasch
d0e7200669 Add save payment methods for credit card payment 2023-11-22 13:19:28 +01:00
Emili Castells
a72227e60d
Merge pull request #1852 from woocommerce/PCP-2263-enable-block-cart-and-block-express-checkout-button-locations-by-default
enable Block Cart and Block Express Checkout button locations by default (2263)
2023-11-22 10:39:47 +01:00
Alex P
1f2e5f24e1
Remove unneeded variable 2023-11-22 10:23:39 +02:00
Alex P
ba4f46f683
Refactor style retrieval 2023-11-22 10:23:04 +02:00
Pedro Silva
020be490a6
Fix lint 2023-11-21 16:37:45 +00:00
Alex P
a3fec63153
Refactor preview id determination 2023-11-21 17:37:41 +02:00
Emili Castells Guasch
8683b4dd4a Add empty method to avoid js error 2023-11-21 16:22:06 +01:00
Pedro Silva
3e7ebf5db2
Merge branch 'PCP-2263-enable-block-cart-and-block-express-checkout-button-locations-by-default' into PCP-2328-remove-the-home-location-from-default-enabled-pay-later-messaging-locations 2023-11-21 15:08:09 +00:00
Alex P
27768fdeda
Merge branch 'trunk' into PCP-2273-block-buttons 2023-11-21 16:09:10 +02:00
Alex P
240f430393
Refactor separate button style determination 2023-11-21 16:08:51 +02:00
Alex P
e3b3d43d67
Remove unneeded variable 2023-11-21 16:07:52 +02:00
Emili Castells Guasch
a71965b967 Merge trunk 2023-11-21 15:05:45 +01:00
Emili Castells
af638334ae
Merge pull request #1827 from woocommerce/PCP-1771-separate-card-button-style
Add Standard Card Button gateway styling settings & preview (1771)
2023-11-21 15:03:31 +01:00
Emili Castells Guasch
9be6601ba9 Merge trunk 2023-11-21 14:59:46 +01:00
Emili Castells Guasch
5e6efdd3e3 Fix 3DS authentication result 2023-11-21 14:57:55 +01:00
Emili Castells
1713e40120
Merge pull request #1848 from woocommerce/PCP-2327-expand-pay-pal-package-tracking-v-2-to-more-countries
Extend list of supported countries for Package Tracking v2 integration (2327)
2023-11-21 14:33:50 +01:00
Emili Castells
b30435135e
Merge pull request #1843 from woocommerce/PCP-2219-upgrade-to-new-hosted-card-fields
Upgrade to new Hosted Card Fields for Advanced Card Processing (2219)
2023-11-21 14:32:52 +01:00
Pedro Silva
e3276cda69
Fix message rendering on block themes. 2023-11-21 11:55:50 +00:00
Emili Castells Guasch
d6ad402219 Merge branch 'trunk' into PCP-1393-update-to-vault-v-3 2023-11-21 09:44:34 +01:00
Emili Castells Guasch
e7d07d5f12 Remove unused code 2023-11-20 15:03:49 +01:00
Emili Castells Guasch
32f7b4940b Inject either hosted fields or card fields depending on context 2023-11-20 13:23:10 +01:00