Jump to content

trafalgar99

Members
  • Content count

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Chris Long
  1. trafalgar99

    Protx VSP Direct - MS2.2 Support

    Ok, I can answer my own post - for anyone that's interested: CRE Loaded has changed something so that the function 'before_process' is no longer called - to be more precise it appears that a conditional 'if' statement that should call it, depending on whether authorisenet_status is set, doesn't work. Probably somewhere this isn't initialised any more. Anyway the fix is as follows: In checkout_process.php in root directory, after this: // load the before_process function from the payment modules // Authorize.net processing has move this called to a later point // This is maintained for compatiblity with all other modules if(! MODULE_PAYMENT_AUTHORIZENET_STATUS) { $payment_modules->before_process(); } Add this: // added by chris to make it work on CRE, ensures before_process runs // $payment_modules->before_process(); if(MODULE_PAYMENT_PROTX_DIRECT_STATUS) { $payment_modules->before_process(); }
  2. trafalgar99

    Protx VSP Direct - MS2.2 Support

    I've downloaded the MS2.2 protx direct package and installed it on my CRE Loaded 6.1a installation. I'm struggling to get anything out of it - can anyone help? Here is what works: 1) I've downloaded the Protx Direct kit and have this running (having fixed cURL to stop it checking certificates....) 2) I therefore know I have connectivity and have confirmed transactions on the VSP admin test site. 3) I've applied the cURL fix to my protx_direct.php file. 4) I've installed and enable protx. What happens - nothing - I run through transaction, checks on check card etc work, and the 'thanks for shopping online with us!" message appears. I get an email confirming the order (with protx as the payment method). I've tried setting debug option in admin - no joy, makes no difference. I've tried setting server to 'test ip server' - no change. I've disconnected my internet connect - no change. So my conclusion is that the code isn't running for some reason. Two questions: 1) Any ideas 2) How can I put some debugging code in to let me know where things are or what messages are / are not being sent?
×