Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    9
    Plugin Contributions
    0

    Default Fatal Error in Payflow Pro

    Catchable fatal error: Object of class payflowpro could not be converted to string in /home/.makadisa/nynjtc/support.nynjtc.org/includes/modules/payment/payflowpro.php on line 399

    Something changed somewhere (out of my control, I think) and we started failing on 2/23. On 2/22 everything was working. On 2/23 we started getting a bunch of warnings and then the above fatal error. I just downloaded the new version of payflowpro that had a comment that sounded like it would take care of the warnings and it did but not the fatal error.

    The one thing that I know changed on my end is the version of PHP which just went from 5.x to 5.1.2 with a warning that you had to be on zencart 1.3.7 which I am. However backing off to PHP 4.4.4 still gets the same error above. So I don't know what else changed.

    Line 399 is debugging code which is off so I really don't understand what causes the error. (I had had debugging on just before I did the 2/23 upgrade - is this cached somewhere?)

  2. #2
    Join Date
    Jan 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Fatal Error in Payflow Pro

    I have fixed the problem, knowing almost no PHP but 50+ years of programming experience, something did not look right.

    In line 399, 400, 401, and 402 change $$this to $this.

    I don't know if this works with debugging turned on.

    I suspect the problem has been there and being ignored because my ISP had the PHP error level set to suppress the errors and just change it to start showing them.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fatal Error in Payflow Pro

    Thanks. The contribution in the downloads section has been updated.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Payflow Pro Error
    By friends1976 in forum Addon Payment Modules
    Replies: 8
    Last Post: 2 Jun 2010, 08:42 PM
  2. Payflow Pro Billing Address Error
    By ComputerLarry in forum Addon Payment Modules
    Replies: 8
    Last Post: 30 Jun 2007, 06:15 AM
  3. Fatal Error in Payflow Pro
    By yktdan in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 27 Feb 2007, 12:13 AM

Posting Permissions

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