Commit graph

1236 commits

Author SHA1 Message Date
Daniel Dudzic
e76c8b257b
Rename the new script loading script 2024-10-08 00:41:30 +02:00
Daniel Dudzic
07bedc4460
Add the UnifiedScriptLoader and usePayPalCommerceGateway hook 2024-10-07 10:42:56 +02:00
Emili Castells
85660ab5a1
Merge pull request #2577 from woocommerce/PCP-3534-guest-email
Set email when creating order for express payment
2024-10-07 10:37:31 +02:00
Emili Castells
634b3707ee
Merge pull request #2667 from woocommerce/PCP-3744-fix-multicurrency
Fix multi-currency support
2024-10-03 12:40:35 +02:00
Emili Castells
407eff51f1
Merge pull request #2631 from woocommerce/PCP-3661-improve-context-detection-in-ajax
Improve context detection
2024-10-03 10:43:13 +02:00
Emili Castells
859f99b4ca
Merge pull request #2608 from woocommerce/PCP-3523-fix-shortcode-check
Fix classic shortcode block type checks
2024-10-03 10:40:07 +02:00
Emili Castells
8592213b9a
Merge pull request #2464 from woocommerce/PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
Fix the Google Pay button in the block Checkout in the editor (3374)
2024-10-03 10:39:01 +02:00
Alex P.
f85df4718a
Retrieve shop currency later to avoid early caching in service 2024-10-03 10:10:50 +03:00
Alex P
01fb5bee31
Fix missing trait property 2024-09-23 15:50:00 +03:00
Alex P.
f0e2ca2b5b
Remove continuation context 2024-09-23 09:10:49 +03:00
Alex P.
f77d08133d
Check cart/checkout ajax before other context checks 2024-09-23 09:09:18 +03:00
Alex P
0c43fd1329
Fix classic shortcode block type checks 2024-09-18 16:09:31 +03:00
Narek Zakarian
a280c1b0f4
Remove leftover console.log 2024-09-12 14:47:34 +04:00
Alex P.
b9118616d0
Use ?: 2024-09-10 15:11:17 +03:00
Alex P.
e99159a35b
Fix function name 2024-09-10 10:26:50 +03:00
Alex P.
8e7350ec88
Set email when creating order for express payment 2024-09-10 10:26:26 +03:00
Niklas Gutberlet
d617d4a562
Merge pull request #2563 from woocommerce/PCP-3619-paylater-filter
Allow to override the list of Pay Later supported countries
2024-09-09 11:43:23 +02:00
Philipp Stracker
2e088add15
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-axo/src/AxoModule.php
2024-09-06 16:59:24 +02:00
Philipp Stracker
c3d53853de
Merge pull request #2513 from woocommerce/PCP-3527-google-pay-shipping-callback-not-calculating-totals-correctly-on-single-product-page
Google Pay: Shipping callback not calculating totals correctly on Single Product page (3527)
2024-09-06 15:42:51 +02:00
Philipp Stracker
a665529b78
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-09-06 15:35:27 +02:00
Philipp Stracker
a128228c86
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-applepay/resources/js/ApplepayButton.js
#	modules/ppcp-applepay/resources/js/boot-admin.js
#	modules/ppcp-button/resources/js/modules/Preview/PreviewButtonManager.js
#	modules/ppcp-googlepay/resources/js/GooglepayButton.js
#	modules/ppcp-googlepay/resources/js/boot-admin.js
2024-09-06 15:19:17 +02:00
Philipp Stracker
c7b118bac5
Merge pull request #2509 from woocommerce/PCP-3503-use-svg-for-apm-gateway-icons
Use SVG for APM gateway icons (3503)
2024-09-06 14:52:22 +02:00
Philipp Stracker
87e8aed779
Merge pull request #2525 from woocommerce/PCP-3525-google-pay-shipping-callback-active-for-virtual-product
Google Pay billing data without shipping callback (3525)
2024-09-06 14:50:29 +02:00
Philipp Stracker
2cb026604c
Merge branch 'PCP-1773-php74'
# Conflicts:
#	composer.lock
2024-09-04 15:47:37 +02:00
Philipp Stracker
d370f70d86
🔀 Merge branch 'trunk' 2024-09-03 18:45:51 +02:00
Philipp Stracker
e54ceb9a65
🔀 Merge branch 'trunk' 2024-09-03 17:36:28 +02:00
Philipp Stracker
d7f0b693e3
Define generic size for payment gateway icons 2024-09-03 17:35:36 +02:00
Alex P.
f538ea2ef2
Require PHP 7.4+ 2024-09-03 09:07:12 +03:00
Alex P.
381041138c
Allow to override the list of Pay Later supported countries 2024-08-31 14:03:04 +03:00
Philipp Stracker
7509f914ab
Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-local-alternative-payment-methods/src/LocalAlternativePaymentMethodsModule.php
#	modules/ppcp-paylater-configurator/src/PayLaterConfiguratorModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-08-30 15:16:20 +02:00
Philipp Stracker
0f08a64f5e
♻️ Extract repeat logic into new getter 2024-08-28 16:09:11 +02:00
Narek Zakarian
0253b39337
Merge branch 'trunk' into PCP-3575-fastlane-transaction-id-not-clickable 2024-08-28 17:59:30 +04:00
Philipp Stracker
2fa5545af2
🩹 FIx potential problem with initialization order 2024-08-28 15:54:41 +02:00
Philipp Stracker
72b9fdc251
🐛 Fix issue with missing Google Pay button 2024-08-28 15:53:28 +02:00
Narek Zakarian
1e9d9ec29e
Fix the coding styles 2024-08-28 17:07:50 +04:00
Narek Zakarian
3f1b998118
Only remove the gateway on the WooCommerce Settings Payments tab.
Additionally introduce the function to check if is WooCommerce Settings Payments tab screen (/wp-admin/admin.php?page=wc-settings&tab=checkout).
2024-08-28 16:52:17 +04:00
Philipp Stracker
f5d4faba79
🐛 Remove the empty Google Pay wrapper
When using Google Pay in a separate payment gateway, there was a left-over div-tag with a fixed height beneath the PayPal payment button. This empty div was the initial wrapper for the payment button in the smart-button block, and is removed from DOM when a separate gateway is used.
2024-08-28 13:21:02 +02:00
Philipp Stracker
b7d18f105e
🐛 Fix incorrect display of initial button
Logic to hide the payment button when used as a smart-button (not as a separate gateway) had a bug, if the PayPal method was not the first payment gateway.

The new logic ensures that the payment button’s visibility is correct, regardless on whether it’s a separate payment gateway or included in the PayPal smart-button block.
2024-08-28 12:56:07 +02:00
Philipp Stracker
15a09d9722
Decouple PayerData from global PPCP object 2024-08-27 12:32:00 +02:00
Moritz Meißelbach
5c6c3a0005
Merge branch 'refs/heads/trunk' into modularity-module-migration 2024-08-27 10:04:18 +02:00
Philipp Stracker
010f5fbdf1
Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-button/resources/js/modules/OnApproveHandler/onApproveForContinue.js
2024-08-26 14:59:54 +02:00
Philipp Stracker
fa5cbde67e
🔀 Merge branch 'trunk’ 2024-08-26 14:54:59 +02:00
Philipp Stracker
f5792b1719
🐛 Fix fatal error in SmartButton class 2024-08-26 13:38:45 +02:00
Moritz Meißelbach
789d979c80
Merge branch 'refs/heads/trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-applepay/src/ApplepayModule.php
#	modules/ppcp-compat/src/CompatModule.php
2024-08-23 15:50:49 +02:00
Moritz Meißelbach
4d9f23e315
Merge branch 'refs/heads/trunk' into modularity-module-migration
# Conflicts:
#	composer.lock
#	modules/ppcp-axo/src/AxoModule.php
#	modules/ppcp-blocks/src/BlocksModule.php
#	modules/ppcp-compat/src/CompatModule.php
#	modules/ppcp-googlepay/src/GooglepayModule.php
#	modules/ppcp-order-tracking/src/OrderTrackingModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
2024-08-23 14:25:36 +02:00
Philipp Stracker
fe39793e9a
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-08-22 12:04:13 +02:00
Emili Castells
fbd7dc1857
Merge pull request #2457 from woocommerce/PCP-3321-separate-apple-pay-button-for-classic-checkout
Separate Apple Pay button for Classic Checkout (3321)
2024-08-22 11:37:05 +02:00
Emili Castells
8d4f93a8ef
Merge pull request #2452 from woocommerce/PCP-3382-add-support-for-woo-commerce-bookings-when-skipping-checkout-confirmation
Add support for WC Bookings when skipping checkout confirmation
2024-08-22 11:29:48 +02:00
Philipp Stracker
6c54377a6e
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-applepay/resources/js/ApplepayButton.js
#	modules/ppcp-button/resources/js/modules/ContextBootstrap/CheckoutBootstap.js
2024-08-22 11:29:19 +02:00
Emili Castells Guasch
70695294e1 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-08-22 11:20:39 +02:00