Commit graph

825 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
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
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
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
Alex P
ba4f46f683
Refactor style retrieval 2023-11-22 10:23:04 +02: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
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
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
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
Emili Castells Guasch
7502438d0c Add styles to fields 2023-11-15 16:32:46 +01:00
Emili Castells Guasch
5112e75552 Add styles to fields 2023-11-15 16:18:39 +01:00
Emili Castells Guasch
8fc4833503 Add styles to fields 2023-11-15 15:43:15 +01:00
Emili Castells Guasch
8d9e32baeb Add filter for rendering cardholder name field 2023-11-15 12:33:07 +01:00
Emili Castells
aec5e6431c
Merge pull request #1832 from woocommerce/PCP-2158-apple-pay-use-checkout-form-data-to-update-shipping-and-billing
ApplePay use checkout form data to update shipping and billing (2158)
2023-11-15 12:02:57 +01:00
Alex P
c71e312f18
Add filters for place order button mode and text replacement script 2023-11-15 09:44:26 +02:00
Emili Castells Guasch
adbb799be4 Add cardholder name field 2023-11-14 16:24:02 +01:00
Emili Castells Guasch
4d56994901 Hide spinner on card fields loaded 2023-11-14 12:00:26 +01:00
Pedro Silva
24f98cd038
Disabled GooglePay and ApplePay on locations with subsciption products. 2023-11-13 17:36:18 +00:00
Emili Castells Guasch
b2a8c607af Add error handling (WIP) 2023-11-13 17:03:04 +01:00
Emili Castells Guasch
822485f782 Add card fields without custom styles for now 2023-11-13 16:03:18 +01:00
Emili Castells Guasch
692d3672c4 Add card fields (WIP) 2023-11-10 11:20:28 +01:00
Pedro Silva
2f5f51e518
Uniformize ApplePay javascript coding style.
Add support for checkout form data to ApplePay.
Add checkout shipping mode option in ApplePay settings.
2023-11-09 17:50:57 +00:00
Alex P
47728a78ff
Add style settings for card button 2023-11-08 08:39:53 +02:00
Alex P
9bd9b2ede3
Refactor style retrieval 2023-11-08 08:17:25 +02:00
Pedro Silva
d49eb60358
Testing shipping fields updating ApplePay addresses on checkout page 2023-11-06 10:15:56 +00:00
Pedro Silva
32e2fb5a43
Merge branch 'trunk' into PCP-2172-order-failed-after-changing-shipping-options-on-apple-pay-window-product-page 2023-11-03 10:28:37 +00:00
Emili Castells
c051e8ddc0
Merge pull request #1807 from woocommerce/PCP-2173-fix-cart-paylater
Pay Later messaging disappears when updating shipping option on cart page
2023-11-03 10:51:22 +01:00
Emili Castells
2c2d8106d9
Merge pull request #1814 from woocommerce/PCP-2128-order-page-messages
Display Pay Later messages before the payment methods on the Pay for Order page (2128)
2023-11-03 10:48:04 +01:00
Narek Zakarian
7e05be3076
Add filter to change the smart button locale 2023-11-01 19:47:58 +04:00
Pedro Silva
d9a93a0cce
Merge branch 'trunk' into PCP-2172-order-failed-after-changing-shipping-options-on-apple-pay-window-product-page 2023-10-31 15:05:30 +00:00
Narek Zakarian
21c8ba99af
Remove locale param 2023-10-31 18:16:21 +04:00
Narek Zakarian
3aa81bd144
Locale is now saved in DB 2023-10-31 18:03:55 +04:00
Narek Zakarian
e3fbadf419
Merge branch 'trunk' into PCP-190-override-language-used-to-display-PayPal-buttons
# Conflicts:
#	modules/ppcp-button/services.php
#	modules/ppcp-button/src/Assets/SmartButton.php
#	modules/ppcp-wc-gateway/services.php
2023-10-31 15:19:44 +04:00
Emili Castells
44eb7615a4
Merge pull request #1809 from woocommerce/PCP-2178-paylater-category
Show Shop Pay Later messages on product category page
2023-10-31 10:46:32 +01:00
Alex P
2cac44d473
Fix psalm 2023-10-31 11:42:49 +02:00
Alex P
f535e70cb1
Move messages via js on pay order page 2023-10-31 11:42:35 +02:00
Alex P
9fdcef4b0d
Add before/after message wrapper hooks 2023-10-31 11:32:19 +02:00
Alex P
35be33a0cb
Refactor location to hook conversion 2023-10-31 11:31:25 +02:00
Pedro Silva
5d885809f7
Fix product page orders considering shipping costs 2023-10-30 14:27:42 +00:00
Alex P
93b39f9bb3
Show Shop Pay Later messages on product category page 2023-10-30 16:16:49 +02:00
Alex P
2591e4cbdf
Fix is_cart() check in ajax cart totals refresh 2023-10-30 10:10:03 +02:00
Pedro Silva
46b47dc97b
Fix lint and tests 2023-10-26 10:58:05 +01:00