Latest News: (loading..)

Gyakutsuki

Members
  • Content count

    585
  • Joined

  • Last visited

  • Days Won

    13

Gyakutsuki last won the day on November 29 2016

Gyakutsuki had the most liked content!

About Gyakutsuki

Profile Information

  • Real Name
    Loic Richard
  • Gender
    Male
  • Location
    Montreal
  • Skype
    loic.richard

Recent Profile Visitors

38,260 profile views
  1. Google present a new benchmarck : https://testmysite.thinkwithgoogle.com/ You can test, it's specialised in Mobile. My problem with the benchmark, for example for index page, there is often slider or image take place and reduce quickly the score.
  2. I create my first AI application prototype with success. That I know, every application is specific and can be use in some direction. To enhance the AI, take time to start because we must implement the first questions, look if the response is good or not, rectify, enhance ... The limit than I saw is when the AI must to give the hand at the human to continue the conversation and what is the indicator to create this action. Maybe some company work on that ? About ecommerce : It's possible to : Personalised marketing, improve the customer experience, Improve the recommandation and personnalization services by a best knowledge, ... Now the most important, in my opinion, is what do you need and want is your objective. I developped a prototype and I can have a communication with facebook messenger, on website, slack (not the best for ecommerce, it's was my first personal test), twitter soon. Also I create an exportation on the product to actualise the AI.
  3. Ok, thank you @Dan Cole
  4. Hello, I would know if someone has tested or implemented an artificial intelligence approach in this website. I am looking solution, approach and development in this moment. Do you know website seemes to use that. Some company post a chat in add on and forum in this moment. This the mode ! What do you think, what is your experience if have one ? Tk
  5. Hello Harald,
    Is it possible to add on the forum a link in the header for the contribution (https://apps.oscommerce.com). because in this moment, eveytime we must search this page.
    Tk

  6. Do you know this ? https://github.com/cocur/slugify it's not the same result ? (not sur tell me)
  7. yes more modern than the old :)
  8. Nice the new forum :)

    1. Dan Cole

      Dan Cole

      I'm starting to like it too....I guess you could say it is growing on me.:smile:

    2. Gyakutsuki

      Gyakutsuki

      yes on everybody :)

  9. hello, I will know if someone has been this thing or have an idea I am trying to develop a new apps payment module and the bank ask me a call back url. In my json I included this : "modules": { "Payment": { "HO": "Module\\Payment\\HO" } }, "routes": { "Shop": { "order&desjardins&success&ho": "Sites\\Shop\\Pages\\HO" } } The normal call back url must be index.php?order&desjardins&success&ho but in return I have this index.php?A&Payment%5CDesjardins&index.php The information of the receipt of desjardins is : index.php?order&desjardins&success&ho and is correct. The pb come from desjardins when it redirect the link (index.php?order&desjardins&success&ho) ? The pb come from a pb with the routes ? When i look who's online I have this element : /boutique/index.php?order&desjardins&success&ho. I am supposing the redirect url is correct but something wrong is make in the routes. I don't understand why i have a wrong url. Any idea to look or test ?
  10. I am closed : there the element than I have taken to resolve the situation this element allow to take the element in the session table and to use for inject in order table. if ($OSCOM_Session->exists($MoneticoPaiement_bruteVars['texte-libre'])) { $serialstring = $OSCOM_Session->read($MoneticoPaiement_bruteVars['texte-libre']); }; if(preg_match_all('/(\w+)\|(.*?)(?=(\w+)\||$)/',$serialstring,$matches)){ foreach($matches[1] as $i=>$k){ //var_dump("$k"); $v=$matches[2][$i]; // post-pipe group if(preg_match_all('/s:(\d+):"([^"]*?)"/',$v,$matches2)){ // capture string lengths and values //print_r($matches2); foreach($matches2[1] as $i=>$len){ if(($newlen=strlen($matches2[2][$i]))!=$len){ // if bad string length count, fix it $v=str_replace("s:{$len}:\"{$matches2[2][$i]}\"","s:{$newlen}:\"{$matches2[2][$i]}\"",$v); } } } if(substr_count($v,"{")>substr_count($v,"}")){ // if insufficient closing curly brackets, fix it $v.=str_repeat("}",substr_count($v,"{")-substr_count($v,"}")); } if(!in_array(substr($v,-1),[";","}"])){ $v.=";"; // append semicolon where not ending in } or ; } //var_dump($v); //echo "\n"; if($v=="N;"){ $result[$k]=NULL; // this is a workaround for an inexplicable unserialize() failure }elseif($v=='s:0:"";'){ $result[$k]=""; // this is a workaround for an inexplicable unserialize() failure }elseif($unserial=unserialize($v)){ $result[$k]=$unserial; }else{ echo "There was an error unserializing $k\n"; var_dump($v); } } } var_dump($result); var_dump('<br />---------- order----------<br />'); $order = $result['order']; var_dump($order);
  11. Hello, @Harald Ponce de Leon : could you help me ? I trying to learn how to create a bank module APP with a call back url. When I connect on the server, I have a session X When I go back on the server I have a new session Y created I need all informations about the old session X to finish the order. For exemple in the cmic / desjardins in 2.3 we have this // set the session name and save path session_name('osCsid'); session_save_path(SESSION_WRITE_DIRECTORY); // ******************************************************************************** // recuperation de l'id de session contenu dans texte-libre session_id($_REQUEST['texte-libre']); // session_id(substr($_REQUEST['texte-libre'],0,26)); // ******************************************************************************** // start the session $session_started = false; osc_session_start(); $session_started = true; if ( ($session_started == true) && (PHP_VERSION >= 4.3) && function_exists('ini_get') && (ini_get('register_globals') == false) ) { extract($_SESSION, EXTR_OVERWRITE+EXTR_REFS); } // initialize a session token if (!isset($_SESSION['sessiontoken'])) { $_SESSION['sessiontoken'] = session_id($_REQUEST['texte-libre']);; } How to translate this element in 2.4 or to have an orientation TK
  12. @Harald Ponce de Leon Hello Harald, In your plan which modules will be backported in the 2.4 app ? payment/cod shipping/flat shipping/item shipping/table shipping/zones order_total ot_lowerfee.php ot_shipping.php ot_subtotal.php ot_taxt.php ot_total.php other modules ?
  13. Ok, tk, I test it but I forgot the other files ! restest. Also it's not better to use the receiver_id ?
  14. Need information about $_POST['receiver_email'] I have a pb in this moment with this element and $_POST['receiver_email'] is always empty. I am looking to find information on the paypal return, but this information does not appear. But I saw : business. In this case, I am always redirect in shopping_cart. in your test, do you have this problem ? To resolve I inserted a comment on this line but it's not the best way solution) but in this case I have no problem with my order. Tk if ( $result != 'VERIFIED' ) { $messageStack->add_session('header', $this->app->getDef('module_ps_error_invalid_transaction')); OSCOM::redirect('shopping_cart.php'); } and if (($Qorder->fetch() === false) || ($order_id != $pptx_params['invoice']) || ($_SESSION['customer_id'] != $pptx_params['custom'])) { OSCOM::redirect('shopping_cart.php'); }