create an auto action to create users then HTTP call the auto action from node.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
$userid = (int) '[data1_user_id]';
$response = [
'success' => 'true',
'userid' => $userid,
'firstname' => '[data1_firstname]',
'refid' => '[data1_cb_refid]'
];
// Vérifier la valeur de userid
if ($userid === 0 || !isset($userid)) {
$response['success'] = 'false';
}
echo json_encode($response);
Please Log in to join the conversation.
$errors = $autoaction->error();
$errors = implode( "\n", $autoaction->error() );
:: Action [action] :: Registration failed to save. Error: [error]
Please Log in to join the conversation.