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.

post to third party

  1. xytras
    Member

    I'm building a multi-page order form.
    I am currently looking for a way to post the collected form data via an extra form to a third party.
    When the client then completed the payment (on the third party site) he will be send back to my site with a confirmation. I then would like to update the entry with the received payment id and status code (received via url parameters).
    Can someone explain me how I can do this?

    Posted 11 years ago on Thursday May 2, 2013 | Permalink
  2. By allowing your form fields to be populated dynamically you can pass the variables from your third party site back to your form URL by Query String: http://www.gravityhelp.com/documentation/page/Allow_field_to_be_populated_dynamically

    I hope this answers your question.

    Posted 11 years ago on Thursday May 2, 2013 | Permalink
  3. xytras
    Member

    That won't work. With gravity-form the user is ordering a product.
    In the last step of the (multi-page) form I diplay an overview of what was filled in.
    If the user then click submit the gravity form is stored in the database. But after that I should be able to send some of the entered data (name, order id, price,...) to a third party url via a hidden form (with in the action attribute the url op the third party website).
    On that website the user can complete the payment. After the payment the user will be send back to an url on my website. The third party website adds parameters to the url so I can identy the payment and update the gravity form entry in my wordpress database.
    I think this can be done, but I don't exactly know how.

    Posted 11 years ago on Friday May 3, 2013 | Permalink
  4. Correct me if I am wrong, but are you using a third-party site like Authorize.Net or PayPal to handle your payment. Gravity Forms' PayPal Add-On performs the same functionality that you are describing above with PayPal. May I inquire as to what third-party site you are using to handle your payments?

    Posted 11 years ago on Friday May 3, 2013 | Permalink
  5. xytras
    Member

    The third-party site I want to use the handle the payment is Ogone.com.
    I examined the code of the paypal add-on and it looks like it works more or less in the same way. The question is, what pieces to I need.

    Posted 11 years ago on Monday May 6, 2013 | Permalink
  6. David Peralty

    If you have the Paypal add-on and some development skill or the funds to hire someone that does, they should be able to customize it to work with the payment processor you want to use. Also, you could use our gform_after_submission hook to post data to a third party - http://www.gravityhelp.com/documentation/page/Gform_after_submission

    Posted 11 years ago on Monday May 6, 2013 | Permalink