DamienvanHolten.com

Magento: iDeal implementation guide

Published on December 29th, 2008

Getting iDeal to work with your webshop can be tricky. With this iDeal implementation guide for Magento webstores it should go a lot smoother. This implementation guide covers the following iDeal versions:

  • ING/Postbank iDeal advanced
  • ABN iDeal advanced
  • Rabobank iDeal professional (Advanced)

1. Check the openSSL module for php

Not all hosting packages are suited for iDeal. The first thing to check if the openSSl module is active on your php webserver. You can ask your hosting provider or you can check it with a simple phpinfo() request. You’ll need openSSL to read the required security certificates.

2. Installing the iDeal module from Magento Connect

From the Magento Admin Panel navigate to the Magento Connect Manager (System > Magento Connect > Magento Connect Manger). Now get the extension key for the iDeal extension and enter it into the Connect Manager. It should be done installing the extension in a few seconds.

3. Changing the extension to work with your bank

The Magento iDeal Advanced extention was created to work with the ING bank. If you want to use it for Rabobank or ANB you’ll have to change the target url’s within the script.

You can find the target url’s in the file “magento/app/code/core/Mage/Ideal/Module/Api/Advanced.php”. You’ll find the following code around line 62 – 65.

if ($this->getConfigData('test_flag') == 1) {
$acquirerUrl = 'https://idealtest.secure-ing.com/ideal/iDeal';
} else {
$acquirerUrl = 'https://ideal.secure-ing.com/ideal/iDeal';
}

Change both to the url’s to match your bank of choice. For example: idealtest.rabobank.nl or ideal.abnamro.nl.

4. Create the openSSL certificate

Use my guide on creating OpenSSL certificates for Magento.

This results into two files: a private key (.pem) and a certificate (.cert, .cer, .crt). Take care that the certificate file you upload to the iDeal Dashboard has a ‘.cer’ extention.

5. Uploading the private key and cerficitate

Upload the private key and the cerficitate files to a directory on your Magento server, use ‘includessecurity’ for instance.

Upload the certificate file (the exact same) to the iDeal Dashboard. You will have to repeat this step since you have a iDeal test environment and a live environment. Both Dashboards should use the same certificate.

6. Put the Magento IDeal module into test modus

Navigate to the Magento iDeal module (System > Configuration > Payment Methods) and enter all the details. Use the password you used to make your private key. The merchant ID should be the same as your Acceptant ID found in your iDeal Dashboard.

Be sure to use the absolute (server) paths to the private key and certificate files. Take care to point the url’s to the locations you uploaded the files too.

Very important: set the Test Mode in Magento iDeal module to ‘yes’.

7. Make the 6 obligatory test payments.

To test your iDeal implementation and payment handling iDeal wants you to do 6 test payments. Create an aditional shipping method with a € 0 cost and create a test product that costs € 1.

Now go ahead and order this product 1, 2, 3, 4, 5, and 7 times creating orders of € 1, € 2, € 3, € 4, € 5 and € 7. You’ll get to see various errors and messages; this is all right. Just go ahead and finish your testing. If you log into your iDeal Dashboard you’ll see that the various test payments have succeeded.

8. Half a day of waiting time

If all test payments have succeeded iDeal will copy the succeeded settings from the test to the live environment. They do this about 2 to 3 times a day. Keep checking the (live) iDeal Dashboard to see if this has happened.

When everything looks right in the iDeal Dashboard the activation tab will be come – yeah, I know how this sounds – active. The moment is here… you can finaly push that ‘activate’ button.

9. Switch Magento test mode off

Navigate to the Magento iDeal module (System > Configuration > Payment Methods) and set the Test Mode setting to ‘no’. This is also a good time to check if the country settings are correctly set.

This was everything you needed too do to implement iDeal into your Magento webstore. It wasn’t that though right?

Reader Comments (8)

OpenSSL certificate for Magento http://www.reaact.net/blog/creating-openssl-certificate-for-magento/

December 29th, 2008

[…] That’s it, you’re all done. Now you can continue with the tutorial on implementing iDeal into Magento. […]

Karl

February 17th, 2009

Is this also tested and working on latest Magento version 1.2.1 ?

Damien van Holten http://www.reaact.net

February 17th, 2009

Yes, this guide should also work in version 1.2.1.

Aabid

March 16th, 2009

Can anybody help me to integrate a complete Ideal payment system from begning to end.

Damien van Holten http://www.reaact.net

March 16th, 2009

@Aabid, the company I work for DLMA (http://www.dlma.nl – dutch website) does offer iDeal/Magento training and implementation services. If you’re serious about your request I suggest you contact us (info@dlma.nl) so we can discuss this in detail.

Bijal

February 10th, 2010

Hello,

Thanks for such a wonderful tutorial, but i have a query can anyone solve it.

In 5th point of above tutorial “Upload the certificate file (the exact same) to the iDeal Dashboard. You will have to repeat this step since you have a iDeal test environment and a live environment. Both Dashboards should use the same certificate.”

What is “iDeal Dashboard”? In magento where we have to place .cer file second time? i m little bit confuse.

Plz help me in getting in a right way…

Thanks!

Inter-Reality http://www.inter-reality.com

February 11th, 2010

Any ideas why the ideal advanced option is not showing up on the checkout page? If anyone has an idea we would be very pleased.

Jake

February 13th, 2010

I have similar questions as Bijal’s: how to upload the files to “iDEAL Dashboard” since there are only one textfield “KEY”?

What if I do have dedicated SSL, do I still have to generate private keys?

The tutorial is very detailed and helpful. I appreciate it if my questions will be answered.

Leave a comment