Support

Home Forums Event Espresso Premium Payment Response URL for WorldPay

Payment Response URL for WorldPay

Posted: October 21, 2017 at 5:25 am


Nic

October 21, 2017 at 5:25 am

Hi,

Is it possible to have Gravity Forms and EE3 using 1 Payment Response URL for WorldPay?

The Gravity Forms Payment Response URL for WorldPay needs to be http://mywebsite.co.uk/?page=gf_worldpay_ipn and the EE3 Payment Response URL for WorldPay needs to be http://mywebsite.co.uk/thank-you/

Within WorldPay, I can only set 1 URL.

Any help would be greatly appreciated.

Thanks
Nic


Josh

  • Support Staff

October 23, 2017 at 11:32 am

Hi Nic,

Do you know if that Gravity Forms Payment Response URL is actually a page with a shortcode or something dynamic?


Nic

October 23, 2017 at 3:16 pm

Hi Josh

Thanks for getting back to me.
The Gravity Forms Payment Response URL seems to be dynamic.

Nic


Josh

  • Support Staff

October 23, 2017 at 7:18 pm

Hi Nic,

This doesn’t seem possible without doing some refactoring of the code in either both or at least one of the two plugins involved.


Nic

October 24, 2017 at 5:07 pm

Hi Josh

I’ve managed to find the Gravity Form php file which has the 2 reference to the Payment Response URL.

I’m no php coder, but do you think I could change the 2 references within the Gravity Form file so they point to the EE3 thank you page?

The 2 references are…

$ipn_url = urlencode( get_bloginfo( ‘url’ ) . ‘/?page=gf_worldpay_ipn’ );

and

if ( rgget( ‘page’ ) != ‘gf_worldpay_ipn’ ) {

Any help would be greatly appreciated.

Thanks
Nic


Josh

  • Support Staff

October 25, 2017 at 7:02 am

Hi Nic,

That might work, and it’d be best to check with the developer of the Gravity Forms WorldPay plugin and they may be able to help you change everything over to use a different page.


Nic

October 25, 2017 at 2:39 pm

Thanks for you help Josh.
Nic

The support post ‘Payment Response URL for WorldPay’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso