Jump to content

ajaykakde21

Members
  • Posts

    23
  • Joined

  • Last visited

2 Followers

Profile Information

  • Location
    pune
  • Activity
    Developer

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ajaykakde21's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Yes i have install Clean URLs v0.3 - by ha!*!*y. Can you please suggest me solution how i can overcome from this problem.
  2. Hi, I have make debug mode as true and am getting following error. Please help me to resolve this. Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /home/rajnikant123/public_html/classes/PrestaShopAutoload.php on line 123 Please help me to resolve this. Prestashop 1.6.1.10
  3. Hi, Please help me to sort this out. Its really urgent for me. Currently i am not able to live my portal because of no confirmation mail to customer & admin.
  4. Hi, But the thing is when i add product to cart and procced for payment and then if i am not doing payment and can cle the order then i got mail from prestashop that your order has been canceled. Then why not customer receive mail after making payment. I had call with Payu the said there is no problem with PayU module. Please suggest me its really urgent for me. PFA
  5. Thanks for suggestion guys. i will add 20% tax on all products.
  6. Hi, I am facing Exactly same problem. Prestashop 1.6 Payumoney 2.0 Please share your solution.
  7. I have been contacted to Payu.... Waiting for there response. Apart from there support can you please help me. Its really urgent for me. Right now I have Set " Enable SSL For All Pages " -> yes. No order is created neither mail confirmation. But When I Set "Enable SSL For All Pages " -> No. then Order is created at backoffice but no mail confirmation. PFA screenshot after setting "Enable SSL For All Pages " -> No Please help me.
  8. Thanks for reply... Ok got it. For that what i need to do. PFA is the screenshot for the page which i see after payment.
  9. Hi Team, When customer makes payment after that no confirmation mail is sending to customer as well as admin. Payment is successfully credited on my Payu account. I really need your help. For reference Please see my success.php file. <?php include(dirname(__FILE__).'/../../config/config.inc.php'); include(dirname(__FILE__).'/../../init.php'); include(dirname(__FILE__).'/payubiz.php'); include(dirname(__FILE__).'/../../header.php'); include(dirname(__FILE__).'/payubiz_common.inc'); // require_once dirname(__FILE__).'/../../classes/order/Order.php'; // require_once dirname(__FILE__).'/../../classes/order/OrderHistory.php'; $payu = new payubiz(); $response=$_REQUEST; $key=Configuration::get('PAYUBIZ_MERCHANT_ID'); $salt=Configuration::get('PAYUBIZ_MERCHANT_SALT'); $log=Configuration::get('PAYUBIZ_LOGS'); $baseUrl=Tools::getShopDomain(true, true).__PS_BASE_URI__; $order_id= $response['txnid']-40000; $transactionId= $response['mihpayid']; $smarty->assign('baseUrl',$baseUrl); $smarty->assign('orderId',$order_id); $smarty->assign('transactionId',$transactionId); $amount = $response['amount']; $productinfo = $response['productinfo']; $firstname = $response['firstname'];; $email = $response['email']; if($response['status'] == 'success' || $response['status'] == 'in progress') { $Udf1 = $response['udf1']; $Udf2 = $response['udf2']; $Udf3 = $response['udf3']; $Udf4 = $response['udf4']; $Udf5 = $response['udf5']; $Udf6 = $response['udf6']; $Udf7 = $response['udf7']; $Udf8 = $response['udf8']; $Udf9 = $response['udf9']; $Udf10 = $response['udf10']; $txnid=$response['txnid']; $keyString = $key.'|'.$txnid.'|'.$amount.'|'.$productinfo.'|'.$firstname.'|'.$email.'|'.$Udf1.'|'.$Udf2.'|'.$Udf3.'|'.$Udf4.'|'.$Udf5.'|'.$Udf6.'|'.$Udf7.'|'.$Udf8.'|'.$Udf9.'|'.$Udf10; $keyArray = explode("|",$keyString); $reverseKeyArray = array_reverse($keyArray); $reverseKeyString=implode("|",$reverseKeyArray); $status=$response['status']; $saltString = $salt.'|'.$status.'|'.$reverseKeyString; $sentHashString = strtolower(hash('sha512', $saltString)); $responseHashString=$_REQUEST['hash']; if($sentHashString != $responseHashString) { $history = new OrderHistory(); $history->id_order = (int)($order_id); $history->changeIdOrderState(Configuration::get('PS_OS_ERROR'), $history->id_order); $history->add(); $smarty->display('failure.tpl'); } else { global $cart,$cookie; $total = $amount; $currency = new Currency(Tools::getValue('currency_payement', false) ? Tools::getValue('currency_payement') : $cookie->id_currency); $customer = new Customer((int)$cart->id_customer); if($response['status'] == 'success') { $payu->validateOrder((int)$cart->id, Configuration::get('PS_OS_PAYMENT'), $total, $payu->displayName, NULL, NULL, (int)$currency->id, false, $customer->secure_key); $result = Db::getInstance()->getRow('SELECT * FROM ' . _DB_PREFIX_ . 'orders WHERE id_cart = ' . (int)$cart->id); //$objOrder = new Order($result['id_order']); //order with id=1 // $history = new OrderHistory(); // $history->id_order = (int)$objOrder->id; // $objOrder->setCurrentState(Configuration::get('PS_OS_PAYMENT')); // $i = $history->changeIdOrderState(Configuration::get('PS_OS_PAYMENT'), (int)($objOrder->id)); //order status=3 } else { $payu->validateOrder((int)$cart->id, Configuration::get('PS_OS_PREPARATION'), $total, $payu->displayName, NULL, NULL, (int)$currency->id, false, $customer->secure_key); $result = Db::getInstance()->getRow('SELECT * FROM ' . _DB_PREFIX_ . 'orders WHERE id_cart = ' . (int)$cart->id); // $objOrder = new Order($result['id_order']); //order with id=1 // $history = new OrderHistory(); // $history->id_order = (int)$objOrder->id; // $objOrder->setCurrentState(Configuration::get('PS_OS_PREPARATION')); // $history->changeIdOrderState(Configuration::get('PS_OS_PREPARATION'), (int)($objOrder->id)); //order status=3 } $smarty->display('success.tpl'); $result = Db::getInstance()->getRow('SELECT * FROM ' . _DB_PREFIX_ . 'orders WHERE id_cart = ' . (int)$cart->id); if($log==1 ) { pblog( 'payubiz Data: '. print_r( $response, true ) ); $responseValue= str_replace( "'"," ",implode(",",$response)); $successQuery="update ps_payubiz_order set payment_response='$responseValue', payment_method= '".$response["payment_source"]."', payment_status= '".$response["status"]."', id_order='".$result["id_order"]."' where id_transaction= ".$response['txnid']; Db::getInstance()->Execute($successQuery); } Tools::redirectLink(__PS_BASE_URI__ . 'order-detail.php?id_order=' . $result['id_order']); } } include(dirname(__FILE__).'/../../footer.php'); ?>
  10. Hi, I have added bunch of products with respective there price but without tax i.e. No Tax. Now i would like to add 20% tax on total amount of cart value. Please help me to resole this query.
  11. HI Nemo, Thank you so much for reply. http://www.kvmswitchesindia.com/ This is the URL
  12. Hi Guys, I really need your help. I have an problem with search block top module. It search products but unbale to display an image of product. Source of an image is scr="undefined" . Please help me. I have prestashop 1.6.1.5 & theme is Warehouse , Module is Header search and custom content module v1.8 - by IQIT-COMMERCE.COM
  13. Hi There, I am using prestashop 1.6.1.5 I have removed id from URL by using cleanurls_v0.42.zip . Everything is working fine but there is 1 warning Warning: Illegal offset type in isset or empty in /home3/w3g6c9e0/public_html/www.XXX.com/classes/Tools.php on line 1394 Please help me to remove this warning i am totally confused about it. Thank you so much in adavance. PFA for Tools.php file Tools(1).php
×
×
  • Create New...