The doesn't return to the site because DireccionExito and DireccionFracaso are wrong.
To fix it in uc_dineromail.module:

'success' => 'cart/dineromail/success/' . uc_cart_get_id(),
'failure' => 'cart/dineromail/failure/' . uc_cart_get_id(),

to

'success' => $GLOBALS['base_url'] . $GLOBALS['base_path'] . 'cart/dineromail/success/' . $order->order_id,
'failure' => $GLOBALS['base_url'] . $GLOBALS['base_path'] . 'cart/dineromail/failure/' . $order->order_id,

I understand this may be similar to http://drupal.org/node/615088, but it's not the same, and I propose replacing uc_cart_get_id() with $order->order_id, the latter being more useful.

Comments

mpv’s picture

Status: Active » Fixed

This has been fixed in the 6.x-2.x branch (6.x-1.x is no longer supported) but for the record, we build the urls like this:

<?php
url('cart/dineromail/failure/' . $order->order_id, array('absolute' => TRUE));
?>

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.