Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Ecommerce checkout submit gives a different error....

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

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

Page: 1
Go to End
Author Topic: 1249 Views
  • Mikee_84
    Avatar
    Community Member
    2 Posts

    Ecommerce checkout submit gives a different error.... Link to this post

    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!

  • Josh
    Avatar
    SilverStripe Developer
    65 Posts

    Re: Ecommerce checkout submit gives a different error.... Link to this post

    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!

  • Mikee_84
    Avatar
    Community Member
    2 Posts

    Re: Ecommerce checkout submit gives a different error.... Link to this post

    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?

    1249 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.