Jump to content

kirubanidhi

Members
  • Posts

    128
  • Joined

  • Last visited

Everything posted by kirubanidhi

  1. Resolved this problem while changing the code from AuthController.php if ([email protected]((int)Tools::getValue('months'), (int)Tools::getValue('days'), (int)Tools::getValue('years')) && !(Tools::getValue('months') == '' && Tools::getValue('days') == '' && Tools::getValue('years') == '')) $this->errors[] = Tools::displayError('Invalid date of birth'); Typecast are applied when getting value from DB.
  2. Categories and subcategories image is not showing in Front office. I attached my image file. How to resolve my problem. Please give me proper solution. http://www.pts.local/shop/c/en-default-category_default/centrifuges.jpg This is my image URL. Getting Image is not available logo.
  3. Categories and subcategories image is not showing in Front office. I attached my image file. How to resolve my problem. Please give me proper solution.
  4. Categories and subcategories image is not showing in Front office. I attached my image file. How to resolve my problem. Please give me proper solution.
  5. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this error may be available in the server error log. How to resolve this error. This problem occuring while clicking on the Add Missing Products to the index and Re-build the entire index (Preferences > Search). I am using Prestashop version 1.5.6 Not upgrade to latest version. In my front page, I search the product. It getting the error "No results were found for your search "638-5100". How to resolve my problem, Please help me,
  6. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this error may be available in the server error log. How to resolve this error. This problem occuring while clicking on the Add Missing Products to the index and Re-build the entire index (Preferences > Search). I am using Prestashop version 1.5.6 Not upgrade to latest version. In my front page, I search the product. It getting the error "No results were found for your search "638-5100". How to resolve my problem, Please help me,
  7. Check your MySql Version by using below comment, Mysql > Select Version Your version is above 5.7.21-0ubuntu0.16.04.1 Then check sql mode Mysql > SELECT [spam-filter]sql_mode After then execute the below code in your phpmyadmin or Mysql SET GLOBAL sql_mode = ''
  8. I am using Prestashop version 1.5.6. In my PrestaShop product is not show for any categories. how to resolve my problem. Can you anyone suggest me?
  9. how to add product warranty in my shopping page? Let me know the details
  10. Please change .htaccess file in your root directory. Case 1:url redirection from pts.sodexis.com/demo to pts.sodexis.com/1456-demo Case 2: url redirection from pts.sodexis.com/1456-demo to pts.sodexis.com/demo
  11. How to resolve this problem. I am using prestasshop version 1.5.6. Errors.csv file: "24 Oct 2017 18:36:33","/home2/prestashop1.5.6/public_html/controllers/front/AuthController.php: 539","(Warning) checkdate() expects parameter 1 to be long, string given" Code: if ([email protected](Tools::getValue('months'), Tools::getValue('days'), Tools::getValue('years')) && !(Tools::getValue('months') == '' && Tools::getValue('days') == '' && Tools::getValue('years') == '')) $this->errors[] = Tools::displayError('Invalid date of birth');
  12. Let me know, How to resolve this problem. In my errors.csv file. I am getting this warning message. "13 Oct 2017 10:41:07", File : "/var/www/html/cy15_pts/classes/Tools.php: line number: 758", "(Warning) include_once(/var/www/html/pts/translations//errors.php): failed to open stream: No such file or directory" "13 Oct 2017 10:41:07", File : "/var/www/html/cy15_pts/classes/Tools.php: line number: 758", "(Warning) include_once(): Failed opening '/var/www/html/pts/translations//errors.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')" Below line is my /var/www/html/cy15_pts/classes/Tools.php file code: public static function displayError($string = 'Fatal error', $htmlentities = true, Context $context = null) { global $_ERRORS; if (is_null($context)) $context = Context::getContext(); Line no:758 @include_once(_PS_TRANSLATIONS_DIR_.$context->language->iso_code.'errors.php'); }
  13. okay, Im using prestashop version 1.5.6. paypal offical module link, https://addons.prestashop.com/en/payment-card-wallet/1748-paypal-official.html I installed paypal offical module and clicked configure button. its showing "Your country is not available for this module please go on Prestashop addons to see the different possibilities" message. How to resolve this problem. can you help me.
  14. why do not come PayPal payment orders in prestashop back-office orders page? In PrestaShop back-office orders page, PayPal payment orders are not created I am using Prestashop version 1.5.6. I used to payment method for paypalusa module version 1.3.9. Module link https://addons.prestashop.com/en/payment-card-wallet/8277-.html I placed one or more order while using payment paypalusa module. All transaction is completed but PrestaShop back-office orders page, PayPal payment orders do not come in orders page. Products still there in cart page after transaction completed.
  15. In PrestaShop back-office orders page, PayPal payment orders are not created I am using Prestashop version 1.5.6. I used to payment for paypalusa module version 1.3.9. Module link https://addons.prestashop.com/en/payment-card-wallet/8277-.html I placed one or more order while using payment paypalusa module. All transaction is completed but PrestaShop back-office orders page, PayPal payment orders do not come in orders page. Products still there in cart page after transaction completed. Please give me any idea to resolve this problem.
  16. Please check your country then use below links, Support for UK now removed: This module is available for the following countries: France, Italy, the Netherlands, Luxembourg, Belgium, Spain, Portugal, Germany, Austria, Switzerland, Norway, Sweden, Finland, Denmark, Turkey, Israel, Bulgaria, Czech Republic, Poland, Greece, Hungary, Romania, Slovakia, Slovenia, Ukraine, Russia. But also Asia, Oceania and Latin America, except Mexico. For USA & Canada, please use PayPal USA & Canada module For United Kingdom & Ireland, please use Paypal Direct Payments module For Mexico please use Paypal Mexico module https://www.prestashop.com/forums/topic/520086-your-country-is-not-available-for-this-module/?p=2306638
  17. Yes, I attached proper links. Can you give me idea.
  18. Webservice api is not working . I changed '_PS_MODE_DEV_' to false. Code Config/defines_inc.php /* Debug only */ define('_PS_MODE_DEV_', false); URL 1: http://pts.local/api/orders?date=1&limit=0%2C1000&filter[date_add]=%3E[2017-09-18+06%3A11%3A38] above this url is working. URL 2: http://pts.local/api/addresses?filter[id_customer]=[28358] <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <errors> <error> <message> <![CDATA[ Internal error. To see this error please display the PHP errors. ]]> </message> </error> </errors> </prestashop> I want to work on both urls. Why first url is working and second url is not working. i dont have any idea. please let me know yours suggestion.
  19. The problem is having advanced voucher .js file Existing code: parseFloat(original_price.replace( /^\D+/g, '')) I changed replace function .js file . its working fine. New code: parseFloat(original_price.replace(/[^0-9.]+/g, ''));
  20. I did resolve my problem . I followed below update query in my orderpayment page. Code: $update="UPDATE `ps_order_payment` SET `card_number`='$card_no', `card_brand`='$card_type', `card_expiration`='$card_expire', `card_holder`='$card_holder_name' WHERE `transaction_id`=".(int)$trans_id; return Db::getInstance()->execute($update);
  21. Authorize.net transaction details is stored in database. I did resolved my problem. I followed below steps to complete my problem. Step 1: Authorizeaim/validation.php: Remove old case 1: code then add below code in validation.php line number 120 case 1: // Payment accepted // $authorizeaim->setTransactionDetail($response); $transaction_id = (string)$response[6]; // 50 => Card number (XXXX0000) $card_number = (string)substr($response[50], -4); // 51 => Card Mark (Visa, Master card) $card_brand = (string)$response[51]; $card_expiration = Tools::safeOutput($_POST['x_exp_date_m'].'/'.$_POST['x_exp_date_y']); // Card holder name $card_holder = Tools::safeOutput($_POST['name']); $transact_details=array($transaction_id,$card_number,$card_brand,$card_expiration,$card_holder); $authorizeaim->validateOrder((int)$cart->id, Configuration::get('PS_OS_PAYMENT'), (float)$response[9], $payment_method, $message, NULL, NULL, false, $customer->secure_key,$transact_details); break ; Step 2: Add below code in Classes/PaymentModule.php file line number 130 public function validateOrder($id_cart, $id_order_state, $amount_paid, $payment_method = 'Unknown', $message = null, $extra_vars = array(), $currency_special = null, $dont_touch_amount = false, $secure_key = false, $transact_details, Shop $shop = null) replaced code null to $transaction_id line number 312, if (isset($extra_vars['transaction_id'])) { $transaction_id = $extra_vars['transaction_id']; } else if(isset($transact_details)){ $transaction_id=$transact_details[0]; } line number 318, /*OrderPaymentFunction() is used to fill the transaction details in the orderpayment table and filled these details (such as transaction_id, Card number, Card Brand, Card expiration date and cardholder name) in backoffice Orders page.*/ if(isset($transact_details)){ $orderPayment=new OrderPayment(); $order_payment= $orderPayment->OrderPaymentFunction($transact_details); } Step 3: Add code in Override/Classes/PaymentModule.php file follow step 2 process in step 3 Step 4: Add below code in classes/order/Orderpayment.php file end of the line 140 /*OrderPaymentFunction() is used to fill the transaction details in the orderpayment table and filled these details (such as transaction_id, Card number, Card Brand, Card expiration date and cardholder name) in backoffice Orders page.*/ public function OrderPaymentFunction($transact_details){ if(isset($transact_details)){ $update="UPDATE `ps_order_payment` SET `card_number`='$transact_details[1]', `card_brand`='$transact_details[2]', `card_expiration`='$transact_details[3]', `card_holder`='$transact_details[4]' WHERE `transaction_id`=".(int)$transact_details[0]; return Db::getInstance()->execute($update); } }
  22. In prestashop order list view page. If it is possible to store authorize.net details information such as transaction_id, car_number, card_brand, cart_type. I refered below link but i could not find out any solution? https://stackoverflow.com/questions/34987880/php-how-to-save-transaction-details-into-database-after-successful-payment-in https://www.prestashop.com/forums/topic/450618-authorizenet-transaction-details-not-being-saved/ https://www.prestashop.com/forums/topic/348990-authorizenet-module-not-storing-transaction-details/
  23. how to resolve this error, Fatal error: Uncaught You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Express, `card_number`=0002 WHERE `order_reference` = YPCEAQCDF' in /var/www/html/cy_prestashop/classes/db/Db.php on line 791 ( ! ) PrestaShopDatabaseException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Express, `card_number`=0002 WHERE `order_reference` = YPCEAQCDF' at line 1<br /><br /><pre>UPDATE `ps_order_payment` SET `transaction_id` =60029436712, `card_brand`=American Express, `card_number`=0002 WHERE `order_reference` = YPCEAQCDF</pre> in /var/www/html/cy_prestashop/classes/db/Db.php on line 791 Code: public function orderPayment_fun($reference,$transaction_id,$card_number,$card_brand){ $value=Db::getInstance()->execute('UPDATE `'._DB_PREFIX_.'order_payment` SET `transaction_id` ='.$transaction_id.', `card_brand`='.$card_brand.', `card_number`='.$card_number.' WHERE `order_reference` = '.$reference); if($value){ echo "Updated successful"; }else{ echo "failed"; } die(); } Getting value when order is created but code is not updated to database. Transaction Id 60029436712 Card Number 0002 Card Brand American Express Order Reference YPCEAQCDF
  24. Im using prestashop version 1.5.6. I've installed and configured the free Authorize.net module from Prestashop, and have the module in test mode. I placed one order in my shop then received mail about my transaction details. Check In prestashop back-office > Orders page. Ex: i attached my order image screenshot, https://ibb.co/diakgv I checked ps_order_payment table inside transaction_id, Cart_number,Card_brand, card_expiration and Card_holder is getting empty value. How to store that all transaction value to database.
×
×
  • Create New...

Important Information

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