Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Worldpay Callback Filename


colinr

Recommended Posts

Posted

I am having problems with the Worldpay module. I am currently in test mode but I get the following response when I confirm order:

 

TEST MODE - this is not a live transaction

Sorry, the merchant doesn't have any suitable accounts for this purchase!

Sorry. This merchant doesn't have any WorldPay accounts suitable for this purchase.

 

According to Worldpay help these errors indicate an incorrectly set testMode or authMode.

 

My configuration looks like this:

 

Enable WorldPay Module: True

Worldpay Installation ID: xx my ID xx

Mode: 100

Use Pre-Authorisation?: False

Pre-Auth: A

Sort order of display: 0

 

Set Order Status: default

 

I have tried enabling Use Pre-Authorisation and setting Pre-Auth to both A and E, always with the same result.

 

Using Worldpay MS1 version a (revision 1.4) with osCommerce 2.2 Milestone 1.

 

 

Also... the installation for the Worldpay module tells me to:

 

Add: define('FILENAME_WPCALLBACK', 'wpcallback.php');

To catalog/includes/filenames.php

 

I don't have this file - am I meant to create it or put this line in a different file?

 

Hope I'm missing something simple, osCommerce has been brilliantly straightforward up to this point :)

 

--

Colin

Posted
Also... the installation for the Worldpay module tells me to:

 

Add: define('FILENAME_WPCALLBACK', 'wpcallback.php');

To catalog/includes/filenames.php

 

I don't have this file - am I meant to create it or put this line in a different file?

Place that information into your catalog/includes/application_top.php file instead.

 

Perhaps the rest of your troubles will be resolved when you add that line?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Thanks, that's all set up nicely now.

 

Unfortunately I get the error message still but just got a response from Worldpay and it appears the account isn't set up properly which would explain the rest.

 

Cheers

-Colin

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...