Worldpay Verification Test

  • Posts: 10
  • Thank you received: 0
11 years 8 months ago #93123

Hi Worldpay are testing my Business Gateway plug-in at the moment and they have sent the following request:

They ask that;

"Can we ensure that we are passing the test mode parameter of testMode=100 to the test URL
for example: <input type=hidden name="testMode" value="100">"

They advise that we consult Hikashop to help set this up? Can you help please?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #93208

Hi,

I think that you'll just have to edit the "worldpay_end.php" file of your worldpay file (hikashop/plugin/payment/worldpay), and to modify these lines :

foreach( $vars as $name => $value ) {
				echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" />';
			}
by :
foreach( $vars as $name => $value ) {
				echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" />';
			}
echo '<input type=hidden name="testMode" value="100" />';

Hope this will help you.

The following user(s) said Thank You: renewable306

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum