PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

What happens if multi-site creation user cancels PayPal & wants to resubscribe?

  1. Hi guys, I love GF but I have on question (pretty much as the topic name):

    If I set-up a WordPress multisite that charges people on a recurring basis to create a site with PayPal what happens if they cancel AND then decide they want to carry on later (i.e. resubscribe again with PayPal)

    I assume there is nothing in GF to handle this as it just deals with the initial blog creation / subscription set-up. However if the situation above was to occur:

    a) could GF handle the resubscribe/PayPal set-up again (I'm guessing now)
    b) if not, what other easy (hopefully) workaround is there to get the user using the same site again on a new PayPal subscription (rather than having to delete their site and start all over)

    I'm assuming for the sake of argument that their site is not deleted but maybe archived when they cease their initial PayPal subscription for argument's sake

    Hope that makes sense, thanks for making such a great plugin, Nick

    Posted 12 years ago on Sunday January 8, 2012 | Permalink
  2. Hi Nick,

    So you probably already know this will require custom code... but it might not require as much as you think. When a new site is created as part of the user registration, Gravity Forms stores the entry id of the submission that created the user/site. When the subscription is canceled, the User Registration add-on triggers the downgrade_paypal_site() function which uses the get_site_by_entry_id() function to find the site attached to the entry whose subscription was canceled.

    So... in theory, all you would need to do is update the "entry_id" site meta when the user signs up again.

    Posted 12 years ago on Tuesday January 17, 2012 | Permalink
  3. Thanks David, actually I wasn't sure so your post helped a lot. I'm pretty good with WP but I'm not that au fait with Gravity Forms customisation so is there a list of freelancers or similar you could recommend as and when I need someone to customise?

    I'd rather go down that route than just hire someone randomly from Elance

    Thanks

    Nick

    Posted 12 years ago on Monday January 23, 2012 | Permalink
  4. yellowhousedesign
    Member

    Sounds really useful - would love to know about this as well!

    Posted 12 years ago on Monday January 23, 2012 | Permalink
  5. Hi Nick,

    Here is a list of recommended developers:

    http://www.rocketgenius.com/recommended-developers/

    Posted 12 years ago on Tuesday January 24, 2012 | Permalink

This topic has been resolved and has been closed to new replies.