Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Register Globals mod and payment modules


Recommended Posts

Are there any mods required to payment modules when using the register globals fix ?


If I use the cc payment module or the nochex module then everything works fine.


If I use the ProtX payment module then it seems to decode the response from ProtX as failure even when it has passed. This results in being taken back to the choose payment option screen.


I changed the statement:

If ($status != 'OK')

to read:

if($status == 'OK')

in the ProtX payment module and it completes the order so I assume the status is not being calculated correctly.


The status is calculated in the function before_process() but I don't have enough knowledge to know if this needs changing to operate with register globals off.




Dave Peters

Dave Peters

Link to comment
Share on other sites


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

  • Create New...