Commit graph

12 commits

Author SHA1 Message Date
Danae Millan
a4846b64fe Fix wrong prefix for a newly added class for disabled checkbox
The prefix for the plugin is 'ppcp', not 'ppc' as it mistakenly was. Updating this for a checkbox class.
2021-11-23 22:12:32 -03:00
Danae Millan
b42e3d5623 Disable the Vaulting checkbox on page load before handling the UI
Otherwise the Pay Later options would stay disabled when vaulting was disabled from the PayPal account.
2021-11-22 12:53:00 -03:00
Danae Millan
3d03097110 Uncheck the Pay Later checkboxes before disabling them when enabling vaulting
This way the children settings of Pay Later get hidden, keeping the interface consistent.
2021-11-22 12:29:52 -03:00
Danae Millan
a338e727fd Switch Pay Later labels when vaulting is toggled
This way we'd display the 'Enable' label when Pay Later can be enabled, and the reason why it can't be enabled when vaulting is enabled.
2021-11-20 14:38:36 -03:00
Danae Millan
587d3eef53 Disable the vaulting checkbox only when vaulting isn't in the scope
Now, as long as vaulting is in the PayPal account's scope, the checkbox would always be enabled. Independently from the Pay Later settings.
2021-11-20 12:51:11 -03:00
dinamiko
145b8085ab Check if variable exist before calling it, persist vault enabled when token creation fails 2021-07-27 10:47:16 +02:00
dinamiko
ccf357d790 Disable vault setting if vaulting feature is not available in access token 2021-04-29 17:40:41 +02:00
dinamiko
ea23200de6 Consolidate vaulting settings in one single one 2021-04-23 10:33:28 +02:00
Kirill Braslavsky
5ae2628d0b add missed line break at the EOF 2021-03-25 17:17:04 +02:00
Kirill Braslavsky
593b15487d fix option id 2021-03-25 15:42:28 +02:00
Kirill Braslavsky
99d4911581 allow to use CC vaulting with pay later messaging 2021-03-25 13:22:09 +02:00
Kirill Braslavsky
77efce52db allow to enable either vault or pay later message 2021-03-25 10:21:28 +02:00