I’ve implemented onMemberCreated in event.js .
The event object being passed to it after registration on Wix has an address but it’s empty ( Wix end logs ) Any help would be much appreciated been trying to figure out what’s wrong a few days already:
I am having problem with onMemberCreated also. For me the event handler isn’t firing at all. My code is in event.js as instructed in the documentation. I copied the sample code from the documentation and added console.log calls. Nothing ever shows in the logs displayed from dashboard Developer Tools>Logs
my code is below. What am I missing? The member is, in fact, created and shows up in the Contacts and Members lists in the dashboard.
export function onMemberCreated ( event ) {
console . log ( “in member created event handler in backend” );
console . log ( event );
}
I have also tried
export function wixMembers_onMemberCreated ( event ) {
console . log ( “in member created event handler in backend” );
console . log ( event );
}
Hello, if you believe you are experiencing a bug please see t his post on how to report a bug. On first glance I see nothing in particular amiss with your code.
I am also closing this post. When you have a question, please start a new post with your question instead of commenting on an old one. You will be more likely to have folks see and respond this way. You are always welcome to link relevant posts in your new question. Thanks!