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?
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?
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
Hi reddishpink,
have you managed to do this as I would be interested in this and happy to pay for Worldpay integration
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
Thanks for the update Helen.