• Resolved Scren

    (@scren)


    Hi,

    As well as having members sign up using the normal Paid Memberships Pro interface (with 4 membership levels set up through PMPro), I am building another area of the site where users can sign up using a Gravity Forms submission. Unfortunately I’m having difficulty setting the membership level of the new users that sign up using the GF method.

    I think I have to use the post-submission action hook from Gravity (https://www.gravityhelp.com/documentation/page/Gform_after_submission) to create a function that goes into the user profile and adjusts the PMP membership level based on what they put into the Gravity form, but I can’t figure out which part of the PMP code needs to be applied.

    Perhaps what I’m trying to do isn’t even possible?

    Can anybody give me some pointers? Many thanks

    https://www.ads-software.com/extend/plugins/paid-memberships-pro/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Scren,

    That is a customization that is beyond the out of the box basic configuration of PMPro and beyond the scope of this forum.

    We have a developer forum where Jason could help you with this.

    If you would like more guidance or hands on help implementing this solution with Paid Memberships Pro, please sign up at https://www.paidmembershipspro.com/pricing.

    @scren this is very possible with PMPro (maybe you’ve already got it figured out by now) – you want to use ‘pmpro_changeMembershipLevel($newlevel, $user_id)’, probably in a hook into where Gravity Forms creates the user.

    Thread Starter Scren

    (@scren)

    @pmpro-lisa I was thinking that might be the case. Will probably be seeing you there soon!

    @essaysnark Thanks for the tip. I must say I hadn’t figured it out, but thanks for the positive thinking! I noticed that GF user registration and PMPro user registration seemed to want to put user meta in different tables and was flummoxing myself with this, but that might not be important – I’m sure user meta can be in both. I will try and use your suggestion although I think I have to improve my understanding of how these functions are constructed first to avoid making a mess!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting Gravity Forms to update PMP membership level’ is closed to new replies.