Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2004
    Posts
    167
    Plugin Contributions
    0

    Default How to Updgrade Barclays ePDQ for PHP 5.6?

    How to Updgrade Barclays ePDQ to 1.5?

    Get this with the plugin in the download section when installed and viewing payment modules in admin:

    [01-Jul-2020 20:57:25 UTC] PHP Parse error: syntax error, unexpected '&' in /home/xxx/public_html/includes/modules/payment/epdq.php on line 91

    [01-Jul-2020 20:57:25 UTC] Request URI: /xxx/modules.php?set=payment, IP address: xxxxxx
    --> PHP Parse error: syntax error, unexpected '&' in /home/xxx/public_html/includes/modules/payment/epdq.php on line 91.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: How to Updgrade Barclays ePDQ to 1.5?

    Would need more information to be able to help... what is the source of the code that is in current use? What is the code? What is at and/or just before line 91? What version of this software is currently installed? Almost any/most of the above should make it possible to at least offer a hint of how to improve the code for current standards.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: How to Updgrade Barclays ePDQ to 1.5?

    Edit ./includes/modules/payment/epdq.php
    change line 16 from

    function epdq() {

    to

    function __construct() {

    Change line 91 from

    $fp = fsockopen( $host, 80, &$errno, &$errstr, 60 );

    to

    $fp = fsockopen( $host, 80, $errno, $errstr, 60 );
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Jul 2004
    Posts
    167
    Plugin Contributions
    0

    Default Re: How to Updgrade Barclays ePDQ to 1.5?

    Quote Originally Posted by swguy View Post
    Edit ./includes/modules/payment/epdq.php
    change line 16 from

    function epdq() {

    to

    function __construct() {

    Change line 91 from

    $fp = fsockopen( $host, 80, &$errno, &$errstr, 60 );

    to

    $fp = fsockopen( $host, 80, $errno, $errstr, 60 );

    Thank you so much, I really appreciate the help.

    Plus thank you to @mc12345678 for the offer of help. I was busy "designing" the rest of the website and only just came back to view this post. So thanks again!

 

 

Similar Threads

  1. Barclays Epdq update
    By Gerome in forum Addon Payment Modules
    Replies: 13
    Last Post: 6 Dec 2008, 02:21 PM
  2. Barclays ePDQ account
    By multichild in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Oct 2007, 11:16 AM
  3. Barclays ePDQ Do or Die
    By StephanToth in forum Addon Payment Modules
    Replies: 0
    Last Post: 19 Aug 2006, 04:18 AM
  4. Does anyone know how to integrate Barclays ePDQ (CPI)
    By StephanToth in forum Addon Payment Modules
    Replies: 0
    Last Post: 17 Aug 2006, 12:19 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR