ClassesBigCommerceFormsRegistration Handler

Registration_Handler

Handles user registration requests and form submissions for account creation.

Constants

ConstantVisibilityTypeValue
ACTIONpublicstring’register-account’

Methods

__construct

Constructor for the Registration_Handler class.

public __construct(\BigCommerce\Compatibility\Spam_Checker $spam_checker, \BigCommerce\Accounts\Login $login): mixed

Parameters:

ParameterTypeDescription
$spam_checker\BigCommerce\Compatibility\Spam_CheckerInstance for checking spam submissions.
$login\BigCommerce\Accounts\LoginInstance for handling user login.

handle_request

Handles form submission for user registration.

public handle_request(array $submission): void

Parameters:

ParameterTypeDescription
$submissionarrayThe form submission data.


Automatically generated on 2025-01-21