Daniel Dudzic
37ca92c57e
Fix the GooglePay button preview in the settings widget
2024-07-15 22:38:35 +02:00
Daniel Dudzic
6a91e422eb
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-2645-when-selecting-google-pay-as-a-payment-option-in-safari-a-developer-error-is-displayed
2024-07-15 11:31:48 +02:00
Daniel Dudzic
8b43a06f9f
Fix JS linting
2024-07-15 11:21:56 +02:00
Daniel Dudzic
525fee7edd
Remove the redundant async
2024-07-15 10:58:03 +02:00
Daniel Dudzic
4b8843d93d
Google Pay: Fix the incorrect popup triggering (2645)
2024-07-12 13:49:50 +02:00
Emili Castells Guasch
11105d913b
Run eslint autofix
2024-07-12 12:58:34 +02:00
Danny Dudzic
879831d487
Merge pull request #2390 from woocommerce/PCP-3313-can-not-pay-with-google-pay-from-block-cart-and-block-checkout-page
...
Google Pay: Fix issuse with data.paymentSource being undefined (3313)
2024-07-08 13:21:18 +02:00
Daniel Dudzic
e1bdc64248
Google Pay: Fix issuse with data.paymentSource being undefined and the shipping allowed boolean being hardcoded
2024-07-03 12:29:29 +02:00
Philipp Stracker
964b9ac606
🔀 Merge branch 'trunk'
2024-07-03 11:05:43 +02:00
Philipp Stracker
0197896500
🥅 Catch several JS/API related preview issues
2024-07-01 15:25:06 +02:00
Philipp Stracker
4c10c37782
♻️ Extract button-refresh logic to own helper file
...
- Exrtract repeat event-init logic to new helper file
- Remove the jQuery dependency
2024-06-26 18:16:54 +02:00
Philipp Stracker
5ed2f37bd4
✨ Listeners for custom “refresh button” event
2024-06-26 17:57:45 +02:00
Philipp Stracker
874ebbc7a0
🎨 Minor: Apply WP Code Style
...
- Consistent quote-style
- Insert missing semicolons in JS
- Fix some whitespaces
2024-06-12 15:31:33 +02:00
Philipp Stracker
cea292684b
🎨 Minor code structure changes
2024-06-12 11:27:59 +02:00
Philipp Stracker
aa9c02a786
♻️ Improve SDK loading in PreviewButtonManager
2024-06-11 15:58:43 +02:00
Philipp Stracker
6f73e82d3e
✨ Preview buttons can be static
...
When the current page does not contain any edit-fields for the current APM preview button, it enters “static” mode. Static buttons ignore most update requests, and render as they were defined during page load
2024-06-07 21:14:12 +02:00
Philipp Stracker
93f3e4e7ac
🦺 Add check for config that causes infinite loop
2024-06-07 21:12:34 +02:00
Philipp Stracker
33c6c06e85
🐛 Fix button specific config-preparation
2024-06-07 15:42:16 +02:00
Philipp Stracker
b1cc83b238
🔥 Remove old preview button code comment
2024-06-07 12:23:35 +02:00
Philipp Stracker
93c6b40abc
♻️ Clean up the Google Pay preview button code
2024-06-07 12:23:03 +02:00
Philipp Stracker
0b326fbaa9
🔥 Remove debug code
2024-06-05 18:40:01 +02:00
Philipp Stracker
ebb1f6962f
♻️ Create generic base classes for preview buttons
2024-06-05 17:58:54 +02:00
Philipp Stracker
9342086f33
♻️ Refactor Google Pay preview button
...
Mainly, separate the preview code into three main parts:
- Configuration
- Button
- ButtonManager
Remove dependency from DOM structure
2024-06-04 22:10:37 +02:00
Philipp Stracker
d1a93a1b55
🎨 Isolate condition for preview buttons
...
This step makes it easier to refactor/update the logic in the next step.
2024-06-03 17:19:18 +02:00
Pedro Silva
9bf23550dd
Insights preparation.
2024-04-11 17:14:22 +01:00
Pedro Silva
7f5836e885
Fix rerender ApplePay and GooglePay upon cart refresh.
2023-12-18 17:42:02 +00:00
Pedro Silva
83a53ee223
Fix button margins on separate gateways
2023-12-15 17:11:16 +00:00
Pedro Silva
ec0dd5221d
Adjustments to apm button layouts.
2023-12-11 17:14:43 +00:00
Pedro Silva
46c575a401
Fix apm button styling
2023-12-07 18:20:58 +00:00
Alex P
ea35893a82
Fix method id check
2023-11-23 08:46:48 +02:00
Alex P
018ba0de3e
Handle block google/apple buttons height
2023-11-22 17:27:21 +02:00
Alex P
27768fdeda
Merge branch 'trunk' into PCP-2273-block-buttons
2023-11-21 16:09:10 +02:00
Alex P
e3b3d43d67
Remove unneeded variable
2023-11-21 16:07:52 +02:00
Pedro Silva
24f98cd038
Disabled GooglePay and ApplePay on locations with subsciption products.
2023-11-13 17:36:18 +00:00
Pedro Silva
06087f7e67
Merge branch 'trunk' into PCP-2186-apple-pay-button-preview
2023-11-03 14:01:15 +00:00
Pedro Silva
118e49cfde
Add ApplePay preview in admin settings.
2023-11-03 10:30:31 +00:00
Pedro Silva
5d885809f7
Fix product page orders considering shipping costs
2023-10-30 14:27:42 +00:00
Pedro Silva
b11a539c24
Refactor styles loading on GooglePay and ApplePay
...
Remove unnecessary console.log on GooglePay and ApplePay
2023-10-19 18:44:44 +01:00
Pedro Silva
567a7a2065
Add some validations to GooglePay scripts
2023-10-19 15:12:31 +01:00
Pedro Silva
d86a1dd050
Fix removed redundant code
2023-10-17 10:50:38 +01:00
Pedro Silva
84e4c2c40a
Fix GooglePay mini-cart button loading
...
Fix GooglePay shipping callback
Fix GooglePay button on cart updates
2023-10-17 10:47:26 +01:00
Pedro Silva
9ab11b40e4
Fix GooglePay preview buttons
2023-10-16 17:56:58 +01:00
Pedro Silva
b38658aeeb
Fix GooglePay preview rendering race condition.
2023-10-16 15:32:25 +01:00
Pedro Silva
886f214dc6
Fix GooglePay button on Pay Now page.
2023-10-13 17:57:03 +01:00
Pedro Silva
8526adbcee
Add GooglePay shipping support.
2023-10-13 14:36:11 +01:00
Pedro Silva
799e06a7dd
Add cart simulation adjustments
2023-10-13 10:04:17 +01:00
Pedro Silva
7d1f8b5187
Refactor options for release preparation
2023-10-12 15:27:55 +01:00
Pedro Silva
387d677a05
Add shipping callback
2023-10-11 18:55:42 +01:00
Pedro Silva
c30ddd3b64
Add GooglePay shipping support
2023-09-29 18:10:06 +01:00
Pedro Silva
eeaf38e4c4
Add GooglePay shipping option
2023-09-28 18:04:46 +01:00