Commit graph

109 commits

Author SHA1 Message Date
Daniel Dudzic
1f83cbc108
Fix another batch of typos 2025-03-24 14:14:32 +01:00
Narek Zakarian
83b637cf5e
If free trial is in the product the fundingSource should be only "paypal" 2024-12-13 16:12:27 +04:00
Narek Zakarian
3b85c5037f
Don't show buttons if cart contains free trial product and the stroe is not eligible for saving payment methods. 2024-12-12 19:09:14 +04:00
Emili Castells Guasch
855a9caef6 Move guest free trial conditional at the top of the file 2024-12-04 12:42:41 +01:00
Emili Castells Guasch
ee336293c1 Do not display PayPal button for guest with free trial subscription 2024-12-04 12:16:38 +01:00
Emili Castells Guasch
add776c976 Extract components 2024-12-03 12:27:34 +01:00
Emili Castells Guasch
ed75fd47b1 Merge trunk 2024-11-18 12:59:36 +01:00
Daniel Dudzic
f9a7ce9880
Register support for height and borderRadius controls for the PayPal Express button 2024-10-31 12:14:59 +01:00
Daniel Dudzic
79cdf84618
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3202-retrieve-button-styling-properties-from-woo-commerce-checkout-block-ver-2 2024-10-31 11:39:40 +01:00
Emili Castells
4457dfed12
Merge pull request #2570 from woocommerce/PCP-3535-fix-editor-paypal-buttons-grid
Do not add pay later button in editor (3535)
2024-10-30 11:46:23 +01:00
Alex P.
9b270e5696
Remove unused 2024-10-21 17:34:41 +03:00
Alex P.
18bd00c697
Fix block conditions 2024-10-19 11:21:26 +03:00
inpsyde-maticluznar
82faf9370b
Add paypal icon to the block checkout 2024-10-18 09:47:42 +02:00
Alex P.
d125c24dc0
Use basic redirect gateway when checkout smart buttons disabled 2024-10-18 09:35:02 +03:00
Alex P.
340923089d
Merge branch 'trunk' into PCP-3535-fix-editor-paypal-buttons-grid 2024-10-09 23:21:20 +03:00
Daniel Dudzic
e76c8b257b
Rename the new script loading script 2024-10-08 00:41:30 +02:00
Daniel Dudzic
5e1c2a22d2
Introduce a unified script loader to improve script loading, debugging and prevent conflicts 2024-10-05 02:26:09 +02:00
Emili Castells
b4b574db99
Merge pull request #2636 from woocommerce/PCP-3696-google-pay-has-no-amount
Fix the "0.00" amount in Google Pay for virtual products (3696)
2024-10-04 15:15:30 +02:00
Alex P.
cacd9e5598
Merge branch 'trunk' into PCP-3535-fix-editor-paypal-buttons-grid 2024-10-01 10:44:09 +03:00
Philipp Stracker
c852bc92b5
🐛 Fix express payment error in block cart 2024-09-23 17:14:28 +02:00
Philipp Stracker
5891d80f75
🎨 Code style changes & cleanup
- Remove unused imports
- Use state instead of global window-variable (continuationFilled)
- Apply codestyle rules (spaces, change one let to const)
2024-09-23 13:50:44 +02:00
Alex P.
2675132ded
Fix funding source parameter 2024-09-19 16:42:44 +03:00
Alex P.
bffcf74c1c
Do not add pay later button in editor 2024-09-05 10:45:54 +03:00
Alex Florisca
32aec9a3dd Add text domain to translation string 2024-09-04 14:57:41 +01:00
Alex Florisca
2e974488f0 Add title, description and gatewayId to express payment 2024-09-04 12:27:22 +01:00
Daniel Dudzic
f32fd22842
Remove redundant darkMode code 2024-08-20 07:47:25 -07:00
Daniel Dudzic
5604454650
Remove the console log 2024-08-19 01:19:00 -05:00
Daniel Dudzic
422b609b2c
Add support for buttonAttributes API in the editor 2024-08-19 01:16:20 -05:00
Emili Castells Guasch
7782e79aae
Add buttonAttributes for getting button styles 2024-07-22 14:09:51 +02:00
Narek Zakarian
c199ce1f8b
Add needs shipping to block pages 2024-07-17 16:44:35 +04:00
Narek Zakarian
f643f9e1d7
Return the callback to fix the shipping options update process 2024-07-15 19:20:35 +04:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Danny Dudzic
879831d487
Merge pull request #2390 from woocommerce/PCP-3313-can-not-pay-with-google-pay-from-block-cart-and-block-checkout-page
Google Pay: Fix issuse with data.paymentSource being undefined (3313)
2024-07-08 13:21:18 +02:00
Daniel Dudzic
e1bdc64248
Google Pay: Fix issuse with data.paymentSource being undefined and the shipping allowed boolean being hardcoded 2024-07-03 12:29:29 +02:00
Emili Castells Guasch
a08ce87839 Ensure shipping callback is removed from venmo button 2024-06-28 11:27:34 +02:00
Emili Castells
3aba8d7dea
Merge pull request #2259 from woocommerce/PCP-3136-enable-shipping-callback-for-wc-subscriptions
Enable shipping callback for WC subscriptions (3136)
2024-06-03 14:25:36 +02:00
Narek Zakarian
4967c472e7
Update the shipping option for subscriptions on address change 2024-06-03 15:27:01 +04:00
Emili Castells
336492d63d
Merge pull request #2269 from woocommerce/PCP-3028-disable-shipping-callback-for-venmo-when-vaulting-is-active
Disable the shipping callback for "venmo" when vaulting is active (3028)
2024-06-03 10:34:44 +02:00
Narek Zakarian
2cb76ed8f2
Apply the Venmo + vaulting functionality on block pages 2024-05-31 15:36:32 +04:00
Daniel Dudzic
653a99a242
Fix the Smart Buttons in Block Checkout not respecting the location setting (2830) 2024-05-30 14:44:29 +02:00
Narek Zakarian
aacbb3b3ec
Check for venmo and vaulting for block pages 2024-05-17 00:25:59 +04:00
Daniel Dudzic
85d721abdb
Fix the fundingSource is not defined error on Block Checkout 2024-04-26 16:55:02 +02:00
Daniel Dudzic
4c43482fc4
Checkout block: Remove the erroneous component overide 2024-04-22 16:26:45 +02:00
Daniel Dudzic
2317c90db4
Resolve merge conflict 2024-04-20 19:38:41 +02:00
Emili Castells Guasch
561cafb808 Add variable subscription variation support for cart block page 2024-04-15 11:05:01 +02:00
Daniel Dudzic
7af2162f1c
Sync with trunk 2024-04-10 11:28:51 +02:00
Pedro Silva
4a5b1fbc90
Fix update shipping option in block pages. 2024-04-04 18:11:59 +01:00
Daniel Dudzic
6139f071e5
Block Checkout: Fix the Express Checkout PayPal buttons on the front end 2024-03-29 18:06:00 +01:00
Daniel Dudzic
40e8aa2874
Migrate the PayPal buttons inside of the Express Checkout in the editor to @paypal/react-paypal-js with a unique namespace to avoid conflicts with the Pay Later messaging block 2024-03-29 13:59:35 +01:00
Pedro Silva
47c9223d9b
Fix block shipping address handlers. 2024-03-19 14:05:30 +00:00