Jump to content

SCrow

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Location
    Tennessee
  • Activity
    User/Merchant

SCrow's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. Just finally heard back from the hosting provider (HostGator). Since I am on a shared hosting service, they won't update the ICU. However, I just changed my site to PHP 7.4... AGAIN.. and now I can get into the back office. All of my site is in another folder, so I am trying to figure out how to get my theme and data moved. This is just CRAZY! I had already tried every version of PHP that was available to configure my site, and none of them worked. Thank you everyone for your help.
  2. I am getting this same error and can't access the BackOffice. I did a manual install of the 1.7.7.1 version because my previous site stopped responding. [25-Jan-2021 01:36:46 US/Central] PHP Warning: Use of undefined constant INTL_IDNA_VARIANT_UTS46 - assumed 'INTL_IDNA_VARIANT_UTS46' (this will throw an Error in a future version of PHP) in /home1/xxxxxxxx/public_html/src/Core/Util/InternationalizedDomainNameConverter.php on line 47 If you find a solution, please let me know.
  3. Could you please explain what you did to fix it? I lost my entire site, and just installed a new site. I can see the sample front end, but nothing launches in the back end. It's just the window with the name of my shop.
  4. All, I am a Prestashop idiot. I tried to upgrade my shop last night with 1-Click upgrade. It all seemed to go well, and I received a message that the upgrade was successful, but I couldn't access the Modules section. I ended up having to change my PHP version to 5.5 on my cPanel for HostGator. Now I can access Modules. The real problem is that all of my product pages are "gone". When I click on a product, I get error 404, page can't be found. I can see the products in the back office. I tried to find solutions on the forums. I have cleared the cache and disabled non Prestashop modules. Neither of these made any difference. I also tried to restore to my previous version in the 1-Click upgrade module, but it doesn't do anything at all. Any ideas that anyone could give would be greatly appreciated. Thank you, Susanne UPDATE1: I turned on debugging. I get the following message when I navigate through pages on my back office: Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize….homepath/public_html/classes/Rijndael.php on line 68 Line 68 in that file is: return substr(mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $this->_key, base64_decode($ciphertext), MCRYPT_MODE_CBC, $this->_iv), 0, $length); UPDATE 2: I resolved the issue with the mcrypt_decrypt error be restoring my homepath/public_html/classes/Rijndael.php file to the previous version before the upgrade. UPDATE 3: The Associations page is not able to load for any products in Chrome. I can load that page in Microsoft Edge. I got an error that I couldn't save an update to a product because it didn't have any categories configured. When I view the Associations in Microsoft Edge, the categories are there.
  5. I am getting this same error and I am in desperate need of help. Our store can't process credit cards since October 11, 2016. The payment gateway (eProcessingNetwork) changed their connection requirements to TLS1.2. I have tried to add the entry to force TLS1.2 in my configuration, but with no luck. I have called the hosting company (Hostgator) and they have confirmed that TLS1.2 is enabled on the hosting server. Also, the hosting server is running cURL 7.19.x, and they will not update it to a later version. Below is the code for my configuration for the payment gateway through the Authorize.net AIM emulator in Prestashop. <?php /* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ include(dirname(__FILE__). '/../../config/config.inc.php'); include(dirname(__FILE__). '/../../init.php'); /* will include backward file */ include(dirname(__FILE__). '/authorizeaim.php'); $authorizeaim = new AuthorizeAIM(); /* Does the cart exist and is valid? */ $cart = Context::getContext()->cart; if (!isset($_POST['x_invoice_num'])) { Logger::addLog('Missing x_invoice_num', 4); die('An unrecoverable error occured: Missing parameter'); } if (!Validate::isLoadedObject($cart)) { Logger::addLog('Cart loading failed for cart '.(int)$_POST['x_invoice_num'], 4); die('An unrecoverable error occured with the cart '.(int)$_POST['x_invoice_num']); } if ($cart->id != $_POST['x_invoice_num']) { Logger::addLog('Conflict between cart id order and customer cart id'); die('An unrecoverable conflict error occured with the cart '.(int)$_POST['x_invoice_num']); } $customer = new Customer((int)$cart->id_customer); $invoiceAddress = new Address((int)$cart->id_address_invoice); $currency = new Currency((int)$cart->id_currency); if (!Validate::isLoadedObject($customer) || !Validate::isLoadedObject($invoiceAddress) && !Validate::isLoadedObject($currency)) { Logger::addLog('Issue loading customer, address and/or currency data'); die('An unrecoverable error occured while retrieving you data'); } $params = array( 'x_test_request' => (bool)Configuration::get('AUTHORIZE_AIM_TEST_MODE'), 'x_invoice_num' => (int)$_POST['x_invoice_num'], 'x_amount' => number_format((float)$cart->getOrderTotal(true, 3), 2, '.', ''), 'x_exp_date' => Tools::safeOutput($_POST['x_exp_date_m'].$_POST['x_exp_date_y']), 'x_address' => Tools::safeOutput($invoiceAddress->address1.' '.$invoiceAddress->address2), 'x_zip' => Tools::safeOutput($invoiceAddress->postcode), 'x_first_name' => Tools::safeOutput($customer->firstname), 'x_last_name' => Tools::safeOutput($customer->lastname), 'x_version' => '3.1', 'x_delim_data' => true, 'x_delim_char' => '|', 'x_relay_response' => false, /* removed this variable in order to pass [spam-filter] authentication with eProcessing - Susanne Crow */ /* 'x_type' => 'AUTH_CAPTURE', */ 'x_currency_code' => $currency->iso_code, 'x_method' => 'CC', 'x_solution_id' => 'A1000006', 'x_login' => Tools::safeOutput(Configuration::get('AUTHORIZE_AIM_LOGIN_ID_'.$currency->iso_code)), 'x_tran_key' => Tools::safeOutput(Configuration::get('AUTHORIZE_AIM_KEY_'.$currency->iso_code)), 'x_card_num' => Tools::safeOutput($_POST['x_card_num']), 'x_card_code' => Tools::safeOutput($_POST['x_card_code']), ); $postString = ''; foreach ($params as $key => $value) $postString .= $key.'='.urlencode($value).'&'; $postString = trim($postString, '&'); /* Added the following URL to integration with eProcessing Network */ $url = 'https://www.eProcessingNetwork.Com/cgi-bin/an/transact.pl'; /* Disabled this line for the integration with eProcessing Network */ /* Do the CURL request ro Authorize.net */ $request = curl_init($url); curl_setopt($request, CURLOPT_HEADER, 0); curl_setopt($request, CURLOPT_RETURNTRANSFER, 1); curl_setopt($request, CURLOPT_POSTFIELDS, $postString); curl_setopt($request, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($request, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($request, CURLOPT_SSLVERSION, 6); $postResponse = curl_exec($request); curl_close($request); $response = explode('|', $postResponse); if (!isset($response[7]) || !isset($response[3]) || !isset($response[9])) { $msg = 'Authorize.net returned a malformed response for cart'; if (isset($response[7])) $msg .= ' '.(int)$response[7]; Logger::addLog($msg, 4); die('Authorize.net returned a malformed response, aborted.'); } $message = $response[3]; $payment_method = 'Authorize.net AIM (Advanced Integration Method)'; switch ($response[0]) // Response code { case 1: // Payment accepted $authorizeaim->setTransactionDetail($response); $authorizeaim->validateOrder((int)$cart->id, Configuration::get('PS_OS_PAYMENT'), (float)$response[9], $payment_method, $message, NULL, NULL, false, $customer->secure_key); break ; case 4: // Hold for review $authorizeaim->validateOrder((int)$cart->id, Configuration::get('AUTHORIZE_AIM_HOLD_REVIEW_OS'), (float)$response[9], $authorizeaim->displayName, $response[3], NULL, NULL, false, $customer->secure_key); break ; default: $error_message = (isset($response[3]) && !empty($response[3])) ? urlencode(Tools::safeOutput($response[3])) : ''; $checkout_type = Configuration::get('PS_ORDER_PROCESS_TYPE') ? 'order-opc' : 'order'; $url = _PS_VERSION_ >= '1.5' ? 'index.php?controller='.$checkout_type.'&' : $checkout_type.'.php?'; $url .= 'step=3&cgv=1&aimerror=1&message='.$error_message; if (!isset($_SERVER['HTTP_REFERER']) || strstr($_SERVER['HTTP_REFERER'], 'order')) Tools::redirect($url); else if (strstr($_SERVER['HTTP_REFERER'], '?')) Tools::redirect($_SERVER['HTTP_REFERER'].'&aimerror=1&message='.$error_message, ''); else Tools::redirect($_SERVER['HTTP_REFERER'].'?aimerror=1&message='.$error_message, ''); exit; } $url = 'index.php?controller=order-confirmation&'; if (_PS_VERSION_ < '1.5') $url = 'order-confirmation.php?'; $auth_order = new Order($authorizeaim->currentOrder); Tools::redirect($url.'id_module='.(int)$authorizeaim->id.'&id_cart='.(int)$cart->id.'&key='.$auth_order->secure_key);
  6. I have this configuration working for my store. eProcessing Network is one of the only gateways that will process transactions for my completely legal products. In order to use the Authorize.net AIM emulator, you must change the following code: public_html/modules/authorizeaim/validation.php lines 94 - 100 /* Added the following URL to integration with eProcessing Network */ $url = 'https://www.eProcessingNetwork.Com/cgi-bin/an/transact.pl'; /* Disabled this line for the integration with eProcessing Network */ the other line will not let me copy into this post ---- totally random!!! Remove the x_type variable (REQUIRED FOR SECURITY) /* removed this variable in order to pass [spam-filter] authentication with eProcessing */ /* 'x_type' => 'AUTH_CAPTURE', */ To utilize the Processing Controls with the ANE you must remove the Variable X_Type completely. Do not leave it blank you must not pass it in at all. This is required if you want to ensure that you don't process stolen credit cards. If you leave this variable, it will not matter what you have configured in the Process Controls section on your eProcessing Network account. We did not know this, and we processed two fraudulent credit cards. We were able to intercept the transaction before the products actually arrived at the shipping address. This issue ended up costing us about $200, but that was better than losing the $3000 worth of merchandise that was ordered. My configuration on the Processing Controls section of eProcessing Network is as follows: Disabled Integrations Authorize.net™ Emulation - UNCHECKED DBE (Database Engine) - CHECKED TDBE (Transparent Database Engine) - CHECKED Web Order/ePNCart - CHECKED Advanced Check to use RestrictKey to Restrict TDBE/Authorize.Net™ Emulator Usage. - CHECKED Generate a key and copy it to the Authorize.Net module configuration in Prestashop > Modules TDBE/Authorize.Net™ Returns Allow return/credit transactions. – CHECKED Transaction Emails – UNCHECKED Do not send Transaction EMails to me (this does not affect emails potentially sent to cardholders). Processing Process Transactions As AuthConverts* - Authorization-Onlys automatically converted to Sales IF the transaction is approved AND the AVS response code matches one of the selected AVS response codes below AND the [spam-filter]2 response code matches one of the selected [spam-filter]2 response codes below. X - Exact Match of Address and Zip Code Y - Match of Address and 5 digit Zip Code Select [spam-filter]2 Response Codes for AuthConvert to Accept Transactions On M - Card Verification Value matches
  7. This has been changed in the US, for most states. Please let me know if there is a solution to this problem that would be compatible with Prestashop 1.5 and in English. http://money.usnews.com/money/blogs/my-money/2013/01/25/retailers-may-begin-charging-swipe-fees-on-credit-card-purchases
  8. Could you please post the actual code changes that you made to your files to resolve this issue? I am new to Prestashop, and I am trying to get my Authorize.net emulator to work with eProcessingNetwork. I am getting the exact same error as you, but I am running PS 1.5.3 and Authorize.net AIM v 1.4.4. I don't have an option to upgrade to a later version of the Authorize.net emulator. Thanks! Susanne
×
×
  • Create New...