Adriano Faria Posted August 20, 2018 Posted August 20, 2018 Do the MemberSync extension run when someone creates a member via Rest API? Tks.
Ryan Ashbrook Posted August 20, 2018 Posted August 20, 2018 Yes, they should, as they are run centrally in \IPS\Member::save() (which the API ultimately calls).
Adriano Faria Posted August 20, 2018 Author Posted August 20, 2018 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.
Aiwa Posted August 20, 2018 Posted August 20, 2018 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.
bfarber Posted August 21, 2018 Posted August 21, 2018 Similarly we call $member->delete() so onDelete should be ran.
Adriano Faria Posted November 15, 2018 Author Posted November 15, 2018 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.
bfarber Posted November 15, 2018 Posted November 15, 2018 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).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.