Commit graph

267 commits

Author SHA1 Message Date
Emili Castells Guasch
38f7355db1
Merge branch 'trunk' into PCP-4974-contact-module-virtual-product-from-block-pages-and-classic-checkout-always-return-default-contact-information-from-pay-pal-window 2025-08-06 12:22:18 +02:00
Niklas Gutberlet
4a985fcb2c
Merge pull request #3505 from woocommerce/PCP-4970-add-defensive-code-for-realpath-failures-in-module-service-files
Create a centralized service for a path to the main plugin file (4970)
2025-08-04 19:42:12 +02:00
Niklas Gutberlet
22a207913b
Merge pull request #3542 from woocommerce/PCP-5007-google-pay-transaction-isnt-possible-from-express-checkout-and-block-cart
Fix Google Pay transaction from block pages (5007)
2025-08-04 19:23:18 +02:00
Niklas Gutberlet
206804cab0
Merge pull request #3527 from woocommerce/PCP-4999-pay-pal-configuration-description-logo-not-working-as-expected
Fix empty description handling and logo display for PayPal gateway (4999)
2025-08-04 19:22:40 +02:00
Emili Castells Guasch
416ce86973
Ensure shipping address exist before using it 2025-07-25 15:21:20 +02:00
Himad M
0385aad301
Add optional chaining to address properties 2025-07-23 16:32:22 -04:00
Narek Zakarian
8fccfd637f
Add check for payer 2025-07-21 18:38:03 +04:00
Narek Zakarian
086fe17983
Add check for purchase_units 2025-07-21 18:37:53 +04:00
Himad M
4acdda7cd8
Add feature flag for AppSwitch 2025-07-15 11:25:57 -04:00
Daniel Dudzic
3ba91e8f44
🐛 Fix the empty description for the block checkout 2025-07-14 20:30:17 +02:00
Emili Castells Guasch
e11f3c2a9a
Merge trunk 2025-07-14 12:22:49 +02:00
Emili Castells Guasch
0246904213
Fix undefined purchase units error 2025-07-09 15:00:52 +02:00
Himad M
81a944aba8
Expose final review setting, adjust enableAppSwitch logic 2025-07-08 11:55:50 -04:00
Narek Zakarian
943a0d197c
Use the 'ppcp.path-to-plugin-main-file' config 2025-07-04 19:27:13 +04:00
Narek Zakarian
0caa74c021
Refactor the code to use the new service 2025-07-04 17:10:37 +04:00
Himad M
d5c20da022
Enable AppSwitch on PayPal blocks 2025-07-03 22:55:49 -04:00
Alex P.
7f18304c14
Fix feature flag check 2025-06-20 16:02:00 +03:00
Alex P.
60d4ea2208
Enable server-side callback via feature flag 2025-06-20 15:14:11 +03:00
Alex P.
6691ee5a21
Use shipping callback 2025-06-20 10:43:52 +03:00
Emili Castells Guasch
318f0b2c12
Fix useEffect dependency 2025-05-09 09:33:59 +02:00
Daniel Dudzic
9fb76a966a
Fix another batch of typos 2025-03-24 14:18:58 +01:00
Daniel Dudzic
1f83cbc108
Fix another batch of typos 2025-03-24 14:14:32 +01:00
Emili Castells
9f417f11be
Merge pull request #3169 from woocommerce/PCP-4256-shipping-callback-not-loading-despite-being-enabled
Shipping Callback not loading despite being enabled (4256)
2025-03-18 11:46:11 +01:00
Emili Castells
f766f3f813
Merge pull request #3160 from woocommerce/PCP-4257-phone-number-not-saved-in-wc-order-when-using-pay-now-experience
Phone Number not saved in WC order when using Pay Now experience (4257)
2025-03-18 11:45:09 +01:00
Emili Castells Guasch
e1baf6d531 Remove enforcePaymentMethodForCart method, the problem it solved is already fixed in wc 2025-03-13 17:29:42 +01:00
Daniel Hüsken
97d63e2518
Fix smart buttons not setting needShipping correctly (loaded to early) 2025-03-06 11:46:42 +01:00
Daniel Hüsken
3a740db289
Fix Shipping dropdown not displayed because of an authentication error 2025-02-28 09:03:13 +01:00
Daniel Hüsken
8bac91c875
Add phone number from Payer to block checkout 2025-02-26 14:56:21 +01:00
Emili Castells
36d669c3a6
Merge pull request #2766 from woocommerce/PCP-3512_improve-gettting-terms-and-conditions
replace wc_terms_and_conditions_page_id() to avoid errors (3512)
2025-01-27 10:50:59 +01:00
Narek Zakarian
8fea0da864
Merge pull request #2934 from woocommerce/PCP-4036-string-translations-not-applied-to-card-fields-on-checkout-block 2024-12-24 15:09:32 +04:00
Daniel Hüsken
0e469db58d
script translations must be configured additional when not used directly in a block 2024-12-18 12:15:33 +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
21eb11aee8 Remove not used methods 2024-12-04 16:34:29 +01:00
Emili Castells Guasch
e37d362302 Extract actions from button components 2024-12-04 16:28:59 +01: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
a1ef21ba4f Add save payment button configuration (WIP) 2024-12-03 16:29:37 +01:00
Emili Castells Guasch
d500c4dc18 Add save payment button configuration (WIP) 2024-12-03 16:13:36 +01:00
Emili Castells Guasch
add776c976 Extract components 2024-12-03 12:27:34 +01:00
Philipp Stracker
47b57058fb
️ Optimize PayPal SDK loading for block contexts 2024-11-27 17:35:07 +01:00
Emili Castells
594c9eb63b
Merge pull request #2745 from woocommerce/PCP-3615-acdc-not-visible-on-checkut-when-fastlane-enabled-and-subscription-product-in-cart
Load ACDC for Classic and Block checkouts for subscription products (3615)
2024-11-18 13:59:01 +01:00
Emili Castells
051faff723
Merge pull request #2764 from woocommerce/PCP-3769_translations-for-card-fildes-block-checkout
Make card fields in block checkout translatable (3769)
2024-11-18 13:58:16 +01:00
Emili Castells Guasch
ed75fd47b1 Merge trunk 2024-11-18 12:59:36 +01:00
Daniel Hüsken
1048cd281e
replace wc_terms_and_conditions_page_id() function by directly getting page to avoid errors 2024-11-06 09:45:03 +01:00
Daniel Hüsken
5c92edf6dc
Make card fields in block checkout translatable 2024-11-05 14:24:39 +01:00
Emili Castells
08df9c34eb
Merge pull request #2448 from woocommerce/PCP-3202-retrieve-button-styling-properties-from-woo-commerce-checkout-block-ver-2
POC: Receive button properties from the Checkout Block (3202)
2024-11-05 10:49:23 +01:00
Alex P.
b67265ac15
Update js deps 2024-11-04 17:15:27 +02: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