17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1175 Views |
-
Ecommerce checkout submit gives a different error....

18 April 2008 at 11:00pm Last edited: 18 April 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:
ErrorThe 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!
-
Re: Ecommerce checkout submit gives a different error....

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!
-
Re: Ecommerce checkout submit gives a different error....

21 April 2008 at 5:34pm Last edited: 21 April 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?
| 1175 Views | ||
|
Page:
1
|
Go to Top |


