Closed (fixed)
Project:
DineroMail Payment for Ubercart
Version:
6.x-1.6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2011 at 15:23 UTC
Updated:
1 Apr 2013 at 15:10 UTC
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
Comment #1
mpv commentedThis 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: