Menu

#4 surepay class relies on deprecated pass by reference.

v0.1.1
open
nobody
XML (1)
4
2003-09-22
2003-09-22
No

Thank you for making sausurepay. However, when I try to
use the sausurepay.php class, I get the following error:

Warning: Call-time pass-by-reference has been
deprecated - argument passed by value; If you would
like to pass it by reference, modify the declaration of
xml_set_object(). If you would like to enable call-time
pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI
file. However, future versions may not support this any
longer. in
/home/httpd/htdocs/secure/catalog/includes/classes/sausurepay.php
on line 694

Obviously, I could reconfigure my PHP install to allow
call time pass by reference, but since it is being
deprecated, perhaps you might want to fix your class
for current and future PHP implementations. Thanks.

Discussion

  • Jon Thomas Stokkeland

    • priority: 5 --> 4
     
  • Jon Thomas Stokkeland

    Logged In: YES
    user_id=295939

    Ah, I dont recall the details in this part of the class, I'm
    sure it can be rewritten somehow so it will work for old and
    new PHP releases...

    I am not actively developing/updating this project as the
    legacy surepay interface is not provided to new surepay
    (verisign) customers (afaik).
    If anyone do create a fix, feel welcome to post it here (or
    If anyone wants to pay me to fix it, please contact me thru
    surepay at sauen dot com and I'll make a new version)..
    If anyone is interrested in participating (read: taking
    over) this project, please let me know and I likely add you
    to the developers or admin list.

     

Log in to post a comment.

MongoDB Logo MongoDB