Results 1 to 10 of 800

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    1.5.8a
    Tried with both PHP 7.4 and 8.0
    version 1.04 of WebPay
    OPC
    EO (Can edit the orders with this)
    bootstrap template

    This just cropped up for one site and the solutions mentioned earlier made things worse.

    Here's what we started getting a couple of weeks ago (today's version/date):

    Code:
    [17-Jan-2024 15:26:21 America/Denver] PHP Fatal error: Uncaught Error: Call to a member function getOrders() on array in /includes/modules/payment/square_webPay.php:913Stack trace:
    #0 /includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(1570)
    #1 /******/orders.php(740): square_webPay->admin_notification(1570)
    #2 /******/index.php(11): require('/home/******/...')
    #3 {main}
    thrown in /includes/modules/payment/square_webPay.php on line 913
    
    
    [17-Jan-2024 15:26:21 America/Denver] Request URI: /******/index.php?cmd=orders&origin=index&page=1&oID=1570&action=edit, IP address: 12.34.56.78
    --> PHP Fatal error: Uncaught Error: Call to a member function getOrders() on array in /includes/modules/payment/square_webPay.php:913
    Stack trace:
    #0 /includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(1570)
    #1 /******/orders.php(740): square_webPay->admin_notification(1570)
    #2 /******/index.php(11): require('/home/******/...')
    #3 {main}
    thrown in /includes/modules/payment/square_webPay.php on line 913.
    When adding the suggested code in post #527, the error changes to:
    Code:
    [18-Jan-2024 10:47:02 America/Denver] Request URI: /******/index.php?cmd=orders&page=1&oID=1570&action=edit, IP address: 12.34.56.78, Language id 1#1 square_webPay->lookupOrderDetails() called at [/includes/modules/payment/square_webPay.php:526]
    #2 square_webPay->admin_notification() called at [/******/orders.php:740]
    #3 require(/******/orders.php) called at [/******/index.php:11]
    --> PHP Warning: Undefined variable $apiResponse in /includes/modules/payment/square_webPay.php on line 911.
    
    
    [18-Jan-2024 10:47:02 America/Denver] PHP Fatal error: Uncaught TypeError: square_webPay::processResult(): Argument #1 ($apiResponse) must be of type object, null given, called in /includes/modules/payment/square_webPay.php on line 911 and defined in /includes/modules/payment/square_webPay.php:473
    Stack trace:
    #0 /includes/modules/payment/square_webPay.php(911): square_webPay->processResult(NULL, Object(Square\Models\BatchRetrieveOrdersRequest))
    #1 /includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(1570)
    #2 /******/orders.php(740): square_webPay->admin_notification(1570)
    #3 /******/index.php(11): require('/home/******/...')
    #4 {main}
    thrown in /includes/modules/payment/square_webPay.php on line 473
    
    
    [18-Jan-2024 10:47:02 America/Denver] Request URI: /******/index.php?cmd=orders&page=1&oID=1570&action=edit, IP address: 12.34.56.78
    --> PHP Fatal error: Uncaught TypeError: square_webPay::processResult(): Argument #1 ($apiResponse) must be of type object, null given, called in /includes/modules/payment/square_webPay.php on line 911 and defined in /includes/modules/payment/square_webPay.php:473
    Stack trace:
    #0 /includes/modules/payment/square_webPay.php(911): square_webPay->processResult(NULL, Object(Square\Models\BatchRetrieveOrdersRequest))
    #1 /includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(1570)
    #2 /******/orders.php(740): square_webPay->admin_notification(1570)
    #3 /******/index.php(11): require('/home/******/...')
    #4 {main}
    thrown in /includes/modules/payment/square_webPay.php on line 473.
    I do not know if EO has to run the API to get its info but, we are able to edit orders. However, EO does not provide capture or refund capabilities. We set everything to capture versus authorize and have been refunding (where needed) thru Square.

    THANX in advance for your assitance
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    We are now receiving emails stating:

    Code:
    Jan-18-2024 11:01:54
    =================================
    
    Error Dump: [UNAUTHORIZED]: This request could not be authorized.
    
    Sent to Square: SquareModelsBatchRetrieveOrdersRequest Object
    (
    [locationId:SquareModelsBatchRetrieveOrdersRequest:private] =>
    [orderIds:SquareModelsBatchRetrieveOrdersRequest:private] => Array
    (
    [0] => nwMNvXeqAS9HsQJmL72KKDSDZtOZY
    )
    
    )
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 820
    Last Post: 16 May 2026, 01:07 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  3. Square Support for SqPaymentForm ending 15th July 2022
    By brittainmark in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Apr 2022, 02:40 PM
  4. v156 Square Payments and strange request from Square
    By ianhg in forum General Questions
    Replies: 4
    Last Post: 14 Nov 2020, 11:14 AM
  5. v156 PWA, Offline support Push notifications addon [Support Thread]
    By perfumbg in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 May 2019, 02:27 PM

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