File upload after paypal check out

  • Profile Image
    podlegoop
    Asked on March 02, 2013 at 12:58 PM

    Hello. I'm working on a form for something and I'm having a hard time solving this logic. I need a form with a paypal checkout and a file upload. Here's the catch, I need the file uplaod after the payment. This is critical because I'll be asking for fairly long downloads and that before the purchase could be bad. Also, the upload will go to my dropbox and I'll be using the unique id to give the job and folder in dropbox a unique number for tracking. Any Ideas?

  • Profile Image
    KadeJM
    Answered on March 02, 2013 at 02:21 PM

    I think a possible way to do this would be to create a form with your Paypal Integration as your Payment Method then you can have it redirect via a Custom Url with a Thank You Page setting to redirect to a second form where you could then allow uploads to be accepted.

    Please see this main form as an example of how this would work  http://form.jotform.us/form/30605652173146 and it is connected to this form http://form.jotform.us/form/30605142351138 for uploads.

  • Profile Image
    podlegoop
    Answered on March 02, 2013 at 10:09 PM

    Yeah, I figured you'd say that. Here's the problem though. I'd like to have an "order number" via unique id. The id should be the same for the order part and the upload part. Any way to make this happen. The forms would have to talk to each other I'm assuming which I'm not sure is possible. 

    I'm not sure this is totally needed though. That's what I mean about the logic part. I'm also trying to figure out how to incorperate getting them to sign up for a user account on my web site during this whole process (which I do have). I'd love to be able to have that integrated, but I'm just not sure how. 

  • Profile Image
    sidharth_kch
    Answered on March 03, 2013 at 07:22 AM

    @ podlegoop

    In addition to the solution provided by Kade. What you can do is have your Unique ID accessible in your thank you page. When you get this Unique ID you can add your javascript logic before allowing users to uploads.

    Please refer this guide: http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    Hope this helps you.

    Thanks,

    Sidharth

  • Profile Image
    podlegoop
    Answered on March 05, 2013 at 11:35 AM

    hmmm... this sounds a bit over my head as I don't know Java or PHP. I only know HTML and CSS. Also, this site is a wordpress based site so I'm not sure how that would effect things. 

  • Profile Image
    EltonCris
    Answered on March 05, 2013 at 01:34 PM

    @podlegoop

    My suggestion would be to use prepopulation method. You can prepopulate the Unique ID value from your 1st form to your 2nd form by using a hidden box field. Simply use the 2nd form URL, append the hidden box name and the unique field tag from the 1st form. Example:

    https://www.jotform.com/form/1234567890?hiddeboxname={uniqueid}

    Where,

    https://www.jotform.com/form/1234567890 - the 2nd form URL

    ?hiddeboxname - the name of the hidden box field on your 2nd form. Getting field names is explained on the prepopulation guide.

    {uniqueid} - is the unique ID field tag from your first form. To get it, simply right click the Unique ID field, select Show Properties and copy it below.

    After that, paste this URL on your first's form thank you message. Check this screen.

    If you have difficulties following this guide, let us know so we can assist you further. Thanks!