Magento – Datatrans configuration hint

written by netinfluence 22 juillet 2009
Magento – Datatrans configuration hint

A customer we work with uses Magento with the Datatrans Paymentgateway extension and we recently had the following issue. Customers choosing to use datatrans as the payment method did not receive an order confirmation email, although the buy process was OK.

After some time looking for a solution on the magento side, I finally found that the problem came from the datatrans configuration. The return URLs were wrong. They were logically set to the same values as you would expect for any other « non datatrans » process :

  • Success URL : http://www.website.com/index.php/checkout/onepage/success/
  • Error URL: http://www.website.com/index.php/checkout/onepage/failure/
  • Cancel URL: http://www.website.com/index.php/checkout/cart/

The problem is that datatrans still has some stuff to do before you can return to the « standard process », so the URLs you should call look more like this :

  • Success URL : http://www.website.com/index.php/datatrans/standard/success/
  • Error URL: http://www.website.com/index.php/checkout/onepage/failure/
  • Cancel URL: http://www.website.com/index.php/datatrans/standard/cancel/

And you’re on the road again, again…
Hope this helps !

You may also like

Leave a Comment


*