Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order not showing up on site.


Guest

Recommended Posts

Posted
OK I'm now doing some debugging and I'm emailing myself the contents of $crypt, $Decoded and $process_button_string before AND after the lines

 

$process_button_string = str_replace(" ", "+", $process_button_string);
$Decoded = $this->SimpleXor(base64_decode(str_replace(" ","+",$crypt)),MODULE_PAYMENT_PROTX_FORM_PASSWORD);

 

Both are completely empty. Anyone know what's going on there? I think I might have a different issue to the rest of you because I don't appear to be getting anything back from Protx, nevermind data that's invalid.

 

I had this problem, too. Turns out to be related to my applying the Register Globals fix.

 

My server doesn't allow register globals to be on so I had used that fix to get oscommerce working. Seems you have to change this contribution a little to get it working, too.

 

In protx_form.php (in modules), add a line to the beginning of the before_process function so it looks liek this:

 

function before_process() {

global $HTTP_POST_VARS, $crypt;

$crypt = $_REQUEST['crypt']; // this line makes it work

 

voidstate

Posted

Thought it must be something like that. Cheers for the workaround voidstate, unfortunately I've moved the site to a different server now but I'm sure that will come in handy soon.

  • 3 weeks later...
Posted

I believe the problem is that the old Protx form module relies on registered globals being turned on. It's quite an easy problem to solve. All you have to do is add 1 line to the script:

 

$crypt = $_REQUEST['crypt'];

 

Usually $crypt would be automatically populated with registered globals turned on but with it off you have to ask nicely for the contents of the variable.

Posted

I also have a problem with protx. The protx notification comes through but there is no oscommerce order and it's not even in the admin section so I don't know what they have ordered.

 

I know that PHP was upgraded to 4.4.1 this week and it's a new store I don't know whether it worked before anyway.

 

Has anybody had this problem and managed to fix it?

 

Regards

 

WG

Posted

If registered globals are turned off, try the above.

Posted

Thanks to Recidivist! :thumbsup: This happened to me today and I did the fix and an order just came through fine so fingers crossed! We aren't on 1&1 either..

  • 2 months later...
Posted

I've just amended my protx_form.php as per the instructions in this forum.

 

I am now getting Fatal error: Cannot redeclare class protx_form

 

Can any one help.

 

Brian

  • 4 weeks later...
Posted
I believe the problem is that the old Protx form module relies on registered globals being turned on. It's quite an easy problem to solve. All you have to do is add 1 line to the script:

 

$crypt = $_REQUEST['crypt'];

 

Wow, I was killing myself for a couple of hours today for this :)))))

 

THANK YOUUUUUUUU ;)

 

Note to the module authors:

Put this note to the documentation!!! Most of the webshops are functioning with the register_globals set to off.

  • 1 month later...
Posted

I faced the same problem. Payment transactions have not been confirmed by the shopping cart. I.e. Protx cannot re-direct to your shop success page.

 

The 2 line job didn't do the trick for me.

The PHP version had nothing to do with it on my website - my web host kindly upgraded my account to the newest PHP version - the problem persisted.

 

Registered Globals are turned on.

 

I have come up with a workaround which I uploaded to the contrib page:

 

http://www.oscommerce.com/community/contributions,441

 

Hope it helps. :)

Posted

this used to happen to us

 

now it randomly happened to 2 orders yesterday

 

just using paypal & authorize.net

 

 

whats the fix?

  • 3 weeks later...
Posted

Hi All,

I have just started using Protx, and I am getting the same problems as you lot.

 

I have tried the 2 line code edit. that did not work. so I tried the URL fix that webby007 gave, and that worked after some edits.

 

However, when the "Proceed" button is pushed, it should go to checkout_process.php but instead it goes right to login.php. Once you log in again, you start off at the checkout process!

 

There is nothing i found on the forums or google!

 

Please Help!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...