Jump to content

Authorize.net module is not showing up as a payment method on checkout page


Recommended Posts

Hello :)

I am new to prestashop and continuously facing problems. I have already purchased t themes worth $150 each and they didn't work with my version of prestashop. But thats the other story.

 

Problem: When I go to the checkout page. Authorize.net does not show up as a payment method. I have installed and configured the module.

I am using 1.4.7 prestashop.

 

Shop URL: butchbydesign.com

You can use this login information on the checkout page

Email: [email protected]

password: hqhqhqhq

 

Kindly help.

Link to comment
Share on other sites

DesignHaus42- You are right Authorize.net needs SSL for AIM. But question is why it is not showing up? If I will see that yes it will work only then I will make my mind to buy SSL. Please advice. Are you sure not having SSL is the issue?

 

One more question- I am currently in pakistan, Can this be a reason that this payment method is not showing up?

Link to comment
Share on other sites

The reason it is not showing up is because you need the ssl for it. It does not matter that you are in pakistan, severs are hosted all over the world. The only things that really matter are having an ssl certificate and where the end buyer is located.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

here is code to replace for work authorize.net module with out ssl certificate(just remove if codition for SSL in code)

 

/modules/authorizeaim/authorizeaim.php

 

current code:-

 

      if (Configuration::get('PS_SSL_ENABLED') || (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off'))

        {

            $isFailed = Tools::getValue('aimerror');



            $cards = array();

            $cards['visa'] = Configuration::get('AUTHORIZE_AIM_CARD_VISA') == 'on';

            $cards['mastercard'] = Configuration::get('AUTHORIZE_AIM_CARD_MASTERCARD') == 'on';

            $cards['discover'] = Configuration::get('AUTHORIZE_AIM_CARD_DISCOVER') == 'on';

            $cards['ax'] = Configuration::get('AUTHORIZE_AIM_CARD_AX') == 'on';



            if (method_exists('Tools', 'getShopDomainSsl'))



            else





            $this->context->smarty->assign('x_invoice_num', (int)$params['cart']->id);

            $this->context->smarty->assign('cards', $cards);

            $this->context->smarty->assign('isFailed', $isFailed);

            $this->context->smarty->assign('new_base_dir', $url);



            return $this->display(__FILE__, 'authorizeaim.tpl');

       }
 

 

replace code:-

 

/*        if (Configuration::get('PS_SSL_ENABLED') || (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off'))

        {
*/
            $isFailed = Tools::getValue('aimerror');



            $cards = array();

            $cards['visa'] = Configuration::get('AUTHORIZE_AIM_CARD_VISA') == 'on';

            $cards['mastercard'] = Configuration::get('AUTHORIZE_AIM_CARD_MASTERCARD') == 'on';

            $cards['discover'] = Configuration::get('AUTHORIZE_AIM_CARD_DISCOVER') == 'on';

            $cards['ax'] = Configuration::get('AUTHORIZE_AIM_CARD_AX') == 'on';



            if (method_exists('Tools', 'getShopDomainSsl'))



            else





            $this->context->smarty->assign('x_invoice_num', (int)$params['cart']->id);

            $this->context->smarty->assign('cards', $cards);

            $this->context->smarty->assign('isFailed', $isFailed);

            $this->context->smarty->assign('new_base_dir', $url);



            return $this->display(__FILE__, 'authorizeaim.tpl');

/*        }
*/

Link to comment
Share on other sites

wo wo wo man! it's for those user who want authorize.net without SSL.for your information ,,in old version of authorise.net .it being working without ssl .they just change d code in new version ..and about accept credit cards on your website without the use of an SSL certificate,,you mean they are all fool who using older version of authorize.net lolllzzz

Link to comment
Share on other sites

no dear..it is not good thing to use credit card without ssl in website. as i said earilar ,if you want use authorize.net module without ssl than you can use/change above code.i know it's not secure .basically who want to test authorize.net module without ssl than it will help this..dont panic dear.... :)

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...