Error with Hipay

Discussion in 'aMember Pro v.4' started by eric_car2, Dec 14, 2012.

  1. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    Hello,

    I'm trying to configure Hipay with amember.
    I have this error in test paiement :
    An internal error happened in the script, please contact webmaster for details

    In logs I have this message (in french because french install):
    L'objet n'à pas été initialisé. Vous devez préciser un nom de produit, une quantité, un prix, une catégorie et des taxes

    Google translate -> It does not reach the object was initialized. You must specify a name of product, quantity, price, category and taxes

    Could you please help me to configure hipay ?

    Regards,
    Eric
  2. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    I have this message to :

    Exception Exception
    HIPAY_MAPI_Product->check [ application/default/plugins/payment/hipay/hipay.php : 105 ]
    Am_Paysystem_Hipay->_process [ library/Am/Paysystem/Abstract.php : 274 ]
    Am_Paysystem_Abstract->processInvoice [ library/Am/Paysystem/PayProcessMediator.php : 59 ]
    Am_Paysystem_PayProcessMediator->process [ application/default/controllers/SignupController.php : 204 ]
    SignupController->process [ library/Am/Form/Controller.php : 243 ]
    Am_Form_Controller_Action_Process->perform [ library/pear/HTML/QuickForm2/Controller.php : 302 ]
    HTML_QuickForm2_Controller->handle [ library/pear/HTML/QuickForm2/Controller/Page.php : 155 ]
    HTML_QuickForm2_Controller_Page->handle [ library/Am/Form/Signup.php : 280 ]
    Am_Form_Signup_Page->handle [ library/pear/HTML/QuickForm2/Controller/Action/Next.php : 77 ]
    HTML_QuickForm2_Controller_Action_Next->perform [ library/pear/HTML/QuickForm2/Controller.php : 302 ]
    HTML_QuickForm2_Controller->handle [ library/pear/HTML/QuickForm2/Controller/Page.php : 155 ]
    HTML_QuickForm2_Controller_Page->handle [ library/Am/Form/Signup.php : 280 ]
    Am_Form_Signup_Page->handle [ library/pear/HTML/QuickForm2/Controller.php : 267 ]
    HTML_QuickForm2_Controller->run [ library/Am/Form/Signup.php : 129 ]
    Am_Form_Signup->run [ application/default/controllers/SignupController.php : 68 ]
    SignupController->indexAction [ library/Am/Controller.php : 139 ]
    Am_Controller->_runAction [ library/Am/Controller.php : 116 ]
    Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 295 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 1671 ]
    Am_App->run [ index.php : 43 ]
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Have you select order category from plugin configuration?
    Please contact us in helpdesk, we need to troubleshoot what information is missing exactly.
    I don't see any obvious reasons for this error.
  4. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    Thank you Alex :) (Always on top)

    It's work fine now.

    Juste one thing. It's for a French website. The default language on hipay page is english. How can I do to indicate I want French for default language ?

    Regards,
    Eric
  5. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    I found a solution :

    In public_html/amember/application/default/plugins/payment/hipay/hipay.php
    I put in line 61 :
    PHP:
    $params->setLocale('fr_FR');
    instead of :
    PHP:
    $params->setLocale('en_GB');
    Could you confirme that is a good solution ? Or not ?

    Regards,
    Eric
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Sure as long as you get desired results :)

Share This Page