Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Ecommerce checkout submit gives a different error....


Reply


3 Posts   1336 Views

Avatar
Mikee_84

Community Member, 2 Posts

18 April 2008 at 11:00pm

Edited: 18/04/2008 11:03pm

Ok, I'm having a problem with the ecommerce and I didn't find any other topic of this kind.. There is not an actual error code, the information below comes as response when submitting an order.

"ERROR:
Error

The website server has not been able to respond to your request."

The form information however can be seen in the CMS reports, but the email includes no information about the order.

Can anyone help?

Thanks in advance!

Avatar
Josh

SilverStripe Developer, 65 Posts

19 April 2008 at 7:47am

Hi Mikee,

Are you using the DPS method as payment? Either or - I experienced this problem once because of the settings in the mysite/_config.php file.

If your DPS account is in test mode - you must set your site to development mode by putting the following code in your config file:

// Set's what environment the site is in (dev,test,live)
Director::set_environment_type('dev');

And then you will need to use the following code if you are using DPS (if your DPS account is in Test mode)

// Check if the site is in 'live' mode, use the live credentials.
// otherwise, use test credentials instead to be careful.
if(Director::isLive()) {
   DPSPayment::set_account('', '');
} else {
   DPSPayment::set_account('UserNamedev', 'yourdetails');
}

Hope this helps!

Avatar
Mikee_84

Community Member, 2 Posts

21 April 2008 at 5:34pm

Edited: 21/04/2008 5:35pm

Thanks for the answer, I will need that information later on.. but for now the site is still under development and I'm trying to test if the ecommerce module works just with the cheque as a payment option.

What might be the problem?