Support

Home Forums Event Espresso Premium Worldpay Integration

Worldpay Integration

Posted: July 5, 2013 at 6:28 am


Rachael Richards

July 5, 2013 at 6:28 am

Hi

I have a couple of issues in regards to the Worldpay integration I hope you can help with.
1. The adddress details are being collected in Event Espresso, but are not being passed through to Worldpay. How do we do this?
2. The thank you page (after payment) is set to http://www.clientdevelopment.co.uk/gaga/thank-you/, but after payment, we get a standard worldpay thank you page and it doesn’t redirect to our website.

I hope you can help.

Thanks

Helen


Sidney Harrell

July 10, 2013 at 11:53 am

In gateways/worldpay/worldpay_vars.php, starting at line 21, you can change it to:

$myworldpay->addField('instId', $worldpay_settings['worldpay_id']);
	$myworldpay->addField('cartId', 'wp-' . event_espresso_session_id());
	$myworldpay->addField('amount', $event_cost);
	$myworldpay->addField('MC_id', $attendee_id);
	$myworldpay->addField('MC_registration_id', $registration_id);
	$myworldpay->addField('MC_type', 'worldpay');
	$myworldpay->addField('desc', $event_name);
	$myworldpay->addField('name', $fname . " " . $lname);
	$myworldpay->addField('address1', $address);
	$myworldpay->addField('town', $city);
	$myworldpay->addField('postcode', $zip);
	$myworldpay->addField('country', $country);
	$myworldpay->addField('tel', $phone);
	$myworldpay->addField('email', $attendee_email);
	$myworldpay->addField('currency', $worldpay_settings['currency_format']);

Make sure you have “Enable Shopper Response” checked in your worldpay setup.

The support post ‘Worldpay Integration’ 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