Foros del Web » Estrategias Digitales y Negocios Online » Negocios »

DIineroMail --- ayuda y solucion

Estas en el tema de DIineroMail --- ayuda y solucion en el foro de Negocios en Foros del Web. hola tengo un pequeño problemita, yo tengo un hosting y le agregue el oscommerce de un pack que tiene ellos llamado amigo. el script de ...
  #1 (permalink)  
Antiguo 22/03/2009, 22:07
capitank
Invitado
 
Mensajes: n/a
Puntos:
DIineroMail --- ayuda y solucion

hola tengo un pequeño problemita, yo tengo un hosting y le agregue el oscommerce de un pack que tiene ellos llamado amigo.
el script de dinero mail o .php que tengo que lo pondre aca en otro mensajey hay que ponerlo en :
/oscommerce/catalog/includes/modules/payment
es el diorectorio del server ftp.
ahora bien....
yo agrego directo el .php en esa carpeta ultima payment y me da el siguiente error en el back end del oscommrce:
Warning: include(I:\FerozoWebHosting\paraisomodels.com\publ ic_html\oscommerce/catalog/includes/languages/espanol/modules/payment/dineromail.php) [function.include]: failed to open stream: No such file or directory in I:\FerozoWebHosting\paraisomodels.com\public_html\ oscommerce\catalog\admin\modules.php on line 128

Warning: include() [function.include]: Failed opening 'I:\FerozoWebHosting\paraisomodels.com\public_html \oscommerce/catalog/includes/languages/espanol/modules/payment/dineromail.php' for inclusion (include_path='.;E:\php5\ext;E:\php5\PEAR;E:\php5\ PhpCommon') in I:\FerozoWebHosting\paraisomodels.com\public_html\ oscommerce\catalog\admin\modules.php on line 128
MODULE_PAYMENT_DINEROMAIL_TEXT_TITLE

o sea: me da error, no se porque.......
el .php que tengo , que baje de la web de dineromail es:
<?php
/*
$Id: dineromail.php,v 0.05 2008/04/12 15:20:15 fajs Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2003 osCommerce

Released under the GNU General Public License
*/

class dineromail {
var $code, $title, $description, $enabled;


function dineromail() {
global $order;

$this->code = 'dineromail';
$this->title = MODULE_PAYMENT_DINEROMAIL_TEXT_TITLE;
$this->description = MODULE_PAYMENT_DINEROMAIL_TEXT_DESCRIPTION;
$this->sort_order = MODULE_PAYMENT_DINEROMAIL_SORT_ORDER;
$this->enabled = ((MODULE_PAYMENT_DINEROMAIL_STATUS == 'True') ? true : false);

if ((int)MODULE_PAYMENT_DINEROMAIL_ORDER_STATUS_ID > 0) {
$this->order_status = MODULE_PAYMENT_DINEROMAIL_ORDER_STATUS_ID;
}

if (is_object($order)) $this->update_status();

$this->form_action_url = 'https://www.dineromail.com/Shop/Shop_Ingreso.asp';
}

function update_status() {
global $order;

if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_DINEROMAIL_ZONE > 0) ) {
$check_flag = false;
$check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_DINEROMAIL_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");
while ($check = tep_db_fetch_array($check_query)) {
if ($check['zone_id'] < 1) {
$check_flag = true;
break;
} elseif ($check['zone_id'] == $order->billing['zone_id']) {
$check_flag = true;
break;
}
}

if ($check_flag == false) {
$this->enabled = false;
}
}
}

function javascript_validation() {
return false;
}

function selection() {
return array('id' => $this->code,
'module' => $this->title);
}

function pre_confirmation_check() {
return false;
}

function confirmation() {
return false;
}

function process_button() {
global $order, $currencies, $currency;

$my_currency = $currency;

$a = $order->info['total'];
$b = $order->info['shipping_cost'];
$c = $currencies->get_value($my_currency);
$d = $currencies->get_decimal_places($my_currency);
$total = $a * $c;
$precio = number_format($total, $d, '.', '');

$productos = "Compra en " . STORE_NAME . ": ";

for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
$productos .= "// " . $order->products[$i]['qty'] . '&nbsp;x ' . $order->products[$i]['name'];
}
if ($my_currency == 'USD'){
$TipoMoneda = '2';}else{
$TipoMoneda = '1';}


$process_button_string = tep_draw_hidden_field('NombreItem', $productos) .
tep_draw_hidden_field('TipoMoneda', $TipoMoneda) .
tep_draw_hidden_field('PrecioItem', $precio) .
tep_draw_hidden_field('usr_nombre', $order->customer['firstname']) .
tep_draw_hidden_field('usr_apellido', $order->customer['lastname']) .
tep_draw_hidden_field('usr_tel_numero', $order->customer['telephone']) .
tep_draw_hidden_field('usr_email', $order->customer['email_address']) .
tep_draw_hidden_field('E_Comercio', MODULE_PAYMENT_DINEROMAIL_ID) .
tep_draw_hidden_field('trx_id', MODULE_PAYMENT_DINEROMAIL_ID) .
tep_draw_hidden_field('image_url', '').
tep_draw_hidden_field('DireccionEnvio', '0' ) .
tep_draw_hidden_field('DireccionExito', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
tep_draw_hidden_field('DireccionFracaso', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

return $process_button_string;
}

function before_process() {
return false;
}

function after_process() {
return false;
}

function output_error() {
return false;
}

function check() {
if (!isset($this->_check)) {
$check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_DINEROMAIL_STATUS'");
$this->_check = tep_db_num_rows($check_query);
}
return $this->_check;
}

function install() {
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable dineromail Module', 'MODULE_PAYMENT_DINEROMAIL_STATUS', 'True', 'Habilitar DineroMail como Medio de Pago?', '6', '3', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('E_Comercio', 'MODULE_PAYMENT_DINEROMAIL_ID', '99999', 'Numero de Cuenta', '6', '4', now())");
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort order of display.', 'MODULE_PAYMENT_DINEROMAIL_SORT_ORDER', '0', 'Orden', '6', '0', now())");

}

function remove() {
tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");
}

function keys() {
return array('MODULE_PAYMENT_DINEROMAIL_STATUS', 'MODULE_PAYMENT_DINEROMAIL_ID', 'MODULE_PAYMENT_DINEROMAIL_SORT_ORDER', );
}
}
?>




alguien me puede ayudar, gracias.
  #2 (permalink)  
Antiguo 26/03/2009, 12:41
 
Fecha de Ingreso: enero-2008
Ubicación: Argentina - la plata
Mensajes: 793
Antigüedad: 16 años, 3 meses
Puntos: 21
Respuesta: DIineroMail --- ayuda y solucion

pudiste solucionar con lo que te comente ?
__________________
negocios, dinero y franquicias
  #3 (permalink)  
Antiguo 27/03/2009, 02:14
 
Fecha de Ingreso: mayo-2008
Mensajes: 793
Antigüedad: 16 años
Puntos: 13
Respuesta: DIineroMail --- ayuda y solucion

Sino tambien en dineromail te deberian solucionar el problema, ya que a ellos les interesa que tu hagas negocios con ellos.
__________________
Publicidad
Noticias de Tecnologia
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:30.