Commit graph

1068 commits

Author SHA1 Message Date
Emili Castells Guasch
6c3f648e95 Add redirect to payment methods page and handle error message 2023-12-13 12:24:04 +01:00
Alex P
93997fac7e
Fix messages check in editor 2023-12-13 08:34:07 +02:00
Emili Castells Guasch
a1dfb52cbb Add card fields payment method (WIP) 2023-12-12 12:23:47 +01:00
Pedro Silva
c59f6de143
Fix ApmButton margin condition. 2023-12-12 10:18:28 +00:00
Alex P
5ab6d3b27d
Do not fail script loading if no script_attributes or data_client_id 2023-12-12 10:57:31 +02:00
Alex P
6d450d587f
Always include buttons and messages components when in editor 2023-12-12 10:55:23 +02:00
Pedro Silva
ec0dd5221d
Adjustments to apm button layouts. 2023-12-11 17:14:43 +00:00
Alex P
2985687b4e
Fix block errors when not onboarded 2023-12-08 15:01:14 +02:00
Pedro Silva
46c575a401
Fix apm button styling 2023-12-07 18:20:58 +00:00
Alex P
ee1e6538dc
Set placement 2023-12-07 08:15:05 +02:00
Alex P
baa3afeb9b
Render pay later blocks 2023-12-06 17:31:56 +02:00
Pedro Silva
52f3f38135
Add filter to disable classic checkout/cart block compatibility. 2023-12-06 10:23:37 +00:00
Pedro Silva
7f5454dcdb
Fix buttons on classic checkout and cart blocks. 2023-12-05 17:57:07 +00:00
Emili Castells Guasch
bf0b549292 Fix psalm 2023-12-05 09:45:40 +01:00
Emili Castells Guasch
29669b501a Add context for add payment method 2023-12-05 09:34:34 +01:00
Emili Castells Guasch
92a574f4fa Add pay with save payment method (WIP) 2023-11-29 17:29:20 +01:00
Emili Castells Guasch
5811b5f60d Merge branch 'PCP-1393-update-to-vault-v-3' into PCP-1393-acdc-vault-v3 2023-11-28 12:05:08 +01:00
Emili Castells Guasch
9e87e93985 Merge branch 'trunk' into PCP-1393-update-to-vault-v-3 2023-11-28 12:03:51 +01:00
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
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
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
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
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
Alex P
ad715bcfb6
Merge branch 'trunk' into PCP-2049-place-order-redirect 2023-11-23 10:06:10 +02:00
Alex P
2492957dba
Add block styling settings 2023-11-22 17:25:24 +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
Alex P
ba4f46f683
Refactor style retrieval 2023-11-22 10:23:04 +02:00
Emili Castells Guasch
8683b4dd4a Add empty method to avoid js error 2023-11-21 16:22:06 +01: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
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
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
Alex P
91c6e55f3d
Replace place order text via WC_Gateway 2023-11-16 09:41:17 +02:00