Ogone Alias pending and DirectLink error - Paul Meștereagă
Programming

Ogone Alias pending and DirectLink error

I was trying to configure Ogone Alias Manager in a Magento shop and got the error message bellow. Also the status of the alias in Magento was pending even though the payment was passing. Here is what [...]

author

Paul Mestereaga

October 31, 2016

1. The Problem

I was trying to configure Ogone Alias Manager in a Magento shop and I got the error message bellow. Also the status of the alias in Magento was pending even though the payment was passing.

 
Response: a:9:{s:7:"orderID";s:6:"509497";s:5:"PAYID";s:1:"0";s:7:"NCERROR";s:8:"50001111";s:10:"ACCEPTANCE";s:0:"";s:6:"STATUS";s:1:"0";}

So you can see the NCERROR code 50001111. According to Ogone, this is “Data validation error”. In my case the alias was saved in the database and Ogone account, but at checkout the alias was not received from Ogone and I got that error response.

2. The Cause

Even though you can find some possible solutions to this error here and here, none of that worked for me!

My problem was on the checkout page but after a lot of debugging I found the problem. To encode the alias data, the Ogone module is using the SHA1 encoded address string. The address hash used to generate it was different than the one used to get it form database and activate it. Because I was using the OneStepCheckout extension, the address was not taken entirely.

3. The Solution

Deactivating the OneStepCheckout extension everything worked perfectly. I got in contact with the Ogone support, which by the way is great, I was confirmed that Netresearch_OPS extension id not compatible with Idev_OneStepCheckout. Using the Ogone Alias Manager with this extension is impossible or too much work to make it compatible. If you find yourself in the same situation don’t hustle anymore, change either one of the extension.

Magento 2 from Zero to Beginner Free Online Course

In 10 hours you will have all the basic knowledge so that you could develop your modules without wandering around how to implement stuff.

Related Posts

Magento checkout optimization

15 Dec 2022

|

Paul Mestereaga

Optimizing the checkout process on your Magento eCommerce website is essential for increasing conversions and improving customer satisfaction. A seamless checkout experience can make all the difference in the success of your online store.

3 Things That Kill Your Magento Store’s Conversion Rate

10 Dec 2021

|

Paul Mestereaga

The store receives a lot of traffic, and you market to the right audience. The brand is actively promoted on social media and succeeds in SEO, so the marketing efforts appear to be working.
But what if it doesn’t lead to many sales?

optimize-magento-preview

FREE!

Magento 2
Optimization guide

Wondered how you can make your Magento load faster? Wonder no more. Here is a step by step guide that helps you.