Commit graph

293 commits

Author SHA1 Message Date
Daniel Dudzic
8ce02b0441
Revert yarn.lock 2024-10-10 13:58:00 +02:00
Daniel Dudzic
536445e1a8
Revert package.json change 2024-10-10 13:25:57 +02:00
Daniel Dudzic
5ed73bdbce
Merge branch 'PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor-v2' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor-v2 2024-10-10 12:25:48 +02:00
Daniel Dudzic
1eb754a13b
Remove console logs 2024-10-10 12:25:44 +02:00
Philipp Stracker
655606e2ea
💩 Hide GooglePay loading animation in editor 2024-10-10 12:24:09 +02:00
Philipp Stracker
5f6447d786
💩 A “working” GooglePay block editor preview… 2024-10-09 18:58:55 +02:00
Daniel Dudzic
3171e943ba
Try to fix Google Pay in the editor 2024-10-09 16:38:11 +02:00
Daniel Dudzic
e76c8b257b
Rename the new script loading script 2024-10-08 00:41:30 +02:00
Daniel Dudzic
869a47f3cd
Migrate Google Pay to the new script loader 2024-10-07 15:30:27 +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
Emili Castells
14b231ae1e
Merge pull request #2661 from woocommerce/PCP-3665-fix-gpay-preview
Fix Google Pay preview config and style
2024-10-03 14:33:01 +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
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
Emili Castells
3983721b2a
Merge pull request #2447 from woocommerce/PCP-3348-extend-advanced-card-processing-country-eligibility-for-hong-kong-singapore
Extend supported ACDC countries and currencies to HK and SG (3348)
2024-10-03 10:38:18 +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.
b3d457d64a
Remove unused 2024-10-03 10:00:10 +03:00
Alex P.
ff18fa7b7f
Fix lint 2024-10-02 17:41:54 +03:00
Alex P.
c794ad20e9
Fix Google Pay preview config and style 2024-10-01 09:16:39 +03:00
Alex P.
f3bac3c51f
Remove unused class 2024-10-01 09:15:16 +03:00
Alex P.
f0e2ca2b5b
Remove continuation context 2024-09-23 09:10:49 +03:00
Philipp Stracker
975660d905
🐛 Hide shipping options for non-physical products 2024-09-20 16:52:28 +02:00
Emili Castells Guasch
b8a7a533c2 Merge branch 'trunk' into update/add-title-description-and-gateway 2024-09-20 15:26:48 +02:00
Philipp Stracker
643a23c6e0
🐛 Fix the 0-amount bug
When shipping is disabled, the shippingFee is `undefined` which also resulted in the amount to become `NaN`
2024-09-18 17:34:20 +02:00
Philipp Stracker
368ad49d16
🎨 Minor changes in comment linebreaks 2024-09-18 17:33:27 +02:00
Philipp Stracker
05ee91e192
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-api-client/services.php
#	modules/ppcp-card-fields/services.php
2024-09-06 16:13:18 +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
Alex Florisca
32aec9a3dd Add text domain to translation string 2024-09-04 14:57:41 +01:00
Philipp Stracker
2cb026604c
Merge branch 'PCP-1773-php74'
# Conflicts:
#	composer.lock
2024-09-04 15:47:37 +02:00
Alex Florisca
08f975216d Fix import 2024-09-04 12:53:22 +01:00
Alex Florisca
2e974488f0 Add title, description and gatewayId to express payment 2024-09-04 12:27:22 +01:00
Philipp Stracker
b3a05ae3d8
🐛 Fix bug with defaultShippingId 2024-09-04 12:02:23 +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
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
Emili Castells Guasch
888d9126f5 Add logger to Apple Pay and Google Pay gateways 2024-08-29 11:38:40 +02:00
Philipp Stracker
813f24da1c
💡 Update comment 2024-08-27 12:46:15 +02:00
Philipp Stracker
5b05458103
♻️ Decouple init logic from global PPCP config
Allow Google Pay logic to initialize on pages that do not provide a global PayPalCommerceGateway object. Required to use CheckoutBootstrap to popuplate billing fields in continuation mode.
2024-08-27 12:34:50 +02:00
Philipp Stracker
07c73985e3
Always load GooglePay scripts on checkout page 2024-08-27 12:32:53 +02:00
Philipp Stracker
3e0a44ca1f
🚧 Enqueue missing script for billing data logic
When PayLater is disabled and we're in "continuation" context, then the new billing data logic is not working: The relevant JS script is not enqueued.
2024-08-26 18:22:42 +02:00
Philipp Stracker
a467533ba6
🐛 Sync WC shipping details with Google Pay
This change keeps the checkout & cart forms in-sync with the Google Pay form, to ensure the form submits the same details that the user can see inside Google Pay
2024-08-26 17:10:51 +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
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