Getting an Ogone component to work is always a PITA. In my recent “Things that frustrate me” list it’s probably in my top 3. What makes it all worse, is that it’s so very easy to break your Ogone integration.
Case in point: A client told me that, after for a long time, his Ogone integration suddenly stopped working. It was showing a cryptic error message instead of processing the sale. (Seriously, people, just tell us what’s wrong so we can fix it…)
The error above means that there’s a problem with the URL for the “order page” you’ve provided in Ogone’s (PITA) panel.
As it turns out, enabling a second language in Prestashop is enough to trigger this. When you enable a language, the URL’s change and Ogone, unable to deal with change, refuses to play nice unless you add the proper URL.
Unfortunately, it isn’t documented very well what URL you should add at this point. Until I wrote this blog post, I suppose.
What to do
1. Open your Ogone account.
2. In Technical Configuration, open the “Data and origin verification” Tab.
3. In the first field, enter the new URL. The URL should look like this: http://yoursiteurl.com/languagecode/index.php?controller=order
For example, if your site is webshop.com and you want to use English and Spanish, you’d enter the following:
http://webshop.com/en/index.php?controller=order;http://webshop.com/es/index.php?controller=order
Save your settings, and try making a payment in Prestashop. You will see that the error is gone and that your payment can now go through!