Jump to content

I am facing problem on authorize.net payment gateway using one page checkout module for new user


Recommended Posts

Hi All,

 

I am using the "One Page Checkout for PS 1.5" module in my Presta shop and using "authorizeaim" module for authorize .net payment gateway.

 

My presta shop version is : PrestaShop 1.5.3.1

 

The issue is,when we tried to place a order using the authorize .net payment gateway for new register user, it will display an error "An unrecoverable error occured while retrieving you data" on the page.

 

I have investigated this issue and found this message on the validation.php file under "authorizeaim" module and the code is:

/*

 

$customer = new Customer((int)$cart->id_customer);

$invoiceAddress = new Address((int)$cart->id_address_invoice);

$deliveryAddress = new Address((int)$cart->id_address_delivery);

 

if (!Validate::isLoadedObject($customer) || !Validate::isLoadedObject($invoiceAddress))

{

Logger::addLog('Issue loading customer and/or address data');

die('An unrecoverable error occured while retrieving you data');

}

 

*/

 

Can any one help me, what is the issue and how can I resolve this...please friend help me it is very urgent and I am losing so much business due to this...:(

Link to comment
Share on other sites

I don't know if this helps but I faced a similar problem with the site of one of my clients. I removed this:

 

if (!Validate::isLoadedObject($customer) || !Validate::isLoadedObject($invoiceAddress))

{

Logger::addLog('Issue loading customer and/or address data');

die('An unrecoverable error occured while retrieving you data');

}

 

from the validation.php and now it works properly.

Link to comment
Share on other sites

×
×
  • Create New...