Commit graph

180 commits

Author SHA1 Message Date
Emili Castells
e67b4225d3
Merge pull request #962 from woocommerce/PCP-915-create-pay-later-tab
Create the pay later tab
2022-11-15 11:53:37 +01:00
Narek Zakarian
629292c85a Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-11-15 14:40:23 +04:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02:00
Alex P
17d3cc152e Require PHP 7.2 2022-11-09 16:00:15 +02:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02: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
ab23dfbe4c
Merge pull request #876 from woocommerce/PCP-900-onboard-with-pui-checkbox-automatically-set-when-shop-is-set-to-germany
Onboard with PUI Checkbox automatically set when shop is set to Germany
2022-10-14 09:11:55 +02: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
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