Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ldavies83

Members
  • Content count

    112
  • Joined

  • Last visited

Everything posted by ldavies83

  1. This forum will be for any support questions concerning the Nochex APC Payment Module. This does exactly as is says on the tin, allows the APC system to be used on OSc systems which means no more lost orders because that customer didnt click "Continue" on the final "Checkout success" page along with Authorised/Declined status's all logged into a separate table. Original code taken from pablo_pasqualino's Paypal IPN Payment Module and butchered/hacked/generally tidied up to work with Nochex. If you subscribe to this forum, I will announce release. Thanks, Ldavies83
  2. I downloaded the 2.21 ver first in the hope to upgrade to 2.22 later. however I seem to have a problem. the PHP scripts constantly refer to 'new_value' field in the 'orders_status_history' table where in the original dist files it was 'Orders_status_id'. This is generating errors all throughout the checkout procedure/Admin sections (Invoice, Orders, etc). Is it Ok to just simply replace all occurances of 'new_value' to 'orders_status_id'? Thanks L.
  3. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Is the membership system and Shop a separate system, ie 2 osCommerce installs/1 osC 1 something else? If it is then it wont matter, as the Nochex APC contrib sends over the returnpath variable as specified in the admin settings and that will only affect that osC install. You can read up on the Nochex APC and specifying returnpaths on the Green room over at nochex, as they have a section about writing your own APC controller, the variables you need and optional variables you can add for just such an occasion. Hope that helps. Cheers, Leigh Davies
  4. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi Chris, Yes it does work on CRE_LOADED Cheers, L.
  5. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi Jay, Although I dont use the affiliate contrib It sounds like to me it's excluding the Nochex Authorised Status, Tell me, does the order show up if you change the status from "Nochex Authorised" to "Shipped" or similar? Cheers, L.
  6. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi BattleAxe, Firstly, Switch your Debug Email Code on, It will help to establish whats going on. Next cURL is needed for the Nochex APC to work so please enable this on the server. Finally what server OS are you running on? I only need to know if it is Windows based or 'Nix based.
  7. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Just to confirm, this is absolutely correct and the Nochex system works like this by design. This is why you have to use the test1/test2@nochex.com addresses as nothing else will work.
  8. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    hehe sorry about that Thanks for your continued support Mark!
  9. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi Scooby, do you have a windows server per chance? I only ask as I got similar problems moving a perfectly working site from a nix box to a windows box. Turns out I needed to update the main CURL code in order to get it working. I can post you a beta of the new code to see if it works if you want. Let me know by PM'ing me. Cheers, Leigh
  10. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi All, I've had to makes some changes to the Nochex APC script to get it to work on a Windows based server, it seems there may be a small bug in the processing part. Anyway my server was exhibiting the same symptoms as some others around here, Receiving an email saying No Response. I've sorted that bug out now, but I also wish to fix some of the other bugs. The bugs I've logged so far are: - Auto Rounding up of price in nochex transactions page to 0 decimal places - New Admin option to either empty the basket or not on completion of checkout - More email debugging, the No Response status is a little misleading, because nochex does send you data, just not the right data ;) - Email debug script doesnt seem to work, at least it didnt with me - Hide the order from order history until authorised from Nochex (but only on current day. If anyone else tracks a bug or feature PM me with the subject BUG/FEATURE: Nochex APC and I will look into it.
  11. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Whats your shops URL?
  12. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi Fluxweb, just quickly, you DID run the SQL commands into the database did'nt you?? They are required to create the database table to store the Nochex Data and create the 2 status codes. You can check it has by accessing the database and seeing if a table called nochexapc_transactions exists, and further you have 2 Status's in your Orders_Status table; "Nochex Processing" & "Nochex Authorised" Assuming you have run the SQL file in give this a try, the part of the SQL query where it reads: where o.orders_status !='50000' change it to: where o.orders_status !=50000 i.e. without the quotes The status for processing orders is set to 50000, or "Nochex Processing" if you change this in Modules > Payments > Secure SSL Payment through Nochex to a different status, you need to update the above query to say "Exclude Order Status X instead of 50000". You can find out what ID code you are using by firstly checking which status code it allocates the order before going to Nochex (by default "Nochex Processing") and then viewing your database and going to the Orders_Status table, you will see "Nochex Processing" along with the Status code for that one in the "Orders_Status_ID" Column. Hope this helps, L.
  13. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi Fluxweb, try this Replace the history_query_raw line with this: $history_query_raw = "select o.orders_id, o.date_purchased, o.delivery_name, o.billing_name, ot.text as order_total, s.orders_status_name from " . TABLE_ORDERS . " o, " . TABLE_ORDERS_TOTAL . " ot, " . TABLE_ORDERS_STATUS . " s where o.customers_id = '" . (int)$customer_id . "' and o.orders_id = ot.orders_id and ot.class = 'ot_total' and o.orders_status = s.orders_status_id and s.language_id = '" . (int)$languages_id . "' and o.orders_status != '50000' order by orders_id DESC"; Now I'm assuming you havent changed the Status ID of "Nochex Pending" to anything other than '50000' if you have you will need to change the line above with the new status ID Happy coding :)
  14. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi fluxweb, sorry been quite busy recently! First of all roll back to your original copy of account_history (you did make a backup didnt you!!?) Make sure it worked beforehand. If it did, let me know, post it up I'll have a look at the code. Cheers, L.
  15. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Hi Edd, Right, sounds like Nochex are getting busy again, try it again soon see if it starts to work. As far as the SSL question is concerned, it will work fine on non SSL sites (in fact thats the way I've set it up). Give the module another try and let me know what happens. Also make sure you are actually signed up to Nochex Xtra a free upgrade but necessary to enable APC functionality.
  16. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Sorry Miguel, I'm kinda wrapped up my own projects at the moment so I havent had a chance to look, in the meantime, set the APC system disabled, as you will get an email from nochex saying money has been received anyway.
  17. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    No problems, resent, check your PM
  18. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Yeah, I replied check it out
  19. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Could you PM me your website address along with your configure.php contents (obviously excluding sensitive details such as password for DB access) I'll have a look at this. If you could remove that tep_mail statement aswell, I'm sure you do not want those coming through every 5 seconds!!
  20. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Miguel is your site physically accessible from the web if its not Nochex cannot post the data back to you. As for you setting the https stuff the same as http, big no no! if you dont have SSL leave it alone, you will not be able to use it. set it back to '' and ENABLE_SSL to false
  21. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    1 Click to early! The Logo addon lets you put your own logo on nochex's payment page instead of their logo. This is great apart from the fact that it works best if you have an SSL certificate yourself, as if you point it to a http image link you get "Compromised security, this page is partially secure" error messages. It's great if you have an SSL certificate where you can reference the image via https instead though!
  22. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Do you mean you've just made the change and still issues or you've always had it set like that? If your still have problems, open checkout_nochex.php in catalog/ and go right to the end of the file and look for Just above that enter this: That will email to the store owner email address, the form link. Post that up here so I can have a look at that. Also what is your web address?
  23. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    After checking the checkout_nochex file, it could only be that as it picks that information from that key
  24. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    Miguel assuming the path your taking is as follows: BUY PRODUCT Select NOCHEX APC module as payment method Click continue on order confirmation page Redirect to Nochex for payment details Enter test email details and hit continue Redirects you to https://www.nochex.com/catalog/checkout_success.php it sounds like youve set your catalog/includes/configure.php file up incorrectly, I'm guessing you have set up your HTTPS_SERVER parameter to "https://www.nochex.com", which is incorrect as it is not your server. I think you have also set the ENABLE_SSL to true when it should be false if you do not own an SSL cert on your own server. If I'm on the right line your configure.php line should look like this: Does that help at all?
  25. ldavies83

    [CONTRIBUTION] Nochex APC Payment Module

    I have no "Nochex APC" in Modules -> Payment in the admin section. Also, the file admin/includes/filenames.txt refers to a file "nochex_tests.php" which isn't referenced in the install file, nor is it anywhere in the zip file. Help please. <{POST_SNAPBACK}> Quite right miguel, in fact the module is labelled as "Secure Payment through SSL via Nochex" so it would be Modules > Payment > Secure Payment through SSL via NOCHEX If its not there its not been installed correctly cheers, L.
×