Pedro Silva
c2946b0516
Revert unneeded changes.
2024-01-03 11:18:30 +00:00
Pedro Silva
282d1a73e0
Rollback button early validation and add support for Credit Card Gateway.
2024-01-03 11:13:01 +00:00
Pedro Silva
00dfa6122b
Add translations to Card Fields inputs and labelds.
2023-12-22 17:47:03 +00:00
Pedro Silva
a37594643a
Add Basic Checkout Validation and Early Checkout Validation to Card Fields
2023-12-22 16:02:00 +00:00
Pedro Silva
56952abc7d
Fix refresh buttons on show/hide events
2023-12-21 18:15:59 +00:00
Pedro Silva
e04f76d078
Add mnin margin to buttons.
2023-12-21 17:46:07 +00:00
Alex P
f4ac4401c1
Do no load messaging (or paypal sdk) when disabled in settings
2023-12-20 15:18:39 +02:00
Alex P
1962823eb3
Split is_pay_later_messaging_enabled
2023-12-20 15:17:07 +02:00
Alex P
a87eba2044
Use cart amount on any page
2023-12-20 15:04:09 +02:00
Alex P
231636cbcc
Fix .messages access
2023-12-20 10:27:45 +02:00
Alex P
c83975f293
Merge branch 'trunk' into PCP-1486-paylater-block
2023-12-20 09:00:57 +02:00
Alex P
340704756b
Do not render paylater block if module disabled
2023-12-20 09:00:16 +02:00
Alex P
22e908ff25
Fix context check
2023-12-20 08:59:47 +02:00
Pedro Silva
5837d65b18
Merge branch 'trunk' into modularity-full-migration
...
# Conflicts:
# modules/ppcp-blocks/src/BlocksModule.php
2023-12-19 10:28:47 +00:00
Emili Castells
26cff0154b
Merge pull request #1908 from woocommerce/PCP-2468-incorrect-margins-when-pay-pal-buttons-are-rendered-as-separate-gateways
...
Incorrect margins when PayPal buttons are rendered as separate gateways. (2468)
2023-12-18 14:58:01 +01:00
Emili Castells
cceb057ed1
Merge pull request #1910 from woocommerce/PCP-2471-hosted-card-fields-payment-not-possible-when-vaulting-is-active-and-user-does-not-have-a-saved-payment-method
...
Hosted card fields payment not possible when Vaulting is active and user does not have a saved payment method (2466)
2023-12-18 14:52:43 +01:00
Emili Castells
2c4767a55b
Merge pull request #1903 from woocommerce/PCP-1393-acdc-save-payment-for-purchase-later
...
Save cards for purchase later (1393)
2023-12-18 11:56:33 +01:00
Emili Castells Guasch
d68dc62160
Ensure input element exist before getting value
2023-12-18 11:33:03 +01:00
Pedro Silva
68f7fe6771
Fix default button margins.
2023-12-15 18:07:55 +00:00
Pedro Silva
83a53ee223
Fix button margins on separate gateways
2023-12-15 17:11:16 +00:00
Pedro Silva
144474169b
Refactor some modules to native modularity support.
2023-12-15 14:16:53 +00:00
Pedro Silva
7c98f1dcd4
Add checkout form validation to subscriptions.
2023-12-15 08:36:46 +00:00
Emili Castells
6491146ee0
Merge pull request #1894 from woocommerce/PCP-2387-support-for-classic-checkout-block
...
Support for Classic Checkout Block (2387)
2023-12-14 09:57:21 +01:00
Alex P
c8632e3826
Update paylater amount in block cart/checkout
2023-12-13 21:42:23 +02:00
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