Ajax Member Email Verify
This section describes all the methods available within the "Content" family of Ajax methods.
From these methods you can access things like Blog, Menu, and Filter data, amongst others.
Ajax Method Group: Ajax_Frontend_Members
sendVerificationRequest
Overview
Permission Required: None
Method Call: /ajax/Ajax_Frontend_Members_Email_Verify/sendVerificationRequest
Aurora Demo Example: https://demo.auroracommerce.com/members/email/verify/
This method sends out an email verification request to the currently registered email address of the currently logged-in user.
Method Description
This method requires no parameters to be passed and is only able to send out requests to the user that is currently logged-in.
Data Returned
On success, the following will be returned.
{
"success": 1
}
Errors
If the request fails then the response returned will have a success value of 0 and an error message will be included if appropriate.
If there is no template setup for the email verification, then the following error will be displayed and no email sent to the user.
{ "success": 0, "error": { "code": 1, "message": "Order Email template for \u0022verify_email\u0022 not found." } }
See the Order Email Verification Template support article for help creating the necessary email templates.
If called without an authenticated session present (i.e. called by a user that has not yet logged in), this script returns a simple failure message as shown below.
{ "success": 0, "error": { "code": 1, "message": "Access denied." } }
Related Aurora Demo Example JS
example.com/_js/members_email_verification.js
Updated about 2 years ago