Jump to content

kirubanidhi

Members
  • Content count

    121
  • Joined

  • Last visited

1 Follower

About kirubanidhi

  • Rank
    PrestaShop Enthusiast

Profile Information

  • Gender
    Male

Recent Profile Visitors

66 profile views
  1. how to add product warranty in my shopping page? Let me know the details
  2. 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
  3. 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 (!@checkdate(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');
  4. 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'); }
  5. 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.
  6. Back Office not creating orders after successful payment

    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.
  7. 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.
  8. 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
  9. Webservice api filter method is not working

    Yes, I attached proper links. Can you give me idea.
  10. 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.
  11. Discount price value problem

    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, ''));
  12. Prestashop update transaction query problem

    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);
  13. Authorize.net transaction details is not store in database

    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); } }
  14. Authorize.net transaction details is not store in database

    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/
  15. 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
×