Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

yelir

Archived
  • Posts

    23
  • Joined

  • Last visited

Everything posted by yelir

  1. Hi, The contribution I downloaded doesn't print labels properly, always missing the first label for each page and I haven't seen a fix on here. I found the problem with this. The logic works in a loop, getting the first order, then calling the template with this order, then advancing the page. The labels thing doesn't work well in this paradigm because it's printing multiple orders per page. The first order is retrieved, then the template code gets called, and the template code then asks for the next order, prints it out, next order... etc until the end of the page, then the other loop starts... anyways, every time the main handling code gets the order for the template but the template always gets the next one before doing anything with this. How to fix this - the hack (that I've employed right now) is to take the label printing code into the template, then using the first order passed into the template, and only calling for the next one if you are still printing on the page. That way I use the first order passed in, then the template manually keeps getting more until no more can fit. The prefered way to do this would be to take the '$pdf->EzNewPage();' call out of the batch_print.php code and allow the template writer to call this manually. This would only mean adding that line to the start of all the rest of the templates right now. But it would also allow in this case the option of not calling new page after each order. The template writer could use the $num variable to ensure they advance the page at the right time, or it might be better to add a variable called $pagePosition or something that could be set by the template to keep track of positon in the page. Anyways, whoever's maitaining this, it's up to them, if you want more of an explanation let me know.
  2. Hi, I'm using a much older version of this contribution and it doesn't require that the email used is my primary paypal address. The new version says to only enter the primary email address, does this mean it only works with the primary one or will it still work with any of your addresses?
  3. Can this work with static HTML pages on my site? I have it working fine with oscommerce files but I get a 404 error trying to access any static HTML. Thanks ahead of time.
  4. Oops, I just installed this wrong, it works with STS :lol: I have another problem tho, is anyone else using this with real static pages? ie. I have mysite.com/index.html as my main page and this links to the cart. However when I use this contribution, the catalog main page is also linked to as index.html and this goes to my static page. Does anyone know how to fix this? Thanks ahead of time ;)
  5. Has anyone gotten this to work with Simple Template System installed as well? My urls all appear to get transformed to index.html, but clicking on them the links don't work Thanks ahead of time
  6. I have installed this contribution, there seems to be no problems with the install, but I still do not get an order email from the cart unless I press continue after completing the paypal transaction. Is this how it is supposed to work? Shouldn't an email be sent when the IPN goes thru, so that I know what was ordered? Thanks.
  7. Hi, Thanks again for the reply. Sorry I missed the initial point of the first post. So you mean with your contribution, the price cannot be changed? I realized the price could be changed with the IPN contribution I am using but thought there was no way around that, I would have to double check with PayPal? I did further research into this contribution and it actually inserts a blank order total (in checkout_paypalipn.php), and as far as I can see, never updates it. I only used that contribution because it seemed like what most people were using. Does your contribution work the same as that one (except insert totals correctly ;) ) Thanks
  8. Hi, thanks for the response and tip. My problem is not testing tho, but that will be helpful. The problem I'm having is that in the customer email, the order total is not showing up. Another problem is that in the admin area, the order is not showing up on a basic order search. It does show up if I search by order ID, but only the product price, not the total price (shipping, etc). I've done some more research on this. The orders_total table is getting an invalid entry - the row for this order has a value of 0.0 and a no class. Based on this I'm guessing the order total is not being calculated correctly in checkout_paypalipn.php. Does anyone know what might be causing this? Are others having this problem?Thanks again ahead of time...
  9. Hi, I've installed PayPal IPN 0.981 on 2 OsCommerce installations (Thanks to the contributor who made this, it will save a lot of hassle). My only problem is the order total entered into the database, and sent in the order email is incorrect (The customer is still charge correctly luckily). Does anyone else have this problem and know how to fix it? I've never done PHP, but from looking at the code it appears an order_total object is never created in paypal_notify.php (as in checkout_process). I'm not sure where all the database updates are done by this contribution, is it done here? On another note, is there anywhere in the support forums or elsewhere, where a general code overview can be found for various contributions, ie what each file is supposed to etc. This would be helpful to figure out these bugs... Thanks very much ahead of time for any help :)
  10. Just wanted to add something that helped me when I was having the problem quite a few people seem to have - dynamic mopics looking for the wrong directory/file. One thing the mod does is check if the first file exists before trying to display them. You can see what it is looking for by adding this line to modules/dynamic_mopics.php. <?php echo DIR_FS_CATALOG . $image_path . $image_base . MORE_PICS_EXT . '1' . $image_ext; ?> AFTER <td align="left" class="smallText"><?php echo TEXT_NO_MOPICS; ?> This will print out what it is looking for if it can't find it, and you can adjust your settings and file names accordingly. (My problem was DIR_FS_CATALOG was configured wrong). Also be sure that the directories you create to hold the images (thumbs, images_big) have the correct permission set so the files can be read. Also remember to remove that line after you have fixed everything up. ;)
×
×
  • Create New...