Jump to content

Problemas con Módulo Paypal


sancarroch

Recommended Posts

Hola muy buenas, recientemente me sale este error cuando el cliente ingresa a su cuenta y selecciona MIS ALERTAS o "MailAlerts" sale un signo de interrogación y cuando se pasa el cursos sobre el se muestra una información de Paypal:

5a5b864a2922b_Paypal1.thumb.png.f18e34c7d2e4cad0701a1c07178a6414.png

Quise ver a dónde llevaba dicha información pero, cuando  le di click me muestra una página en blanco:

5a5b8691d2e78_Paypal2.thumb.png.3be43b7963c6cc985feb832656906973.png

Quise ver en dónde está el error pero no sé cómo solucionarlo, me fui a los archivos: modules/paypal/about.php pero cuando ingreso allí veo esto:

<?php
/**
 * 2007-2017 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to [email protected] so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 *  @author    PrestaShop SA <[email protected]>
 *  @copyright 2007-2017 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */

require_once dirname(__FILE__).'/../../config/config.inc.php';
require_once dirname(__FILE__).'/../../init.php';

include_once dirname(__FILE__).'/paypal.php';
include_once dirname(__FILE__).'/backward_compatibility/backward.php';

$paypal = new PayPal();

$context = Context::getContext();

$id_lang = (int) ($context->cookie->id_lang ? $context->cookie->id_lang : Configuration::get('PS_LANG_DEFAULT'));
$iso_lang = Tools::strtolower(Language::getIsoById($id_lang));

$paypal->context->smarty->assign('iso_code', $iso_lang);

$display = new BWDisplay();
$display->setTemplate(_PS_MODULE_DIR_.'paypal/views/templates/front/about.tpl');
$display->run();

me fuí a donde está:

$display->setTemplate(_PS_MODULE_DIR_.'paypal/views/templates/front/about.tpl')

Estoy dentro del código de: about.tpl:

{*
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2017 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

<h1>{l s='What Is PayPal?' mod='paypal'}</h1>

<div class="paypalapi_about">
	<p>{l s='PayPal, the trusted leader in online payments, enables buyers and businesses to send and receive money online. PayPal has over 100 million member accounts in 190 countries and regions. It\'s accepted by merchants everywhere, both on and off eBay.' mod='paypal'}</p>
	<p><b>{l s='Is it safe to use?' mod='paypal'}</b></p>
	<p>{l s='PayPal helps protect your credit card information with industry-leading security and fraud prevention systems. When you use PayPal, your financial information is never shared with the merchant.' mod='paypal'}</p>
	<p><b>{l s='Why use PayPal?' mod='paypal'}</b></p>
	<p>
		<ul>
			<li>{l s='Make purchases or send money with PayPal - it\'s free' mod='paypal'}</li>
			<li>{l s='Shop and pay conveniently by saving your information with PayPal' mod='paypal'}</li>
			<li>{l s='PayPal is accepted by millions of businesses worldwide and is the preferred payment method on eBay' mod='paypal'}</li>
		</ul>
	</p>
	<p><a href="https://www.paypal.com/{$iso_code|escape:'htmlall':'UTF-8'}/cgi-bin/webscr?cmd=_registration-run&pal=TWJHHUL9AEP9C">{l s='Start using PayPal today!' mod='paypal'}</a></p>
</div>

No sé si es este es el error que me dirige en blanco a mi sitio:

</p>
	<p><a href="https://www.paypal.com/{$iso_code|escape:'htmlall':'UTF-8'}/cgi-bin/webscr?cmd=_registration-run&pal=TWJHHUL9AEP9C">{l s='Start using PayPal today!' mod='paypal'}</a></p>

Ahora quiero saber cómo soluciono eso, cómo hago para que no muestre a esa información de Paypal en MailAlerts? Pueden ayudarme?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...