No WordPress user created after submitting Toolset User Form linked to WooCommerce payment. Also Shop page misconfigured.
Solution:
Expected behavior — form was set to "Create user" only on "Purchase complete." User is hidden until the WooCommerce order reaches "Completed" status. If payment fails or order stays in pending/processing/on-hold/cancelled, no user appears in WP Users.
Fix WooCommerce page setup: Shop page was set to Checkout. Set Cart, Checkout, My Account, and Shop to separate, distinct pages under WooCommerce → Settings → Advanced → Page setup.
Test end-to-end with Stripe sandbox or mark COD order as Completed manually in WooCommerce → Orders to confirm user creation triggers.
Restrict CRED form to one profile post per user, prevent duplicate submissions from back-button, fix Edit button not showing form in Bricks.
Solution:
Place create form inside View's [wpv-no-items-found] section (View filtered by author = current user). Add cred_form_validate for server-side duplicate check:
add_filter('cred_form_validate', 'profile_exists_validation', 10, 2);
function profile_exists_validation($error_fields, $form_data) {
global $current_user;
list($fields, $errors) = $error_fields;
if ($form_data['id'] == 12345) {
$args = array(
'author' => $current_user->ID,
'posts_per_page' => 1,
'post_type' => 'profile',
);
profiles=getposts(profiles = get_posts(
profiles=getposts(args);
if (sizeof($profiles) > 0) {
$errors['post_title'] = 'A profile already exists, so you cannot create another one.';
}
}
return array($fields, $errors);
}