Commit graph

45 commits

Author SHA1 Message Date
dinamiko
bd77953161 Refactoring 2022-04-21 16:51:17 +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
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
Alex P
9297f1a2fe Disable card funding source if not accepting cards in onboarding 2022-02-22 15:25:12 +02:00
Alex P
f6446f5ced Update onboarding options UI 2022-02-22 14:32:57 +02:00
Alex P
44cb17107c Fix sandbox checkbox
Sometimes the state of UI may get restored after page reload and will not match the server settings
2022-02-08 10:25:01 +02:00
Alex P
8bb84ee380 Move JS from global scope 2022-02-07 09:13:32 +02:00
Alex P
8c465b20a9 Fix ui 2022-02-07 09:06:32 +02:00
Alex P
625004e2c6 Validate manual input 2022-02-07 09:06:06 +02:00
Alex P
38135bc94e Allow to switch between live and sandbox 2022-02-04 15:29:23 +02:00
Alex P
baa4672e1b Update manual credentials toggle 2022-01-21 07:59:08 +02:00
Alex P
6b9a834064 Prevent unsaved data dialog for onboarding checkboxes 2022-01-18 10:53:43 +02:00
Alex P
ff8c6fdf01 New onboarding options, buttons 2022-01-17 17:59:35 +02:00
Alex P
39367e7b51 Remove unused 2022-01-12 09:34:12 +02:00
dinamiko
643bb1702d Hide mini cart height field when mini cart is disabled 2021-08-04 16:38:42 +02:00
Kirill Braslavsky
af2e3543cc update fields on toggle cart message 2021-03-31 16:33:55 +03:00
Kirill Braslavsky
51ab69ed3f update product message fields initially 2021-03-31 16:15:56 +03:00
Kirill Braslavsky
60db1606cb add early return 2021-03-31 15:57:12 +03:00
Kirill Braslavsky
9c787d5682 update fields on toggle product message 2021-03-31 15:56:32 +03:00
Kirill Braslavsky
485428c46a update fields on toggle checkout message 2021-03-31 15:38:09 +03:00
Kirill Braslavsky
0ad0a12e54 run settings script after DOM content loaded 2021-03-31 12:45:27 +03:00
Jorge A. Torres
b8870415af Rework onboarding rendering and JS code
- Add `ppcp_onboarding` object and separate sandbox/production callbacks.
- Prevent errors when loading `onboarding.js` outside of the settings screen.
- Workaround PayPal’s partner.js shortcomings.
2021-02-04 13:57:24 -05:00
Jorge A. Torres
b630c4291c Add support for select2 change events in settings 2020-10-15 15:51:05 -03:00
Jorge A. Torres
5c467b2188 Disable ‘dirty form’ fix in onboarding JS as it conflicts with other handlers 2020-10-15 15:51:05 -03:00
David Remer
2996bdbe8b change credentials, endpoint urls, plugin url, js sdk date 2020-10-13 09:42:34 +03:00
David Remer
951092558d remove the alert box in javascript when onboarding fails 2020-10-02 12:11:07 +03:00
David Remer
7521e63ef4 add semicolons 2020-10-01 10:00:21 +03:00
David Remer
2f474cc8ae add disconnect button 2020-09-29 12:48:02 +03:00
David Remer
15580be431 resolve merge conflict 2020-09-29 12:22:24 +03:00
David Remer
074a6ea139 remove the toggle for a credentials set once those are set. 2020-09-25 11:58:30 +03:00
David Remer
9327b19b7d add new fields for production and sandbox credentials.
Change toggle functionality. Load connect-to-sandbox-button and connect-to-production-button in case credentials are missing
2020-09-25 09:19:43 +03:00
David Remer
b41e760df6 fix button toggle, which was prevented from the general checkbox change handler 2020-09-24 13:40:43 +03:00
David Remer
6d8b6bf693 prevent 'do you want to leave'-alert when redirect occurs through paypal module. 2020-09-24 12:50:35 +03:00
David Remer
16ad8c9cd1 resolve merge conflict 2020-09-24 10:54:28 +03:00
David Remer
5907d03ced move merchant email into toggle 2020-09-24 10:46:31 +03:00
David Remer
09a5f0e466 enable loginseller endpoint to switch between sandbox and live 2020-09-24 10:29:09 +03:00
David Remer
6f870ec7a5 render sandbox and live connect button and toggle between those depending on sandbox checkbox 2020-09-24 09:58:28 +03:00
David Remer
25c87a8da8 hide disabled credit cards in the logo selection 2020-09-24 07:49:31 +03:00
David Remer
05d3f267b3 enable merchant to hide credentials after showing them 2020-09-18 13:06:48 +03:00
David Remer
c09e314baa call partners endpoint when rendering the dcc settings to check whether the pp account is able to process dcc.
In order to do so, it was also necessary to store the merchant id during onboarding. includes a bugfix where the cache invalidation did not work because the cache object was constructed with the wrong prefix key.
2020-09-16 10:00:28 +03:00
David Remer
c886d3b57c enable group toggle for new checkout button enabler 2020-09-03 12:28:43 +03:00
David Remer
8aef527108 fix some logic in toggling settings 2020-09-02 12:58:06 +03:00
David Remer
f8e82bdfaf move module.local to module 2020-09-01 14:21:58 +03:00