Commit graph

36 commits

Author SHA1 Message Date
carmenmaymo
50e83cce5c
Check if sandboxSwitchElement isset to prevent error 2025-03-05 13:39:34 +01:00
Daniel Hüsken
c65ca2a00b
removed disabled from button when sandbox is changed 2024-12-10 12:31:55 +01:00
Alex P.
74b560c33c
Hide subscription settings when checkout smart buttons disabled 2024-10-18 20:26:18 +03:00
Alex P.
20a627aebb
Refactor/cleanup 2024-10-18 09:35:03 +03:00
Alex P.
38adb9bb21
Remove disabled before triggering save button click 2024-09-04 08:19:33 +03:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Emili Castells Guasch
37bad6023a Fix typo in variable name 2024-02-15 16:23:19 +01:00
Emili Castells Guasch
8718270efb Disable vaulting checkbox and update message if not enabled for reference transactions 2024-02-15 16:05:56 +01:00
Alex P
2c8352fa24
Handle block styling settings hiding 2023-11-23 16:43:20 +02:00
Alex P
f338ef57df
Refactor style settings selectors determination for hiding 2023-11-23 16:42:40 +02:00
Emili Castells
c07e8eaa87
Merge pull request #1719 from woocommerce/PCP-2006-google-pay-settings-improvements
Google Pay Settings improvements (2006)
2023-10-17 14:24:57 +02:00
Alex P
7da5d8d68a
Simplify message wrapper rendering and add shop, home locations 2023-10-16 21:41:17 +03:00
Pedro Silva
9ab11b40e4
Fix GooglePay preview buttons 2023-10-16 17:56:58 +01:00
Pedro Silva
82c143c5b6
Refactor signup link endpoint 2023-09-27 08:30:52 +01:00
Pedro Silva
43136ecf3c
Refactor onboarding link update endpoint refactor. 2023-09-26 13:58:33 +01:00
Emili Castells Guasch
8d97954f42 Add content type json to all fetch ajax endpoints 2023-03-22 17:26:58 +01:00
Alex P
7c43d91288
Allow to capture automatically on status change 2023-02-14 10:30:59 +02:00
Narek Zakarian
6e5af8f0ab
Change the script localize name 2022-12-21 18:01:19 +04:00
Narek Zakarian
5b15b4b3fe
Conditionally add a message when no location is selected. 2022-12-21 17:08:56 +04:00
Narek Zakarian
c45a54aa68
Improve the conditional showing fields functionality 2022-12-20 19:08:17 +04:00
Narek Zakarian
9c6a813776
Refactor settings JS code to work for standard tab 2022-12-05 15:28:45 +04:00
Narek Zakarian
f3a0c0d0ce Improve JS variable declaration 2022-11-04 12:46:23 +04:00
Narek Zakarian
7a0350ea7a Add button and message preview scripts 2022-11-02 17:35:29 +04:00
Narek Zakarian
510cb4db49 Merge remote-tracking branch 'origin/pcp-917-preview' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/resources/js/gateway-settings.js
#	modules/ppcp-wc-gateway/services.php
2022-10-31 16:16:57 +04:00
Narek Zakarian
c68eac814f Handle the JS logic 2022-10-31 15:58:19 +04:00
Alex P
ab618b200e Add button preview in settings 2022-10-21 17:56:48 +03:00
Emili Castells
dcb111fe98
Merge pull request #852 from woocommerce/PCP-901-onboarding-buttons-must-be-clicked-multiple-times-after-using-checkbox
Add spinner and disable buttons while switching PUI checkbox
2022-10-13 09:21:48 +02:00
Narek Zakarian
429349990b Disable the PUI onboarding checkbox while JS Fetch is running. 2022-10-11 16:17:24 +04:00
Alex P
5919c5e223 Cleanup/refactor disabled card icons removal 2022-10-09 18:20:06 +03:00
Alex P
a2668e37d2 Fix appendChild usage
We replaced append with appendChild for better browser support, but it accepts only single elements, so we need to flatten the array.
2022-10-09 18:16:54 +03:00
Narek Zakarian
a58f94de46 Merge branch 'trunk' into PCP-901-onboarding-buttons-must-be-clicked-multiple-times-after-using-checkbox 2022-10-07 15:55:17 +04:00
dinamiko
5291dc7298 Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-26 15:53:41 +02:00
Alex P
c3b2472389 Fix onboarding callback
Looks like the global function were not available for the PayPal SDK since #844
2022-09-26 15:41:46 +03:00
Narek Zakarian
eb8efc41f5 Add spinner and disable buttons while switching PUI checkbox 2022-09-15 16:55:41 +04:00
dinamiko
3382654c0a Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-15 11:47:17 +02:00
Alex P
3c4db55211 Use webpack/babel in onboarding module 2022-09-12 10:23:22 +03:00