The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

When does update_or_create_entry fire?

Labels

This Discussion is public

Notifications

I'm helping someone debug a problem with a website I didn't create (developer has vanished).  There is a 'Membership' form containing all their members, then another form for "Membership payment".  When the paypal payment completes, it sets a field on the "Membership payment" form to "True".  Then there is a code snippet that fires on "update_or_create_entry", which is supposed to take that 'true' value, and set a 'true' value on the "Membership" form.  Does setting of the value from the paypal "After Payment" event cause "update_or_create_entry" to fire?  It doesn't seem to be, and if it doesn't, I don't know how this was ever really supposed to work.

after updating the field within the "Membership payment" form, there is a call to the "frm_after_update_entry" hook that allows operations to be performed after the form is submitted. In your case it probably allows to update a field in the "Membership" form.

Discussion closed.