refactored checkout workflow with stripe

This commit is contained in:
2021-01-11 21:16:42 +01:00
parent 2df6e53aa0
commit 02c983e7e0
48 changed files with 1154 additions and 177 deletions

View File

@@ -50,7 +50,9 @@ function materio_user_form_user_modal_form_alter(&$form, FormStateInterface $for
$form['actions']['submit']['#attributes'] = array(
"@click.prevent" => "register",
"@keyup.enter" => "register"
"@keyup.enter" => "register",
"ref" => "register"
// ":class" => "can_register"
);
}
@@ -59,7 +61,8 @@ function _materio_user_process_password_confirm($element){
// ksm($element);
$element['pass1']['#attributes'] += array(
"v-model" => "pass1",
"placeholder" => $element['pass1']['#title']
"placeholder" => $element['pass1']['#title'],
":class" => "psswd_class"
);
$element['pass2']['#attributes'] += array(
"v-model" => "pass2",