Commit graph

218 commits

Author SHA1 Message Date
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
1dec304595 Uncheck onboarding with pui checkbox by default 2022-09-30 15:53:36 +02: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
a10e1b8e2e Load onboarding.js only in connection tab
Looks like it is not needed anywhere else, and in other tabs we get an error because it fails to find the checkbox
2022-09-15 10:13:02 +03:00
dinamiko
e4e968a823 Fix merge conflict 2022-09-14 12:22:46 +02:00
Alex P
3c4db55211 Use webpack/babel in onboarding module 2022-09-12 10:23:22 +03:00
Alex P
23cb96e6f9 Explicitly send cookies in fetch
Not sent by default in old browsers
2022-09-09 16:28:58 +03:00
Alex P
5be88678e7 Use appendChild for better compatibility
For some reason Babel does not polyfill it
2022-09-09 11:20:23 +03:00
Narek Zakarian
d7aef159f9 fix code styling 2022-09-06 14:23:50 +04:00
Narek Zakarian
8aa8b8de72 Switch account screen on disconnect 2022-09-02 17:58:49 +04:00
Narek Zakarian
f6e2b345c9 Assets should work also on connection tab 2022-08-24 16:37:09 +04:00
dinamiko
9df3764f0e Fix phpcs 2022-08-22 10:58:02 +02:00
dinamiko
32905cbf9d Uncheck credit card when is supported cuntry 2022-08-19 16:17:48 +02:00
dinamiko
fa41fd19a7 Hide credit card options when checkbox is unchecked 2022-08-19 16:02:01 +02:00
dinamiko
80fad900b4 switch the position of standard and advanced card processing radio buttons 2022-08-19 11:22:50 +02:00
Alex P
af6ad876e3 Fix margin 2022-08-16 17:29:45 +03:00
Alex P
f9375eab44 Remove underline in header 2022-08-16 17:22:57 +03:00
Alex P
d9ab46475c Fix header logo on mobile 2022-08-16 17:18:35 +03:00
Alex P
7302e30e37 Decrease header logo 2022-08-16 17:18:03 +03:00
Alex P
b7260aa185 Add header on settings page 2022-08-16 13:56:36 +03:00
dinamiko
e43313f114 Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-08-16 11:16:25 +02:00
Narek Zakarian
9ca0054e7c Hide the setting when vaulting is disabled. 2022-07-08 16:25:35 +04:00
dinamiko
37c608474b Make pui capitalizacion consistent 2022-07-08 12:01:19 +02:00
dinamiko
846a278730 Merge branch 'PCP-417-new-feature---pay-upon-invoice' into PCP-687-do-not-call-partner-referrals-si 2022-06-01 11:37:16 +02:00
dinamiko
5ccc49a4a8 Fix json error display 2022-05-31 15:53:39 +02:00
dinamiko
e0a94bf2ed Persist client credentials as soon as they are recived 2022-05-31 15:42:40 +02:00
dinamiko
8cffaf9826 Alert instead of console error when response is not successful 2022-05-31 15:11:56 +02:00
dinamiko
4b85831f52 Do not update button links if response is not successful 2022-05-31 09:35:50 +02:00
dinamiko
24280dda3a Fix wrong cache key product assigment 2022-05-27 16:07:52 +02:00
dinamiko
f1e54ced4f Get signup links without reloading the page (WIP) 2022-05-27 14:53:55 +02:00
dinamiko
9b88d1a4ae Move signup link cache into a service 2022-05-26 11:29:09 +02:00
dinamiko
0c5dfbc3e8 Add signup link cache expiration for 3 months 2022-05-26 11:05:30 +02:00
dinamiko
f813cf451a Cache partner referrals signup links 2022-05-25 09:42:37 +02:00
dinamiko
49bc0f255c Check seller product status for pui (WIP) 2022-05-06 17:03:10 +02:00
dinamiko
bd77953161 Refactoring 2022-04-21 16:51:17 +02:00
dinamiko
a2fad9da52 Refactor fraudnet config json generation 2022-04-19 14:54:07 +02:00
dinamiko
e9cf818799 Fix phpcd (WIP) 2022-04-14 17:17:56 +02:00
dinamiko
42ce61de5b Reload page inside then 2022-04-14 15:52:22 +02:00
dinamiko
6b7992b411 Merge trunk 2022-04-13 11:26:24 +02:00
Emili Castells
212894958e
Merge pull request #567 from woocommerce/PCP-607-add-dark-versions-of-cards
Add ability to select dark versions of Visa and Mastercard icons.
2022-04-13 10:30:59 +02:00
Emili Castells
aa9d4c64cb
Merge pull request #563 from woocommerce/PCP-594-card-processing-doesnt-appear
Store card processing gateway "enabled" config as a string.
2022-04-13 10:27:25 +02:00
dinamiko
317ac3f7e8 Onboard pui optionally for merchants (wip) 2022-04-11 12:50:05 +02:00
Narek Zakarian
b78da2daae Add ability to select dar versions of Visa and Mastercard icons. 2022-04-04 17:01:14 +04:00
Narek Zakarian
243add3f02 Store card processing gateway enabled config as a string. 2022-03-30 19:25:51 +04:00