Jump to content

nicola.pegorer

Members
  • Content count

    8
  • Joined

  • Last visited

Profile Information

  • Real Name
    Nicola Pegorer
  1. nicola.pegorer

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Thanks Jack. I had a look to other contributions and found out that Ultimate SEO Urls 5 PRO offers exactly what I need: it is called multi language functionality. There's also an upgrade path from Ultimate SEU Urls 2 contributions to SEO 5 PRO. I'll try in my test site this kind of upgrade, because even the assistance forum of google confirmed that to be effectively indexed in different countries it's necessary to separate language sections of the site. A last question: what do you mean with "incompatibility issues" ?
  2. nicola.pegorer

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hello Jack, thanks for your reply. I'm not sure if I properly understood your answer. I'm already using the Ultimate SEO URL's 2.2d11. In my post previous post I meant that to have "language urls" like those I posted (for example with a virtual directory www.example.com/it/.. , /en/.., /de/.. etc would be very useful to effectively index the site in different countries and languages. If the contribution allowed this possibility one would be able to set a different virtual site for each language in Google Webmaster tools (see for example: http://www.google.com/support/webmasters/bin/answer.py?answer=182192 ). Kind rgds.
  3. nicola.pegorer

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hello, in order to be able to index my site separately for each language, I wonder if the Ultimate SEO Url contribution might be modified to allow the ?language=xx parameter to be included in the url to obtain a virtual language directory....I mean - for example for the product id=16 - something like: www.example.com/it/italian-product-name-p-16.html www.example.com/en/english-product-name-p-16.html etc.... Has anyone faced this problem before ? Thanks in advance for any help or suggestion.
  4. nicola.pegorer

    Official PayPal IPN Support Thread

    Hello experts, I'm using Paypal IPN v2.3.4.7 on OSC 2.2MS2. I want avoid Paypal showing the osc order_id to the customer as if it was the invoice number. The reason is that while order_id will always grow, the invoice number must restart from zero every new year. In order to do this I found the following solution: 1. change includes/modules/payment/paypal_ipn.php (aproximately line 516) from: $parameters['currency_code'] = $my_currency; $parameters['invoice'] = substr($cart_PayPal_IPN_ID, strpos($cart_PayPal_IPN_ID, '-')+1); $parameters['custom'] = $customer_id; to: $parameters['currency_code'] = $my_currency; // We don't send the variable $parameters['invoice'] to PayPal in order to avoid it to show "Invoice ID = <osc_order_id>" to the customer.... // ...but we need anyway to send the order_id to PayPal to get it back through IPN notification later. // So we use the variable 'custom' to send both customer_id and order_id separated by a ";" $parameters['custom'] = $customer_id . ";" . substr($cart_PayPal_IPN_ID, strpos($cart_PayPal_IPN_ID, '-')+1); 2. change includes/ext/modules/payment/paypal_ipn/ipn.php adding the following: // We need to separate $_POST['custom'] variable to order_id and customer_id $post_invoice = substr($_POST['custom'], strpos($_POST['custom'], ";")+1); // part of $_POST['custom'] string which comes after ';' --> order_id $post_custom = substr($_POST['custom'], 0, strpos($_POST['custom'], ";"));// part of $_POST['custom'] string before ';' --> customer_id at aproximately line 89, after: $result = curl_exec($ch); curl_close($ch); } and substituting evvery occurence of: $_POST['invoice'] with $post_invoice $_POST['custom'] with $post_custom in the rest of the file. It seems it's working fine, but I would like an opinion from someone more expert than me about possible negative consequences..... Thanks in advance for any help, opinions and suggestions !!
  5. nicola.pegorer

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hi setarkos, I installed latest versione of Ultimate SEO Url a few days ago and had the same problem: orders_id = 0 in the following tables: orders_products orders_products_attributes orders_products_download orders_status_history orders_total After searching in this forum I found out this problem was reported several times in the past and a solution was reported by mono303 in year 2005 !! You just have to change: define('USE_PCONNECT', 'true'); to: define('USE_PCONNECT', 'false'); both in admin/includes/configure.php and includes/configure.php files. This worked for me ! I mean it solved the problem of missed orders in the admin panel and order email with order_id = 0... ...BUT two other problems remains: - the customer must re-login after completing an order - after clicking on "buy" button on a list of products in a category an empty cart is shown I think I'll completely remove this contribution ... :'(
  6. nicola.pegorer

    Official PayPal IPN Support Thread

    Hello, I installed Paypal IPN ver 2.3.4.7 and it's working quite fine. However I noiced 2 problems: 1. the file ipn.php in /ext/module/payment/paypal_ipn includes the following language files include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PROCESS); so it seems the paypal_ipn language files included in the contribution are not really used. Does anyone notice this ? Would it be better to change this ? 2. The order notification mail made by ipn.php after receving the payment notification from Paypal is always in the default language. It seems the variable $language in ipn.php file is completely ignored. Anyone who got the same problem ? Thanks for any help, Nicola
  7. Hello, I installed PayPal_IPN ver 2.3.4.7 and it seems it's working fine so far. But I have two qustions: 1. The install guide says: "If you have SSL enabled, then you won't need to set up encrypted web payments as the payment module automatically uses SSL if available." This is my case so I set "Enable Encrypted Web Payments" parameter on "False". My questions is: how can I check that encryption between paypal and my server is really working fine ? 2. I installed the contribution Print Order Receipt v1.5 (2379) which adds a print button to the bottom of the customers order history page as well as the checkout success page that allows the customer to print a receipt for their order. Unfortunately - after installing PayPal_IPN - when a customer choose to pay with Paypal, and return back to the checkout_success.php page the Print Order Receipt button doesn't show the last order just processed, but an older oID. It seems after going to Paypal site, the last oID hasn't been passed to checkout_success page. This are the lines added by Print Order Receipt contribution to checkout_success.php and checkout_process.php: CHECKOUT_SUCCESS // Print Order Receipt v1.5 - Start ?> <script language="javascript"><!-- function popupPrintReceipt(url) { window.open(url,'popupPrintReceipt','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re sizable=yes,copyhistory=no,height=500,width=750') } //--></script> <?php // Print Order Receipt v1.5 - End ....... <?php // Print Order Receipt v1.5 - Start // ?> <td><div style="float:left"><a href="java script:popupPrintReceipt('<?php echo tep_href_link(FILENAME_ORDERS_PRINTABLE2, 'oID=' . $last_order); ?>')"><?php echo tep_image_button('button_print_order.gif', IMAGE_BUTTON_PRINT_ORDER) . '</a>'; ?></div><div style="float:right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></div> </td> <?php //Print Order Receipt v1.5 - End // ?> CHECKOUT_PROCESS //Print Order Receipt v1.5 - Start// tep_session_register('last_order'); $last_order = $insert_id; $oID = $last_order; //Print Order Receipt v1.5 - End// I suppose that - as suggested by Paypal IPN installation guide at the "Integration with other contribution" - the problem may be fixed by modifying ipn.php and paypal_ipn.php according to checkout_process.php modifcations made by the Print Order contribution, but my knowledege of php doesn't allow to understand how. Does someone ran in the same problem ? Thanks in advance for any help. :) Nicola
×