Emili Castells
c1ff2633e3
Merge pull request #2705 from woocommerce/PCP-2170_Fix_probs_with_autooptimize
...
Fix problems with autoptimize plugin (2170)
2024-10-30 10:41:52 +01:00
Daniel Hüsken
a453e4e881
Display payment gateways also when the are set to display:none with css and the stylesheet is removed from DOM
2024-10-17 14:18:19 +02:00
inpsyde-maticluznar
cf68af182c
Consider manual renewal and vaulting option when displaying buttons on product page
2024-10-11 13:58:25 +02:00
inpsyde-maticluznar
3163593027
Don't render a button on single product page when vaulting is disabled
2024-10-11 07:41:12 +02:00
Daniel Dudzic
5970aeaceb
Remove the new loader from the SingleProductBootstrap
2024-10-08 10:57:09 +02:00
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
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
Narek Zakarian
a280c1b0f4
Remove leftover console.log
2024-09-12 14:47:34 +04: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
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
Philipp Stracker
0f08a64f5e
♻️ Extract repeat logic into new getter
2024-08-28 16:09:11 +02: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
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
Philipp Stracker
010f5fbdf1
Merge branch 'trunk'
...
# Conflicts:
# modules/ppcp-button/resources/js/modules/OnApproveHandler/onApproveForContinue.js
2024-08-26 14:59:54 +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
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
Emili Castells
0115dec944
Merge pull request #2437 from woocommerce/PCP-3395-when-there-isnt-any-shipping-option-for-the-address-the-order-is-still-created-from-classic-cart
...
When there isn't any shipping option for the address the order is still created from classic cart
2024-08-22 11:18:44 +02:00
Emili Castells Guasch
b7060d9540
Merge trunk
2024-08-22 10:57:12 +02:00
Emili Castells
efc3e48a08
Merge pull request #2496 from woocommerce/PCP-3477-google-pay-button-disappear-from-classic-cart-page-when-we-change-shipping-method-until-reloading-page
...
Various Google Pay button fixes (3477)
2024-08-22 10:53:46 +02:00
Emili Castells
8d0dd26f87
Merge pull request #2429 from woocommerce/PCP-3385-can-not-pay-from-block-cart-and-block-checkout-when-shipping-callback-enabled-and-no-shipping-methods-defined
...
Can't pay from block pages when the shipping callback is enabled and no shipping methods defined (3385)
2024-08-22 10:51:11 +02:00
Philipp Stracker
734951adcb
♻️ Minor cleanup
2024-08-21 14:21:45 +02:00
Philipp Stracker
9157547993
♻️ Improve PayerData module
2024-08-21 13:51:40 +02:00
Philipp Stracker
97379628d4
✨ Send payer details with order approval request
...
First step to integrate payer details in the payment flow without final confirmation.
2024-08-20 15:37:26 +02:00
Philipp Stracker
a51748f805
💡 Improve comments in PayerData module
2024-08-20 14:18:30 +02:00
Philipp Stracker
63b5055903
💡 Document payment workflow
2024-08-20 14:16:57 +02:00
Philipp Stracker
451dc842ed
✨ New LocalStorage module for Google Pay
2024-08-20 13:47:00 +02:00
Philipp Stracker
c007d7909c
✨ Option to only set missing billing details
2024-08-16 18:45:49 +02:00
Philipp Stracker
63e9c8bf27
✨ New ConsoleLogger group
method
...
Groups subsequent console.log output, for cleaner console output
2024-08-16 18:15:59 +02:00
Philipp Stracker
00e2959700
✨ Get payee details without shipping callback
2024-08-16 18:14:35 +02:00
Philipp Stracker
2944ecc786
🐛 Fix issue with missing button in checkout
...
When the separate “Google Pay gateway” is disabled, the Google Pay button should be rendered inside the “PayPal gateway” container.
2024-08-13 12:26:44 +02:00
Philipp Stracker
d9a0c6e19a
💡 Add comments to context options
2024-08-13 12:24:32 +02:00
Philipp Stracker
5a870de4f4
🔥 Remove unused getter
2024-08-12 18:51:37 +02:00
Philipp Stracker
966b76102c
🐛 Fix init errors “No API configuration...”
...
Caused by calling `reinit()` before the invoking `init()` first. New condition in `reinit()` ensures that the button configuration is present.
2024-08-12 18:50:17 +02:00
Philipp Stracker
bfeaefd45a
🐛 Fix remaining issue on classic checkout page
2024-08-11 13:11:04 +02:00
Philipp Stracker
c382b5cee1
🐛 Fix incorrect event listeners
2024-08-08 20:36:16 +02:00
Philipp Stracker
dada95520e
🐛 Fix incorrect preview update on settings page
2024-08-08 18:52:53 +02:00
Philipp Stracker
722289a545
✨ Provide means to update styling of a button
...
Before this, we needed to create a new button instance to display changes in button style. This allows updating an existing button instance
2024-08-08 17:53:59 +02:00
Philipp Stracker
3538a69402
⚡ ️ Only recreate payment button when needed
...
Check if the button is still in DOM before recreating it
2024-08-08 14:42:01 +02:00
Philipp Stracker
934441fdeb
🐛 Fix initial visibility of payment button
2024-08-08 14:41:09 +02:00
Philipp Stracker
844cafd9cb
💡 Use ConsoleLogger for PreviewButtonManager
...
Also add some comments and additional log output
2024-08-08 14:08:20 +02:00
Philipp Stracker
7729007774
♻️ Unify constructor arguments of PaymentButton
...
Factory method and constuctor have same arguments in the same order
2024-08-08 14:05:57 +02:00
Philipp Stracker
9ac4300995
🐛 Address some errors in preview (Settings page)
2024-08-08 13:10:26 +02:00