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.

Send data to 3rd party payment system

  1. reddishpink
    Member

    Hello
    Im trying to send my form data to Worldpay. Do I use the gform_after_submission code in the form_display.php? Im not sure where to get started here? Can someone just give me a nudge in the right direction?

    Posted 11 years ago on Sunday September 9, 2012 | Permalink
  2. You do not modify any of the plugin files. All the hooks and filters mentioned in the developer documentation will go in your theme's functions.php (or sometimes, for JavaScript, in your theme's header.php) See here for documentation: http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    Yes, you use the gform_after_submission hook to send data to 3rd parties after form submission.
    http://www.gravityhelp.com/documentation/page/Gform_after_submission

    Posted 11 years ago on Sunday September 9, 2012 | Permalink
  3. Hi reddishpink,

    have you managed to do this as I would be interested in this and happy to pay for Worldpay integration

    Posted 11 years ago on Tuesday November 13, 2012 | Permalink
  4. I know this post is a bit old, but in case it helps anyone I've just done a simple integration to WorldPay for a client without any code at all. Worldpay allows you to send the details (instance id, payment amount, email etc.) in the querystring of a URL, as an alternative to using the Form HTML Redirect that is suggested in WorldPay's documentation. It's buried somewhere in the Worldpay documentation. But if you use this, along with the Gravity Forms 'Confirmation' option of a 'Redirect with Querystring parameters enabled', you can redirect the user to the WorldPay payment page on submitting the form, and include some of the fields from the form in the URL, without getting yourself bogged down in PHP at all.
    It's only a simple integration, but it worked pretty well for my project so maybe it will help someone.

    Kind Regards
    Helen

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  5. Thanks for the update Helen.

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink