Commit graph

1192 commits

Author SHA1 Message Date
Daniel Dudzic
f25140b51d
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor 2024-07-26 13:24:21 +02:00
Daniel Dudzic
09ff65aba4
Refactor script loading to allow for adding custom namespaces 2024-07-26 12:39:38 +02:00
Narek Zakarian
4a72743d0f
Merge branch 'trunk' into PCP-3384-shipping-method-visible-in-pay-pal-popup-for-zone-that-has-no-shipping-defined-when-shipping-callback-enabled 2024-07-25 18:30:38 +04:00
Emili Castells Guasch
c4232e3957 Add card payment for guest free trial (WIP) 2024-07-25 12:08:59 +02:00
Philipp Stracker
9f39a58f07
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-button/resources/js/modules/ContextBootstrap/CheckoutBootstap.js
#	modules/ppcp-button/resources/js/modules/Helper/CheckoutMethodState.js
2024-07-24 18:49:41 +02:00
Emili Castells Guasch
29e195e7f3 Ensure saved card payment use default payment flow for free trial subscriptions 2024-07-24 17:00:58 +02:00
Emili Castells Guasch
efbd36025d Add card payment token for free trial subscriptions (WIP) 2024-07-24 16:00:55 +02:00
Narek Zakarian
5d5dd761f8
Merge branch 'trunk' into PCP-3395-when-there-isnt-any-shipping-option-for-the-address-the-order-is-still-created-from-classic-cart 2024-07-24 16:04:32 +04:00
Narek Zakarian
4fc7883c28
Merge branch 'trunk' into PCP-3382-add-support-for-woo-commerce-bookings-when-skipping-checkout-confirmation
# Conflicts:
#	modules/ppcp-compat/services.php
#	modules/ppcp-compat/src/CompatModule.php
2024-07-24 15:19:32 +04:00
Philipp Stracker
eb216425fb
🚧 New Gateway for Apple Pay 2024-07-23 15:59:54 +02:00
Emili Castells
8df5b56d8a
Merge pull request #2420 from woocommerce/PCP-2958-multiple-smart-buttons-on-the-product-page-when-using-variable-product-with-pay-pal-subscriptions-mode
Prevent displaying smart button multiple times on variable product page (2958)
2024-07-23 14:29:58 +02:00
Narek Zakarian
d20b1b982f
Merge branch 'trunk' into PCP-3342-shipping-callback-compatibility-problem-with-name-your-price-plugin
# Conflicts:
#	modules/ppcp-button/src/Helper/WooCommerceOrderCreator.php
2024-07-23 16:15:20 +04:00
Emili Castells
f59b9532d5
Merge pull request #2431 from woocommerce/PCP-3394-the-taxes-are-included-incorrectly-for-programmatically-created-orders
Add tax configurator when programmatically creating WC orders (3394)
2024-07-23 12:57:32 +02:00
Narek Zakarian
2c6d84c32c
Add action to hook when WC order is created programmatically 2024-07-22 18:18:11 +04:00
Narek Zakarian
fe046ea48c
Add the missing argument 2024-07-18 20:19:33 +04:00
Narek Zakarian
15250e5a83
Redirect to continuation when error happens 2024-07-18 20:15:39 +04:00
Narek Zakarian
c3d46d89af
Add shipping option validation 2024-07-18 20:15:02 +04:00
Narek Zakarian
8f4fa3562b
Add tax configurator 2024-07-17 19:15:19 +04:00
Narek Zakarian
e7ece3d394
Fix the coding styles 2024-07-17 17:37:38 +04:00
Narek Zakarian
0e3c550082
Fix the coding styles 2024-07-17 17:29:13 +04:00
Narek Zakarian
af286c8f82
Add needs shipping to classic cart 2024-07-17 16:43:51 +04:00
Emili Castells Guasch
49064da0c8 Run eslint autofix 2024-07-17 11:08:49 +02:00
Emili Castells Guasch
db4787a360 Remove temp leftovers 2024-07-16 17:57:33 +02:00
Emili Castells Guasch
74f319dd82 Merge branch 'trunk' into PCP-3320-separate-google-pay-button-for-classic-checkout 2024-07-16 17:22:10 +02:00
Emili Castells Guasch
c941430b7d Show googlepay button conditionally 2024-07-16 16:45:32 +02:00
Emili Castells Guasch
e70891d359 Add googlepay wc gateway 2024-07-16 14:17:12 +02:00
Narek Zakarian
2f0b01ebcb
Fix the coding styles 2024-07-15 19:38:10 +04:00
Narek Zakarian
f9aa2b565d
Return the callback to fix the shipping options update process 2024-07-15 19:20:24 +04:00
Narek Zakarian
c5fd3a6cea
Use the WC STORE API endpoint constant and the home_url 2024-07-15 19:19:32 +04:00
Emili Castells Guasch
e52939200f Hide wc place order button when applepay payment method is selected 2024-07-15 14:54:10 +02:00
George Burduli
397acdd2bf
Prevent displaying smart button multiple times on variable product page 2024-07-15 16:45:10 +04:00
Philipp Stracker
a4a4f80a99
🐛 Isolate preview changes to relevant sections
Before this, any style change updated all preview buttons on the current page. Now, most changes are limited to the current section.

For exaple, changing the height of “Mini Cart Buttons” only updates the mini cart button preview, and no other preview sections.
2024-07-15 13:58:58 +02:00
Philipp Stracker
6081b9ddf9
🩹 Adjust the height of the Dummy preview-button
Dummy button now better aligns with the button settings
2024-07-15 13:19:37 +02:00
Philipp Stracker
4cde024320
♻️ Consolidate the preview button’s CSS classes
Class names are now generated by the base class. This allows to remove a method from all derived classes
2024-07-15 13:18:07 +02:00
Philipp Stracker
7f9cbd6f58
🐛 Fix general preview button shape 2024-07-15 13:16:08 +02:00
Philipp Stracker
c780b025a3
🔀 Merge branch 'trunk' 2024-07-15 11:56:45 +02:00
Philipp Stracker
1eca3b09d7
🔀 Merge branch 'trunk'
Resolve merge conflict due to new JS code format
2024-07-15 11:16:47 +02:00
Philipp Stracker
2da8b516ff
♻️ Code organization and cleanup
- Move base classes for the preview buttons into “Preview” folder
- Remove jQuery use inside those base classes
- Extract dummy button to own class
2024-07-12 19:02:21 +02:00
Philipp Stracker
534e412524
♻️ Extract preview classes to own files 2024-07-12 17:32:59 +02:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Narek Zakarian
0038922fe8
Add filter for the total 2024-07-09 15:40:16 +04:00
Daniel Dudzic
f758f4c2c8
AXO: Prevent loading scripts and executing logic in PayPal continuation mode 2024-07-08 15:25:16 +02:00
Danny Dudzic
d2e2f76f59
Merge pull request #2386 from woocommerce/PCP-3330-fastlane-improve-button-styling-to-better-match-theme-defaults-e-g-on-place-order-button
Improve Place Order button styling (3330)
2024-07-08 12:03:26 +02:00
Philipp Stracker
964b9ac606
🔀 Merge branch 'trunk' 2024-07-03 11:05:43 +02:00
Emili Castells
6bd938a177
Merge pull request #2381 from woocommerce/PCP-3319-remove-bcdc-button-from-block-express-checkout-area
Remove BCDC button from block Express Checkout area (3319)
2024-07-02 17:43:15 +02:00
Emili Castells Guasch
78bbc1fd67 Remove psalm comments 2024-07-02 17:38:25 +02:00
Philipp Stracker
6efcaa5630
New option to configure BN-Code
Configurable via a wp-config constant, or a new wp-filter.
2024-07-02 16:10:10 +02:00
Daniel Dudzic
d253aa44fe
Improve Place Order button styling 2024-07-02 13:07:39 +02:00
Emili Castells
6785ca9b06
Merge pull request #2372 from woocommerce/PCP-3250-apple-pay-and-google-pay-buttons-dont-appear-in-pay-pal-button-stack-on-multi-step-checkout
Apple Pay and Google Pay buttons don't appear in PayPal Button stack on multi-step Checkout (3250)
2024-07-02 11:05:09 +02:00
Philipp Stracker
0197896500
🥅 Catch several JS/API related preview issues 2024-07-01 15:25:06 +02:00