[*] PROJECT : New Module API (part 1)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9790 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<module>
|
||||
<name>paypal</name>
|
||||
<displayName><![CDATA[PayPal]]></displayName>
|
||||
<version><![CDATA[2.8.2]]></version>
|
||||
<version><![CDATA[2.8.3]]></version>
|
||||
<description><![CDATA[Accepts payments by credit cards (CB, Visa, MasterCard, Amex, Aurore, Cofinoga, 4 stars) with PayPal.]]></description>
|
||||
<author><![CDATA[]]></author>
|
||||
<tab><![CDATA[payments_gateways]]></tab>
|
||||
|
||||
@@ -189,7 +189,7 @@ function submitAccount()
|
||||
$context->cookie->logged = 1;
|
||||
$customer->logged = 1;
|
||||
$context->cookie->email = $customer->email;
|
||||
Module::hookExec('createAccount', array(
|
||||
Hook::exec('createAccount', array(
|
||||
'_POST' => $_POST,
|
||||
'newCustomer' => $customer
|
||||
));
|
||||
@@ -238,7 +238,7 @@ function submitLogin()
|
||||
$context->cookie->email = $customer->email;
|
||||
if (Configuration::get('PS_CART_FOLLOWING') AND (empty($context->cookie->id_cart) OR Cart::getNbProducts($context->cookie->id_cart) == 0))
|
||||
$context->cookie->id_cart = Cart::lastNoneOrderedCart($customer->id);
|
||||
Module::hookExec('authentication');
|
||||
Hook::exec('authentication');
|
||||
|
||||
// Next !
|
||||
$payerID = strval(Tools::getValue('payerID'));
|
||||
|
||||
Reference in New Issue
Block a user