Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Protx Not Processing Order

    Hi,

    I have protx form module installed and config'd. It works for the most part. The problem is that after a test transaction completes protx send the browser back to this URL, as it should I believe:

    http://SITE/store/index.php?main_page=checkout_process

    But ZenCart doesn't process the order. Instead the browser is redirected to Step 2 of the checkout process all over again.

    Any ideas why this happens and how to fix it?

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    5
    Plugin Contributions
    0

    Default Re: Protx Not Processing Order

    I'm having a similar problem..

    Does anybody know where to put the password in for the Protx connection. (Immediate Charge).

    Everything else is the same as above..

  3. #3
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Idea or Suggestion Re: Protx Not Processing Order

    Hi,

    You might want to use the Protx Direct payment module instead, it's easy enough to configure and looks and works much better than the Form method.

    Downloads and full instructions are available here:

    Protx Direct for Zen Cart

    I'll start a new support thread on this site soon, got a few other modules in the packaging stages! ;-)

    All the best...

    Conor
    [Ceon]

  4. #4
    Join Date
    May 2006
    Location
    UK
    Posts
    5
    Plugin Contributions
    0

    Default Re: Protx Not Processing Order

    Found the password... That's OK..

    But mine redirects and you can't complete the payment process?

  5. #5
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Protx Not Processing Order

    Quote Originally Posted by conor
    Hi,

    You might want to use the Protx Direct payment module instead, it's easy enough to configure and looks and works much better than the Form method.

    Downloads and full instructions are available here:

    Protx Direct for Zen Cart

    I'll start a new support thread on this site soon, got a few other modules in the packaging stages! ;-)

    All the best...

    Conor
    [Ceon]
    Can this Direct module work as a replacement for the Form module without changing the account status at Protx?

  6. #6
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Protx Not Processing Order

    Hi Marke,

    One of my clients was using VSP Direct for a year when Protx had them marked down as using VSP form! :)

    The various Protx methods, Form + Direct, are simply different technical ways of getting the exact same information to Protx. They also differ in how the resulting transaction information is returned but from Protx's point of view there's no real difference, when you have signed up for one, you have signed up for the other. It's up to you which you want to use. You can even use both with the same account at the same time (although obviously that's not recommended! :) ).

    The distinguishing difference between the two, one which you have to give some thought to, is that when you use Protx Direct you are taking the customer's Credit Card details directly on your site at checkout time, they are not redirected to someone else's site. This is considerably more professional looking but it means that you are reponsible for the security of the transaction and therefore you must have a SSL certificate (and a unique IP address for the domain).

    Considering these can be bought for $49 a year at ev1servers.net, that's really not a big problem IMO for anyone who wants a serious shopping site! :)

    Generating the necessary keys and installing the certificate is a little fiddly first time... mostly because every SSL certificate must be associated with a unique IP address (although a unique IP address should only cost about $1 a month, if even, from your host).

    Once you've got your server set up with an additional IP address and added a new virtualhost into your apache configuration (if on linux) to handle the SSL version of the domain then installing the Protx Direct module is simple as pie... only takes a few minutes to get Zen Cart configured properly with it and then customers will have a great checkout experience.. you can look and feel every bit as big as dabs.com etc. :-)

    Hope that's informative for you! :)

    All the best...

    Conor
    [Ceon]

  7. #7
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Re: Protx Not Processing Order

    I found the problem with the Protx Form module. Might be something about my particular server, not sure. But this code below works now that I've modified it -- just replace the function in the payment module with this one, and make sure to leave the other module functions in tact:

    /* ---------------------------------------- */
    function before_process() {
    global $_POST, $crypt;

    $Decoded = $this->SimpleXor(base64_decode($_REQUEST['crypt']),MODULE_PAYMENT_PROTX_FORM_PASSWORD);
    $values = $this->getToken($Decoded);

    $Status = $values['Status'];
    $StatusDetail = $values['StatusDetail'];

    if ($Status != 'OK') {
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, zen_session_name() . '=' . $_REQUEST[zen_session_name()] . '&error_message=' . urlencode($StatusDetail), 'SSL', false, false));
    }

    }

    /* ---------------------------------------- */


    That's it. Basically I had to use $_REQUEST instead of the $_POST -- so in other words the globals declared by the original code are probably useless but I left them in place in the code above anyway.

  8. #8
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Re: Protx Not Processing Order

    One more change I forgot about -- the FailureURL needs to be changed too. This way zencart will display to the user any error message returned by Protx. So, located this line in the module:

    $plain .= "FailureURL=" . zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true) . "&";

    And replace it with this one:

    $plain .= "FailureURL=" . zen_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true) . "&";


    That's it.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •