Jump to content

Ian-San

Members
  • Content count

    761
  • Joined

  • Last visited

Everything posted by Ian-San

  1. Ian-San

    Currency Update from Worldpay

    Specifically, it was the last selected currency in Admin and so not required for the cron - nor the page. So just using: ......../currencies.php?action=update would be fine
  2. Ian-San

    Worldpay 4.0 - Version 1.0

    Yes, you can 'easily' design a suitable page and upload it to WP. However, the problem is trapping WP in the OS site. I guess this could be done if you can make: $checkout_form_action = 'https://select.worldpay.com/wcc/purchase'; load into OS rather than top. Could use the wpcallback file as a template ...
  3. Ian-San

    Worldpay 4.0 - Version 1.0

    Phew! Let us know how you get on - I tried it once and gave up!
  4. Ian-San

    Worldpay 4.0 - Version 1.0

    Good suggestion - thanks.
  5. Ian-San

    Worldpay 4.0 - Version 1.0

    Your order total seems to be zero so sessions.php tries to add a new entry to the database (rather than update) but of course it finds an existing entry with the same key??? e.g.: total";i:0;s:6:"weight
  6. Ian-San

    Worldpay 4.0 - Version 1.0

    If you do not save or collect personal information, you do not NEED to have SSL although you may want to use it for appearance reasons. You could collect and save credit card details and pass them forward to payment gateways such as WorldPay using SSL to provide a more integrated service but I guess most small sites do not do that. Personally, I find it a real pain when stores give me back the last 6 digits of my credit card and say 'shall I use this?' - you still have to check your card and it is often an out of date card they quote back and I do not like the idea that they stored the numbers anyway.
  7. Ian-San

    OSC-Affiliate

    Sounds lika a definition of Os Commerce to me :) Only last week, I (in my day job role) paid 6,000 USD to a company for a backup / restore feature that it not a shadow of the one provided free in OS (Company rules: must be professional software created by authorised developers). I think your mod is great, and providing the alternative zip is a fair compromise. However, 95% of OS users are probably using hosted servers so cannot run telnet. That reflects the real world as well I guess - so it all depends on what you want to do with the code. Posting to the wider community can throw up usability issues that as a developer, you would never have guessed. Like you, I often post contributions to see how they are received, get bug reports etc. I dont think it is wrong to target professional users only - and beginners cannot always expect to get everything on a plate. Making a contribution of any sort has the cost that you will get lots of feedback - some trivial and some useful and some assuming that you are a unpaid developer for their company. Thats life! I long ago ceased to be upset by any comments received - instead, I now just keep a 'maybe nice to have in the future' list of them.
  8. Ian-San

    Worldpay 4.0 - Version 1.0

    The WP mod is set to return to checkout_process to complete the order not held_orders_process.php. Maybe held_orders_process.php decrements the stock even when an order is cancelled or you double checkout?
  9. Ian-San

    Currency Update from Worldpay

    Simon As I use a hosting company for my personal sites, I don't have access to cron so cannot help here.
  10. Ian-San

    Worldpay 4.0 - Version 1.0

    More likely to be in one of the WP language files - did you change any text in any files?
  11. Ian-San

    Currency Update from Worldpay

    Posted an updated module - also added the True / False selector to MD5 as well as Exchange rate updates.
  12. Ian-San

    Worldpay 4.0 - Version 1.0

    I think it shows up on the email order confirmation, admin orders, invoice etc. cant be too sure now as my store is heavily modified.
  13. Ian-San

    Worldpay 4.0 - Version 1.0

    Yeh - sorry about that, I use that title on my site and forgot to change it for the Upload! Now check your language files for a spare space or line at the end of the file past the last ?>
  14. Ian-San

    Worldpay 4.0 - Version 1.0

    Then the most likely is that you have made an installation error - to show up in admin, all that is required is that you put the correct file in catalog/includes/modules/payment - Admin checks this directory to see what is there and then loads it.
  15. Ian-San

    Worldpay 4.0 - Version 1.0

    I use multi-currency but have not used this actual version of the mod in my bi-lingual store - however, that is not likely to be the reason as the updates I provided were to make it multi-lingual and anyway, Admin is much simpler than the catalog when it come to languages so you would get an error message about the language file being missing. I dont know about Chandras type mod - but it sounds unlikely to be the reason. Maybe you just needed to log out and in again?
  16. Ian-San

    Worldpay 4.0 - Version 1.0

    Do you see the other payment modules in Admin? You could try copying another payment module and calling it worldpay.php to see if it shows up as a duplicate entry in Admin.
  17. Ian-San

    Currency Update from Worldpay

    Simon Yes - thanks. The benefit of making contributions like this is that you get others to do your bug testing for you! I will post another version tonight to correct the bugs found so far.
  18. Ian-San

    Worldpay 4.0 - Version 1.0

    Assuming that you downloaded this version: http://oscommerce.sunsite.dk/contributions...1_version_a.zip and you follow the installation instructions instructions, it will work! filenames.php is a recent addition to cvs so as advised above, just put the filename define in catalog/includes/application_top.php instead. There are only 4 files in the zip - if you place the correct file in catalog/includes/modules/payment it will show up in Admin.
  19. Ian-San

    Currency Update from Worldpay

    The WP Payment module needs to be enabled and active, the flag for curency update in this mod must be set to 1 with your password. (I will change that for the next release to True / False). Try the manual method first: http://select.worldpay.com/wcc/info?op=GBP...&infoPW=XXXXXXX Replace with your ID and password. to see what you get. I just dis a test and it was okay.
  20. Ian-San

    Currency Update from Worldpay

    Yes - that is right.
  21. Ian-San

    Currency Update from Worldpay

    Also probably need to change the bit below to: echo $err_num; echo $err_msg;
  22. Ian-San

    Currency Update from Worldpay

    I dont get this message and fsockopen is used for the normal currency update - the problem looks to be the pass-by-reference. Can you try this to replace the function call? $err_num = ''; $err_msg = ''; $socket = fsockopen( $host, 80, $err_num, $err_msg, 90 );
  23. Ian-San

    Worldpay 4.0 - Version 1.0

    Posted the WP Currency Update module here: http://www.oscommerce.com/community/contributions,877 This mod allows you to use WP official currency rates. By the way, it also corrects a small error I made in the previous MS1 contribution so you might want to replace your catalog/includes/modules/payment/worldpay.php file with the one in this package. This is really only necessary if you use MD5 - the additional entries for the Currency Update will not cause you any grief (I hope) so you can simply replace your existing file even if you do not want to use the currency update part.
  24. Ian-San

    Currency Update from Worldpay

    Posted the contribution here: http://www.oscommerce.com/community/contributions,877
  25. Ian-San

    Currency Update from Worldpay

    In that case, you should have no problem with the implementation - I will try to make it as general as possible. I am ahead of schedule with my other tasks so you may even get it tomorrow. Would you prefer my swiss bank account number instead?
×