Jump to content

MemberSync on Rest API (members)

Featured Replies

Posted
  • Community Expert

Do the MemberSync extension run when someone creates a member via Rest API?

Tks.

  • Author
  • Community Expert

I got a resource that uses MemberSync (onCreateAccount and onValidate) but the user says it's not running what's in the extension.

I'll try to get more info on it.

Tks.

1 hour ago, Adriano Faria said:

I got a resource that uses MemberSync (onCreateAccount and onValidate) but the user says it's not running what's in the extension.

I'll try to get more info on it.

Tks.

I'm seeing a similar problem but with the onDelete not firing. I have more investigation to do, though. 

Similarly we call $member->delete() so onDelete should be ran.

  • 2 months later...
  • Author
  • Community Expert
On 8/20/2018 at 5:03 PM, Ryan Ashbrook said:

Yes, they should, as they are run centrally in \IPS\Member::save() (which the API ultimately calls).

Ryan, what about Commerce, probably packages? A user is saying that my app isn’t doing what it should when they create the account. 

Yes, we always use the ActiveRecord member object to create members (i.e. we do not insert members manually into the database using a direct query anywhere).

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.