Jump to content

thiagorobis

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by thiagorobis

  1. After 3 days of persistence, I believe I've finally gotten the module working.

     

    It turns out it was indeed a fault of the module itself.

     

    Thanks to the help of affect on the #prestashop IRC channel via Freenode.

     

    Here's a copy of our IRC conversation, since I don't think I could really properly format the entire issue here:

     

     

    <affect> with half of the items resetting to none on error

    <affect> true, doesn't get displayed

    <affect> if ($hipayAccount AND $hipayPassword AND $hipaySiteId AND $hipayCategory AND Configuration::get('HIPAY_RATING'))

    <affect> well

    <affect> if it doesn't get displayed then one of these fails

    <affect> and for me, it's all empty strings

    <affect> and their module is as ugly as their website

    <Ichigo> affect, Ahah :/

    <affect> well

    <affect> var_dump($currency->iso_code);

    <affect> that shows GBP somehow

    <affect> $currency = new Currency($this->getModuleCurrency($cart));

    <affect> var_dump($currency->iso_code);

    <affect> I mean this

    <affect> although my cart has EUR

    <Ichigo> Mine is USD.

    <affect> oh

    <affect> it's their function

    <affect> I bet it's wrong

    <affect> ps_module_currency

    <affect> ffs

    <affect> what's this

    <affect> some ugly piece of crap

    <affect> ok I'll set EUR as default

    <Ichigo> USD is my default, heh

    <affect> and you've got hipay acc for usd?

    <Ichigo> Yeah

    <affect> string(3) "EUR" int(0) string(0) "" string(0) "" string(0) "" string(0) ""

    <affect> true

    <affect> it just fails in getting it's own data

    <Ichigo> :/

    <Ichigo> Currency: US dollar

    <affect> $hipayAccount = ($this->prod ? Configuration::get('HIPAY_ACCOUNT_'.$currency->iso_code) : Configuration::get('HIPAY_ACCOUNT_TEST_'.$currency->iso_code));

    <affect> ok

    <affect> basically

    <affect> $this->prod is empty for me

    <affect> so instead of taking my account data

    <affect> it takes some test account data

    <affect> which is empty so it doesn't display the module template

    <affect> now just to figure out what's prod

    <Ichigo> It's funny though. This bug was reported in 1.4.3

    <Ichigo> and it was said to be fixed

    <Ichigo> Maybe they just broke it further

    <affect> $this->prod = (int)Tools::getValue('HIPAY_PROD', Configuration::get('HIPAY_PROD'));

    <affect> well

    <affect> HIPAY_PROD configuration value is empty for me

    <affect> public function install()

    <affect> {

    <affect> Configuration::updateValue('HIPAY_SALT', uniqid());

    <affect> // Force using Prod mod

    <affect> Configuration::updateValue('HIPAY_PROD', 1);

    <affect> somehow that fails on install

    <affect> lemme reinstall and see

    <affect> hm it's set to 1 on install

    <affect> lol

    <affect> and then it's deleted

    <affect> on update

    <affect> good fucking job

    <affect> umm

    <Ichigo> o.O..

    <affect> bool(false)

    <affect> Configuration::updateValue('HIPAY_PROD', Tools::getValue('HIPAY_PROD'));

    <affect> yeah

    <affect> great job

    <affect> the only problem is that

    <affect> there's no element with HIPAY_PROD id or name on the page

    <affect> so basically

    <affect> it just erases the hipay_prod value when you configure the module

    <affect> and if hipay_prod is false it takes wrong account data from the db

    <affect> and if it takes wrong data it doesn't display itself on payment page.

    <Ichigo> Oh wow. :/

    <affect> =

    <affect> if you configure the module - it doesn't display itself on payment page

    <affect> clever.

    <Ichigo> Hahah.

    <affect> so if you remove that line it should work

    <affect> at least the display part

    <Ichigo> <affect> bool(false)

    <Ichigo> <affect> Configuration::updateValue('HIPAY_PROD', Tools::getValue('HIPAY_PROD'));

    <Ichigo> All of that?

    <affect> just the second line

    <affect> or just find the public function hookPayment($params)

    <affect> and add $this->prod = 1 right in the beginning

    <affect> not really sure what it's supposed to do

    <affect> but basically it looks like

    <affect> $hipayAccount = ($this->prod ? Configuration::get('HIPAY_ACCOUNT_'.$currency->iso_code) : Configuration::get('HIPAY_ACCOUNT_TEST_'.$currency->iso_code));

    <affect> that should be vice versa

    <affect> if $this->prod is set means the module hasn't been updated yet so it should take test values

    <affect> if it's not set it should take user-defined values

    <affect> they're doing the opposite

    <Ichigo> Deleting Configuration::updateValue('HIPAY_PROD', Tools::getValue('HIPAY_PROD')); didn't seem to do anything sadly. :/

    <affect> you'll have to either reinstall the module or set HIPAY_PROD to your db

    <affect> in your db*

    <affect> fakdfjaskdff

    <affect> I MEAN.

    <affect> set HIPAY_PROD to 1 in your db

     

     

     

    So basically, the simple fix is to open your prestashop database, select the ps_configuration table, and find the row with the name "HIPAY_PROD"

     

    For me, the value field was completely blank. You need to change the value field to "1"

    If you're using phpMyAdmin, you may need to delete the row, the re-insert it using the same information (excluding the value field).

     

    So afterwards it should look something like this:

    post-277913-0-67715800-1313009130_thumb.png

     

    Works very well here!

    Thank you

  2. Добрый день,

    Спасибо за модуль. Настроен правильно, но когда я получаю на страницу оплаты LiqPay следующее сообщение об ошибке:

    Error! Information is not transferred to the purchase.

    Некорректный тип операции (<action> таг)

    [/left]

    Кто-нибудь знает, что может быть?

    признательный

  3. Hello!

    I wonder what happened after recent changes in Google Translate API, since it is now impossible to translate using the link available next to the field traduação present in the latest version of PrestaShop.

    An alternative is to use the API Bing, which is free and deisponivel.

    Apparently the Google API, version 2.0, it pays to be used as it was used before.

    Someone already has a report of what is happening?

    Grateful

  4. Hello,

    I'm having problems with the module MoneyBookers.

    It is on the version 1.5 by PrestaShop and is properly configured.

    The following is happening:

    When my customer pays using methods like bank transfer, Moneybookers whose verification takes longer, it does not perform automatic return, ie, the status of the payment remains Awaiting bank wire payment even if the payment has been received by MoneyBookers.

    It dosen't happened for payment by credit card, whose status is updated in time.

    What should I do?

     

    Thank you all!

  5. Hello MrBaseball34 and friends!

    Thanks for the reply.

    I used gave me the hint that it did not work. The page at the time of checkout is in part blank, and the code stops running.

    The error log in PHP / Apache is the following:

    ?PHP Fatal error: Call to undefined method OrderConfirmationController::getOrderTotal() in

     

     

    I'm having so much trouble with this, it is essential to my shop and I can not in any way to get the full amount of the request.

     

    I've used the following:

    $this->total_paid_real;
    (float)($this->total_paid_real);
    $this->getOrderTotal(); 
    $cart->getOrderTotal();

     

     

    None worked.

    But when I used this one, they worked:

    $this->id_order;

     

    Is there any other ideas?

     

    Hugs

  6. Hello guys!

    Please, I need a little help.

     

    What is the variable to be used in the OrderConfirmationController.php file

    in order to display the Cost of the purchase (the discounted cost).

     

     

    I already tried this one, with no sucess:

     

    $this->total_paid_real;
    
    $this->total_paid;

     

    But, when I tried to get the order ID using this:

     

    $this->id_order;

     

    I can without problems.

     

    Somebody can help me finger out?

     

    Thank you

  7. Ahora es el módulo que se va aumentar sus ventas.

    El "Buscapé", es una compañía comparación de precios en América Latina,siendo líder en este segmento.

    Comparable a una gran base de datos de productos, proveedores, y las revisiones, la publicidadcon Buscapé es sinónimo de aumentar la visibilidad, y por lo tanto, las ventas!

    Con este módulo, ahora usted puede integrar suinventario de productos todo en su página de Buscapé distribuidor.

    Ver las características:

    * Fácil instalación;

    * El acceso para el área de Administración;

    * Exportación de todos los datos necesarios para integrar el cohete, incluyendo el precio, fotos,descripción, categoría, y más;

    * Genera un alimento que se pueden actualizar automáticamente con la adición de nuevos productos o categorías;

    * Soporte por correo electrónico directamente con los desarrolladores,

     

    Veja ahora y conseguir que sucomplemento "Buscapé" que aparezcan en el portal de comparación de compras más grande de América Latina!

     

    Veja aji >> http://addons.prestashop.com/en/merchandizing/3344-buscape.html

  8. Now is the module that will boost your sales.

    The "Buscapé" is a price comparison company in Latin America, being a leader in this segment.

    Comparable to a large database of products, vendors, and reviews, advertising with Buscapé is synonymous to increase visibility, and therefore sales! With this module, now you can integrate your entire product inventory on your dealer page Buscapé.

    See the features:

    * Easy installation;

    * Access for the area of ​​Administration;

    * Export all the data needed to integrate the Rocket, including price, photo, description, category, and more;

    * Generates a feed that can be automatically updated with the addition of new products or categories;

    * Support by e-mail directly with developers;

     

    See now and get your addon "Buscapé" to appear in the largest comparison shopping portal in Latin America!

     

    See that here >> http://addons.prestashop.com/en/merchandizing/3344-buscape.html

  9. Bonjour à tous,

    je viens vous présenter un module que j'ai développé et que j'utilise depuis plus d'un mois sur mon ecommerce.

    Il s'agit d'un module qui va permettre à vos client d'obtenir immédiatement un bon de réduction, sur leur commande en cours, s'il partage sur Facebook les produit qu'ils vont acheter.

    L'avantage de ce module, c'est qu'il va utiliser Facebook comme moyen de communication et augmenter assez rapidement votre potentiel de vente.

    De plus Facebook commence à devenir un acteur important dans l'orientation des recherches de Google. L'échange de lien effectué par ce module va accroitre votre présence sur le réseau de FaceBook et Google en tient compte !!

    Ce module est compatible PS1.3.x et 1.4.x

    Vous trouverez toutes les informations concernant ce module ici :

    http://modules-prest....jnservices.fr/

    N'hésitez pas à me contacter si vous avez des questions ou des problèmes d'installation.

    Merci

     

     

     

    Hello!

    I'm trying to get the module Modules JnSocialReduc, however, he is no longer available in PrestaShop store. When trying to get through your site, I can not, because there is an error message in PayPal, because the field state is necessary, and I'm from Brazil and the states of Brazil are not listed, I can not make the purchase.

    In this sense, how can you buy the module?

    grateful

     

     

    Bonjour!

    J'essaie d'obtenir le module de modules JnSocialReduc, cependant, il n'est plus disponible en boutique PrestaShop. Lorsque vous essayez de passer à travers votre site, je ne peux pas, parce qu'il ya un message d'erreur dans PayPal, parce que l'état de terrain est nécessaire, et je suis du Brésil et les Etats du Brésil ne sont pas répertoriés, je ne peux pas faire l'achat.

    En ce sens, comment pouvez-vous acheter le module?

    reconnaissante

  10. Hello!

    I'm trying to get the module Modules JnSocialReduc, however, he is no longer available in PrestaShop store. When trying to get through your site, I can not, because there is an error message in PayPal, because the field state is necessary, and I'm from Brazil and the states of Brazil are not listed, I can not make the purchase.

    In this sense, how can you buy the module?

    grateful

     

     

    Bonjour!

    J'essaie d'obtenir le module de modules JnSocialReduc, cependant, il n'est plus disponible en boutique PrestaShop. Lorsque vous essayez de passer à travers votre site, je ne peux pas, parce qu'il ya un message d'erreur dans PayPal, parce que l'état de terrain est nécessaire, et je suis du Brésil et les Etats du Brésil ne sont pas répertoriés, je ne peux pas faire l'achat.

    En ce sens, comment pouvez-vous acheter le module?

    reconnaissante

  11. Live Agent is a full featured help desk and live chat software integrated into one support platform.

    QualityUnit focused during development of this software mainly on usability and user experience.

    You will not find in this application strange buttons or fields, which nobody needs.

    Support agent working with this piece of software can be fully focused on resolution of problem in opened conversation.

    A conversation can be mixed to the list of emails and chats from one customer, what gives you full overview about his issue.

    Comparing to any other help desk software integrated with other live chat software it is clear advantage.

    With this module, you can easily integrate their chat LiveAgent in your PrestaShop store.

    Tested on all versions, the module works flawless and features quick installation.

    In addition, you have full support for the site, and even a video tutorial on how to proceed with the installation.

     

    Language Support: English, Portuguese, German, Italian, Spanish, French, Portuguese Brazilian

     

    View this at PrestaShop Addon Store >> http://addons.prestashop.com/en/front-office-features/2997-liveagent-by-qualituniy-block.html

    post-95604-0-70661700-1313701255_thumb.jpg

    post-95604-0-30482300-1313701269_thumb.jpg

    post-95604-0-61902500-1313701281_thumb.jpg

  12. Hi,
    I am having problem with the cron job for customers follow up.
    My cron job is something like this:
    /ramdisk/bin/php5 -q //public_html/modules/followup/cron.php?secure_key=XXXXXXX
    every time it runs I get this error message "No input file specified."
    If I run it manually then no problem. Is this a bug with Prestashop or is this something to do with my web host? How can I fix this?


    I got the same error here, and don't know what I have to do!
    My server is a 1&1;VPS.
  13. I have a question on building a module.
    I need to calculate the difference in days between a status and other status changed then send an e-mail notification.
    For example, if between the date of purchase and today went up to 10 days, send e-mail. Otherwise, do not send e-mail.
    I'm trying to implement this function using a module and calling the hook hookUpdateOrderStatus.
    However, I am not able to get the date of the order in question, so the function is not working.
    I try used this one, but dosen't work at all:

    $order->date_add;
    
    AND
    
    $params['date_add']


    One would like to help please.
    Grateful

  14. [Doubt] Forms of payment according to the value of the cart

    Hello everybody!
    My question is:


    I wonder if it is to enable a mode of payment only for orders above a certain value.



    For example:
    Purchases over $ 300.00 empower the bank transfer option. Values <$ 300.00 not display bank transfer as option for the client, displaying other options.

    If anyone knows how to do, then please tell me how. :)

    Thanks!
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More