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.

Using paypal data to dynamically populate contact field

  1. This sounds more convoluted than i think it is. I just didn't know how to dscribe what I need. Here's what I'm trying to do.
    1. User completes a purchase form with Paypal and User Registration add-ons.
    2. User is sent to Paypal to complete the transaction
    3. User is sent back to a new form to finish the process by uploading photos. This form should be pre-populated with their user info (name, username, and or email).

    Can I do that with little to no coding?

    I could have the photo upload as part of the original form; however, for an easier, smoother user experience, I'd like to be able do it in the method above. I'm not a programmer, so if this require more than a minimal amount of coding, I guess I'll have to do it all on one form.

    Thanks

    Posted 8 years ago on Friday February 17, 2012 | Permalink
  2. Where are the photo uploads going? Are they simply going to be File Upload fields on your form? Are they going to be Post Image fields and the form is then going to create a Post? Provide more details on what the 2nd form is going to do and we can provide some guidance.

    As far as pre-populating fields with their user information, this is no problem as long as they are logged in. There is a merge tag specific to outputting user meta data and it can be used in the Default Value of form fields in the Form Editor.

    You can find information on merge tags here:

    http://www.gravityhelp.com/documentation/page/Merge_Tags

    Posted 8 years ago on Friday February 17, 2012 | Permalink
  3. I could go either way really. I guess file upload would be the truest function since I'm not ultimately making posts. I'm just downloading the photos to create actual printed photo galleries. I thought perhaps using the post image method, I might be able to devise a way for each customer to view the images they have submitted or perhaps install some sort of plugin that would allow the user to arrange them in a grid... but I digress.

    Posted 8 years ago on Friday February 17, 2012 | Permalink
  4. one more thing. when the user is redirected back to the site, can they be automatically logged in?

    Posted 8 years ago on Friday February 17, 2012 | Permalink