Results 1 to 10 of 800

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    before the getOrders, aka, the error line, add

    PHP Code:
    trigger_error('Response: ' json_encode($response)); 
    and post that log.

    [06-Oct-2023 10:32:26 America/New_York] Request URI: /xxx/index.php?cmd=orders&page=1&oID=10030689&action=edit, IP address: 134.215.175.155
    --> PHP Fatal error: Uncaught Error: Call to a member function getOrders() on array in /home/xxx/public_html/includes/modules/payment/square_webPay.php:920
    Stack trace:
    #0 /home/xxx/public_html/includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(10030689)
    #1 /home/xxx/public_html/xxx/orders.php(741): square_webPay->admin_notification(10030689)
    #2 /home/xxx/public_html/xxx/index.php(11): require('/home/xxx/...')
    #3 {main}
    thrown in /home/xxx/public_html/includes/modules/payment/square_webPay.php on line 920.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,914
    Plugin Contributions
    13

    Default Re: Square WebPay support thread.

    you are not posting the contents of:

    trigger_error('Response: ' . json_encode($response));

    i need a log file that starts with:

    Response:

    if you want more help.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    you are not posting the contents of:

    trigger_error('Response: ' . json_encode($response));

    i need a log file that starts with:

    Response:

    if you want more help.
    One was not generated
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,914
    Plugin Contributions
    13

    Default Re: Square WebPay support thread.

    try:

    PHP Code:
    trigger_error('Response: ' json_encode($response), E_USER_WARNING); 
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    try:

    PHP Code:
    trigger_error('Response: ' json_encode($response), E_USER_WARNING); 

    [09-Oct-2023 06:03:08 America/New_York] Request URI: /XX/index.php?cmd=orders&page=1&oID=10030681&action=edit, IP address: 000.000.000.000
    #1 trigger_error() called at [/home/XXX/public_html/includes/modules/payment/square_webPay.php:919]
    #2 square_webPay->lookupOrderDetails() called at [/home/XXX/public_html/includes/modules/payment/square_webPay.php:526]
    #3 square_webPay->admin_notification() called at [/home/XXX/public_html/XX/orders.php:741]
    #4 require(/home/XXX/public_html/XX/orders.php) called at [/home/XXX/public_html/XX/index.php:11]
    --> PHP Warning: Response: {"error":true,"results":[{"category":"AUTHENTICATION_ERROR","code":"FORBIDDEN","detail":"Cannot fetch orders for a different merchant."}]} in /home/XXX/public_html/includes/modules/payment/square_webPay.php on line 919.


    [09-Oct-2023 06:03:08 America/New_York] Request URI: /XX/index.php?cmd=orders&page=1&oID=10030681&action=edit, IP address: 000.000.000.000
    --> PHP Fatal error: Uncaught Error: Call to a member function getOrders() on array in /home/XXX/public_html/includes/modules/payment/square_webPay.php:920
    Stack trace:
    #0 /home/XXX/public_html/includes/modules/payment/square_webPay.php(526): square_webPay->lookupOrderDetails(10030681)
    #1 /home/XXX/public_html/XX/orders.php(741): square_webPay->admin_notification(10030681)
    #2 /home/XXX/public_html/XX/index.php(11): require('/home/XXX/...')
    #3 {main}
    thrown in /home/XXX/public_html/includes/modules/payment/square_webPay.php on line 920.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,914
    Plugin Contributions
    13

    Default Re: Square WebPay support thread.

    look back at this post.

    PHP Code:
    //from
    if ($response['errors']) {
    //to
    if ($response['error']) { 
    TSIS.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Square WebPay support thread.

    Quote Originally Posted by carlwhat View Post
    look back at this post.

    PHP Code:
    //from
    if ($response['errors']) {
    //to
    if ($response['error']) { 
    TSIS.
    That worked perfect, thank you =)
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

 

 

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