Commit graph

4811 commits

Author SHA1 Message Date
Emili Castells Guasch
cd8564d81e Pass save payment method checkbox value 2023-11-27 16:00:12 +01:00
Emili Castells Guasch
7a8650dbfa Add filter to disable card custom fields render 2023-11-27 12:48:10 +01:00
Emili Castells Guasch
2bb783f58c No need for checking null 2023-11-27 11:54:50 +01:00
Emili Castells Guasch
f94273c477 Check if payment source is not null 2023-11-27 11:40:36 +01:00
Emili Castells Guasch
7832d7f9ac Ensure customer and token id exist on PayPal order before creating payment token 2023-11-27 11:10:08 +01:00
Emili Castells Guasch
8fafff915d Fix phpunit 2023-11-27 11:04:40 +01:00
Emili Castells Guasch
87dd2c1bfc Just remove the to_array part 2023-11-27 11:01:47 +01:00
Emili Castells Guasch
c5a90d8ca3 Revert commit as payment_source is needed for creating the vaulted payment 2023-11-27 10:58:49 +01:00
Emili Castells Guasch
90c364cb60 Revert "Delete payment source from order to array"
This reverts commit 503d7cfc05.
2023-11-27 10:57:38 +01:00
Emili Castells Guasch
503d7cfc05 Delete payment source from order to array 2023-11-27 09:47:10 +01: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
Pedro Silva
eaf56c7b6a
Merge branch 'trunk' into PCP-2328-remove-the-home-location-from-default-enabled-pay-later-messaging-locations 2023-11-22 10:05:56 +00: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