Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Terra

Members
  • Content count

    887
  • Joined

  • Last visited

Everything posted by Terra

  1. ... this will be the support thread for "Products Documents" ...
  2. Terra

    PDF Catalog v.1.5

    To anybody who has the following error: PHP Fatal error: Cannot access empty property in XXX/pdf_catalogue.php on line XXX The fix is fairly simply - find all instances of $this->$parent_category_name and replace with $this->parent_category_name But leave the first one alone: var $parent_category_name; Properties in Classes don't have $ signs in front of them. If they do, then PHP assumes we're calling a variable & tries to look for it's name. As it can't find a variable with the name it says "oi, this is empty!" and dies. By removing the $ sign you're back to standard PHP coding for properties in objects and all is well. All the best, Terra
  3. Terra

    Official PayPal IPN Support Thread

    The payment status is updated every time PayPal sends an update to your site. These updates should only happen when the status of a payment changes (e.g. an eCheque clears). Order emails are sent when the payment update is to notify of a successful, cleared payment. On your site therefore PayPal keeps on sending the same success IPN update, resulting in the multiple entries. Why this is happening on your site I don't know. If you have time, I'd suggest contacting PayPal and ask them about repeat IPN updates to your site. For some reason, PayPal seems to think that it hasn't notified you yet, so it keeps on trying. And be aware -it's not just duplicate order emails, but also multiple stock reductions so I'd advise to check / correct your stock levels. If you can't rectify it, I'd recommend downgrading to v1.4 - at least, then there'll be no duplicate order emails / stock reductions although your admin will still show the multiple entries. Terra
  4. Terra

    Official PayPal IPN Support Thread

    I don't think you're wrong and the thorough work you've done is fab - many thanks for investigating this! In my reply I thought about the standard GET variables but forgot that osCom of course has its own complete session handling mechanism ... which I haven't really looked at in the past as on my sites I can use force cookie use which usually cures problems. I guess there's a function which picks up POST session ids.. either way, if it works, then that's the way to go! all the best - Terra.
  5. Terra

    Official PayPal IPN Support Thread

    With the PayPal IPN all orders are pre-saved i.e. BEFORE payment. You will therefore see quite a few orders in the admin which are pre-saved and abandoned, i.e. unpaid -these can be deleted (without restocking). I don't know where the information regarding "no table entry" comes from - that's wrong. The latest user guide states: all the best - Terra
  6. Terra

    Official PayPal IPN Support Thread

    Hi drichter - glad it's working for you! I'm just trying to work my way through the fix but I'm struggling to understand why the switch to post makes a difference. The session ID is normally handled as GET variable in osCommerce, unless cookie use is forced (in which case the session details are in the cookie). Appending the session ID to the return URL should ensure that the customer's session continues. Within the osC store, session IDs are always GET - they are handed from page to page via appending to the URL. Sometimes GET session variables can be hidden (e.g. when SEO URLs are installed) but they are still there in the background. Can you confirm if in your testing the SessionID on checkout_confirmation and the SessionID in the PayPal return URL are the same? NB: if there's a problem with the session ID you may not see in the testing, as checkout_process redirects to checkout_success.php and if there's a problem, it would strip out the session ID in the redirect. To see if the URL is correct, you could e.g. put an "exit;" command at the top of checkout_process.php - that would stop the transaction at that point and you can then check the URL in the browser bar. all the best - Terra PS: I take you are not using RC1?
  7. Terra

    Official PayPal IPN Support Thread

    You can set it to "per item" but this can cause issues - if you want to use per item, give it a go & test thoroughly. The main problems are around tax (especially shipping tax) and CCGV - as long as your shop is simple (no tax, no CCGV) the per item should work. All the best - Terra
  8. Terra

    Official PayPal IPN Support Thread

    Make sure that each payment module has a unique sort order in your shop admin. Modules with the same sort order can cancel each other out. PS: PayPal is a PAYMENT method, not a SHIPPPING method .. flat rate has nothing to do with it! All the best - Terra
  9. Terra

    Official PayPal IPN Support Thread

    You have enabled Enable Encrypted Web Payments but it's not working. Either disable it in your admin (set to false) or you'll need to configure it correctly. If you enable Enable Encrypted Web Payments you must enter all the other information (key, certificate, working directory, OpenSSL) correctly and OpenSSL must be enabled on your server. Please read the section about EWP in the user guide, there's also information on the support thread or see the PayPal site for help & advice. All the best - Terra
  10. Terra

    Official PayPal IPN Support Thread

    This indicates that PayPal is trying to resend the payment information to your site - I've not come across this before, so in all likelihood it's a specific issue with your set-up. If you can't debug it, downgrade to v1.4 - at least then no order emails are sent out / no stock quantities deducted when the IPN update is sent. all te best - Terra
  11. Terra

    Official PayPal IPN Support Thread

    This means you forgot to copy over the language level file (or copied it into the wrong place) - please double-check that you uploaded the correct file to /includes/languages/english/modules/payment/. All the best - Terra
  12. Terra

    Official PayPal IPN Support Thread

    As far as I know the contrib in RC1 is an old version from 2005 - Harald obviously thinks my coding is sh*** so what the heck - it's only 2 1/2 years out of date. Terra PS: don't forget that RC1 translates in "beta version" - not suitable for live sites.
  13. Terra

    Official PayPal IPN Support Thread

    This module was NOT written for WebPro so if you're looking for WebPro then this is not the right contribution. For the private key etc. I don't believe you need a WebPro account - just a business account with PayPal. But if you have an SSL or cURL enabled, then you won't need the private key stuff. all the best - Terra
  14. Terra

    Official PayPal IPN Support Thread

    The IPN module I wrote is optimised for the UK and the variable you mention is the PayPal recommended field for UK phone numbers. I don't have plans to write a separate module for US optimisation but if any other developer has time, feel free to update the IPN with a US forke. Terra
  15. Terra

    Official PayPal IPN Support Thread

    Pre-saving all orders (whether they are paid or not) is part of how the IPN works. There's no way around this - your client will have to check before sending out goods or use a different payment module. Terra
  16. Terra

    Official PayPal IPN Support Thread

    Please note that this thread is ONLY for the following PayPal contribution: http://www.oscommerce.com/community/contributions,2679 As you are using a different contrib please do not post in this thread - thank you for your help in keeping this thread on topic. Terra
  17. Terra

    Official PayPal IPN Support Thread

    Your module is set to "Test" - switch it to "Live" (in your shop admin -> modules -> payment). More info in the contrib user guide - please read it, it contains the answers to the most frequent queries. All the best - Terra
  18. Terra

    Official PayPal IPN Support Thread

    Regarding b - that just means your admin is not locked down under SSL (a separate issue, not for this thread. I'm sure Vger has some advice in her easy install guide). As for a - have you tried setting force cookie use to TRUE? I'm not 100% sure but it should work on 1&1. Please try & see if that cures it. All the best - Tera
  19. Terra

    Official PayPal IPN Support Thread

    For anybody who posted problems about customers ending up on the log in page: This usually means that the session was lost (when customer returns, the shop does not know that customer has an active session & returns them to the log in screen). For session problems, I'd need to know: 1. Do you have your own full SSL? 2. If yes to above, do you force cookie use? (usually, forcing cookie use cures session problems but this can only be done with full SSL Certs) As to the queries regarding v1.x versus v2.x - version 2.x does update stock & send out emails even if a customer does not return to the shop, so it will help but it won't actually solve the issue of customers not seeing the checkout_success.php page. I hope this helps a bit more - if you still have problems, please post back with the info I mentioned above. All the best - Terra PS: also - things don't go wrong all of a sudden without any changes - please include the name of your hosting provider and any recent changes they have done to your server. If they did not tell you of any changes, open a support ticket with your hosting provider and ask them about any recent server upgrades/changes before posting back to this thread.
  20. Terra

    Official PayPal IPN Support Thread

    If the email address (which is also the PayPal account name) is wrong, then customers cannot pay. They would have a seen a message saying that this account does not exist. You would therefore have to contact the customers, apologise to them and tell them, that if they still want to order they need to resubmit (and pay) their orders. But in reality I believe those sales are lost. PS: the problem isn't just that they got "stuck" in the preparing stage - the problem is that customers were unable to pay and therefore abandoned the checkout. As far as the customers are concerned, the site appeared broken and they abandoned the order. All the best - Terra
  21. Terra

    Official PayPal IPN Support Thread

    This sound like a lost session problem which is not specific to the payment module but indicates a server / site error. For best results with sessions, cookies should be forced - but this can only be done if the site has a full SSL. Like you say - if the install worked before, then it's a site/server error, not a problem with the module. If you look at how the flow goes (are secure pages on the same server etc.) you may find your answer. all the best - Terra
  22. Terra

    Official PayPal IPN Support Thread

    Chaps - this is not a module problem, but a bug in osCommerce which exists since 2006. For the fix please see: http://forums.oscommerce.com/index.php?sho...mp;#entry932499 The bug sits in both compatibility.php files (admin & root). You can also download the candidate release notes: http://www.oscommerce.com/ext/osc22rc1_upgrade.html.zip The compatibility fix is listed under "[bUGFIX] Compatibility Array Index" on the page. all the best - Terra Keywords: payment module updates not saved, update, updated,
  23. Terra

    PayPal Express Checkout IPN Payment Module

    OpenSSL and Shared/Dedicated SSLs are two different things. OpenSSL functionality is a server wide install which must be done by the server admin.
  24. Terra

    Official PayPal IPN Support Thread

    Please start a new thread for this as it's not directly related to the IPN module. As far as I know, you need to custom-integrate your checkout with Google Analytics in order to get the e-com data (order value etc). There's an integration guide on the Google site but that's a much as I know. If you start a new thread with Google Analytics you should get more replies - also include what kind of integration you've already done. all the best - Terra
  25. Terra

    Official PayPal IPN Support Thread

    Shared Certs work fine with osCommerce - we use it for our hosting customers and it's much cheaper than full certs. As long as the server set-up / Cert is done correctly, there's no problem with using a shared ssl certificate with osCom and PayPal IPN. all the best - Terra
×