Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

demon2lima

Archived
  • Posts

    57
  • Joined

  • Last visited

Posts posted by demon2lima

  1. Your problem is simple, this contrib along with all the other PayPal contribs, sets the status via it's own script rather than using the system within osC.

     

    I am assuming you are working with the latest version:

     

    around line 1186 of catalog/includes/modules/payment/paypal_wpp.php

    	function after_process() {
      global $insert_id;
    
      tep_db_query("update ".TABLE_ORDERS_STATUS_HISTORY. " set comments = concat(if(trim(comments) != '', concat(trim(comments), '\n'), ''), 'Transaction ID: ".$this->trans_id."\nPayment Type: ".$this->payment_type."\nPayment Status: ".$this->payment_status.($this->avs != 'N/A' ? "\nAVS Code: ".$this->avs."\nCVV2 Code: ".$this->cvv2 : '')."') where orders_id = ".$insert_id);
    }

    Note that the status get's set here. That is the problem. You will need to integrate the MVS code(the function and the call to it, and perhaps all the table updates as well) from checkout_process.php.

     

    This will be a bit tricky, so be careful and make backups, but you can do it. :thumbsup:

     

    Good luck, Craig :)

     

    What PayPal module do you suggest? I've had nothing but problems with the stock module so the OsC IPN have been a life saver but the changes needed appear to be a major overhaul of the IPN code.

  2. Which version of MVS are you working with? It sounds like a PHP5 issue, but V1.1 should be fully compatible, if you are not using V1.1, you need to upgrade.

     

    If you are running 1.1 then you need to double check ALL your edits, it must be in there somewhere.

     

    Good luck

    So the IPN module from the osC team is not working with the email portion of MVS? Are your customers coming back to your site after they pay at PayPal properly?

    Is the order status updating correctly when a customer pays(updating from pending(default osC) to processing(default osC))?

     

    Craig :)

     

    They come back and the status is updated properly so that is why I am confused.

  3. Do you mean the one by the osC team? That one should work just fine. If you are using one of the other versions, the problem is simple: you must install the MVS code from "checkout_process.php" into "includes\modules\payment\paypal\catalog\checkout_process.inc.php". A pain in the @%#!

     

    If it is the one from the osC team, then there is something else going on, as it is fully compatible with the structure that MVS was designed around.

     

    Craig :)

     

     

    It is the one from the osC team, I've looked over the files and don't see anything that jumps out as being wrong. I'm using the MVS rollup prior to the MVS 1.0 release. Any ideas where to start looking?

     

    Thanks,

    Chuck

  4. I've been searching for a solution to my problem but I'm still stuck.

     

    I have MVS set up and it appears to be working except for the vendor e-mail portion. The only orders that are logged are Money order transactions and not PayPal. No vendor e-mails are generated so I can't even send them manualy.

    Any suggestions?

  5. I am trying to add the est. shipping cost contrib to STS plus and am having a small problem. Since it doesn't really use a box I can't figure out how to add it to the template. I've added the code to call the module but when I add a product to the cart, est shipping appears at the top of the screen above the entire site. Any suggestions?

     

    Thanks,

    Chuck

  6. I am trying to add the est. shipping cost contrib to STS plus and am having a small problem. Since it doesn't really use a box I can't figure out how to add it to the template. I've added the code to call the module but when I add a product to the cart, est shipping appears at the top of the screen above the entire site. Any suggestions?

     

    Thanks,

    Chuck

  7. I still haven't figured out the problem with the CIP file that I am trying to create but I think there is a biger problem with Ver. 1.0.14

     

    Every CIP that I try to install seems to need write premissions to my root directory, I can't give CP those permissions even if I wanted to. Why has this changed and where might I find the code to fix this?

  8. Hi!

    What version of Contrib Installer do you use? Latest is 1.0.13.

    This version tells you if any problem will appear at the installation time before start this installation.

    So if you have syntacs problem or permissions problem or file not found or etc you will get a message about it.

    This means that if installation proccess reach the end and you can read message "Status: Installed." - all is OK.

     

    May be you check not right files or you are lokking for it in wrong place.

    Please post a messages of Contrib Installer instead of xml-file content. Contrib Installer will check XML-file.

     

    I am using the current version and here is what CI returns after I try to install the CIP

     

    Installing Contribution: osCommerce_XML_0_6From install file: /home/everythi/public_html/shop/catalog/admin/contributions/osCommerce_XML_0_6/install.xml

    Author: Comments: osCommerce XML loader. This module allows to update the following fields: products_name (according to the current language), products_quantity, products_price (according to the default currency), products_date_available, products_status

    To edit a XML-file it is possible with the help of any XML-editor, for example XML Marker (http://xmlmarker.com).

    Visit home page of this module http://MetaShop.ru (russian).

    For bug-reports and suggestions mail [email protected]

    Checking config file: File install.xml is valid.Checking permissions: Permissions is OK.

    Checking conflicts:No conflicts.

    Backup: nothing.

    Status: Installed.

     

    No error messages appear and nothing happens to any of the files....

  9. I am trying to make a simple CIP file to get a better feeling of how this works. The problem is even though I have used the example XML file that you included....nothing seems to happen. Contrib installer says that it has been installed but no files are written and no code is changed.

    I even changed the permissions hoping for a permission error but that didn't even happen.

    Any help would be wonderful.

     

    <contrib>

    <description>

    <details contrib_ref="" forum_ref="" contrib_type="Other" status="0" last_update="2005-09-30"/>

    <comments>osCommerce XML loader. This module allows to update the following fields: products_name (according to the current language), products_quantity, products_price (according to the default currency), products_date_available, products_status

    To edit a XML-file it is possible with the help of any XML-editor, for example XML Marker (http://xmlmarker.com).

    Visit home page of this module http://MetaShop.ru (russian).

    For bug-reports and suggestions mail [email protected]</comments>

    <credits>Vetal <[email protected]>

    CIP created by Demon2Lima</credits>

    </description>

     

    <addcode>

    <file name="admin/includes/boxes/tools.php" />

    <find>$contents[] = array('text' => </find>

    <add><![CDATA[

    // Start osCommerce XML updater - installed by contrib_installer

    '<a href="' . tep_href_link('oscommerce_xml.php') . '" class="menuBoxContentLink">osCommerce.XML</a><br>' .

    // End osCommerce XML updater- installed by contrib_installer

    ]]></add>

    <findlinenumbers start="21" end="21" />

    </addcode>

     

     

     

    <addfile>

    <file name="admin/oscommerce_xml.php" />

    </addfile>

     

    </contrib>

  10. When I use EasyPopulate to upload my catalogue, the items that were in the database already don't get deleted - they're just added to whatever I use EasyPopulate to upload.

     

    Is the the way it works? Do I have to delete the data first, then upload or should the upload file just overwrite whatever's in the database already?

     

    Also, how easy is Protx Form easy to set up with OSC?

     

    Nick

     

    Easypopulate doesn't delete any items. If you have items with the same model number the information is updated. If the model number doesn't match, then it stays in the database.

     

    Hope this helps.

     

    Chuck

    www.everythingbelowretail.com

  11. I have version 1.0.13 and am trying to install Header Tags Controler. I get this error when updating a fresh install of osCommerce 2.2

     

    Not original text in find-section. Have been found 3 times!!!

    (findreplace #43) in the file: /home/everythi/public_html/shop/catalog/index.php

    ?>[r][n]

    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">[r][n]

    <tr>[r][n]

    <td><table border="0" width="100%" cellspacing="0" cellpadding="0">[r][n]

    <tr>[r][n]

    <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

     

     

    Couldn't find (addcode #10) in the file: /home/everythi/public_html/shop/catalog/admin/categories.php

    <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td>[r][n]

    </tr>[r][n]

    </table></td>[r][n]

    </tr>[r][n]

    <?php[r][n]

    }[r][n]

    ?>

     

    I checked the find string and it is in index.php but can't be parsed for some reason. Any ideas?

  12. I love this contrib but I'm having a problem with popups still.

    When I use the stock template everything works fine but on the one I am building, no image pop ups will work. I am sure that I'm missing something so if I could get somebody to look at this I would be so happy. This is a test area that I created to remake my shop, any suggestions are welcome.

     

    http://everythingbelowretail.com/shop/cata...p?products_id=4

  13. Great Team Work!

    I am interested in this great contribution...hehe. But I didn't spend too much time on it plus I am not a programer...I visited the demo website the other day I got some idea. The product will have no shipping method when the vonder is setup for that product. Does that mean any product needs its vonder to be assigned? Otherwise no shipping method for it?

    So now the problem is my website has only some products from other vonders, but most are mine. I just like to set up certain products those have their own vonders....and keep the same shipping method they are for most products. I don't want to setup a vendor for myself and then assign to my products...it would be too much work to do since I have many products on my site... Can you experts help on this...

    Thank you so much!!!

     

    I believe that you can use one of the versions of Easy Populate to assign a vendor to your items.

  14. Just thought I'd ask again. I'm not very good at PHP but I was wondering if anybody had a way to force EP to only update existing records and not create a new record if the model number provided wasn't found.

     

    I am trying to update my stock from 3 different vendors and its taking a long time to eliminate the items that I don't carry so I thought this would be a good work around.

     

    Any suggestions?

×
×
  • Create New...