Page 46 of 46 FirstFirst ... 36444546
Results 451 to 456 of 456
  1. #451
    Join Date
    Apr 2009
    Posts
    123
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    New error after upgrading to v1.3.2, but the transaction is successful:

    ZC 1.58 w/ php 8.2


    Code:
    [19-Jun-2026 18:11:12 Canada/Pacific] PHP Fatal error:  Uncaught Error: Class "PayPalRestful\Common\ErrorInfo" not found in /zc158/includes/modules/payment/paypalr.php:204
    Stack trace:
    #0 /zc158/includes/classes/payment.php(102): paypalr->__construct()
    #1 /zc158/ipn_main_handler.php(320): payment->__construct('')
    #2 {main}
      thrown in /zc158/includes/modules/payment/paypalr.php on line 204
    
    [19-Jun-2026 18:11:12 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140
    --> PHP Fatal error: Uncaught Error: Class "PayPalRestful\Common\ErrorInfo" not found in /zc158/includes/modules/payment/paypalr.php:204
    Stack trace:
    #0 /zc158/includes/classes/payment.php(102): paypalr->__construct()
    #1 /zc158/ipn_main_handler.php(320): payment->__construct('')
    #2 {main}
      thrown in /zc158/includes/modules/payment/paypalr.php on line 204.

  2. #452
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by siliconbug View Post
    New error after upgrading to v1.3.2, but the transaction is successful:

    ZC 1.58 w/ php 8.2


    Code:
    [19-Jun-2026 18:11:12 Canada/Pacific] PHP Fatal error:  Uncaught Error: Class "PayPalRestful\Common\ErrorInfo" not found in /zc158/includes/modules/payment/paypalr.php:204
    Stack trace:
    #0 /zc158/includes/classes/payment.php(102): paypalr->__construct()
    #1 /zc158/ipn_main_handler.php(320): payment->__construct('')
    #2 {main}
      thrown in /zc158/includes/modules/payment/paypalr.php on line 204
    
    [19-Jun-2026 18:11:12 Canada/Pacific] Request URI: /ipn_main_handler.php, IP address: 173.0.81.140
    --> PHP Fatal error: Uncaught Error: Class "PayPalRestful\Common\ErrorInfo" not found in /zc158/includes/modules/payment/paypalr.php:204
    Stack trace:
    #0 /zc158/includes/classes/payment.php(102): paypalr->__construct()
    #1 /zc158/ipn_main_handler.php(320): payment->__construct('')
    #2 {main}
      thrown in /zc158/includes/modules/payment/paypalr.php on line 204.
    This is a known issue with the /ipn_main_handler.php: https://github.com/zencart/zencart/issues/7767

    It'll be partially corrected in zc223 and later (including zc300). For earlier installations, you can start by making the change to add observer initialization to the paypal_ipn startup: https://github.com/zencart/zencart/pull/7843/changes

  3. #453
    Join Date
    May 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    I have upgraded to Restful 2.10 using ZC 2.2.1 and PHP 8.2
    I cannot access the Payments page in admin and an Error 500 is produced (doesn't seem to like 'sniffer'). Here are the logs :-
    Code:
    [22-Jun-2026 14:45:53 UTC] PHP Fatal error: Uncaught Error: Call to undefined method sniffer::index_exists() in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php:497
    Stack trace:
    #0 /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php(249): paypalr->tableCheckup()
    #1 /admin/modules.php(187): paypalr->__construct()
    #2 /admin/index.php(16): require('...')
    #3 {main}
    thrown in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php on line 497
    
    [22-Jun-2026 14:45:53 UTC] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: 81.104.105.33
    --> PHP Fatal error: Uncaught Error: Call to undefined method sniffer::index_exists() in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php:497
    Stack trace:
    #0 /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php(249): paypalr->tableCheckup()
    #1 /admin/modules.php(187): paypalr->__construct()
    #2 /admin/index.php(16): require('...')
    #3 {main}
    thrown in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php on line 497.
    
    [22-Jun-2026 14:45:53 UTC] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: 81.104.105.33
    --> PHP Fatal error: Uncaught Error: Call to undefined method sniffer::index_exists() in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php:497
    Stack trace:
    #0 /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php(249): paypalr->tableCheckup()
    #1 /admin/modules.php(187): paypalr->__construct()
    #2 /admin/index.php(16): require('...')
    #3 {main}
    thrown in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php on line 497.

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

    Default Re: PayPal RESTful API Payment Module

    Quote Originally Posted by cheddars View Post
    I have upgraded to Restful 2.10 using ZC 2.2.1 and PHP 8.2
    I cannot access the Payments page in admin and an Error 500 is produced (doesn't seem to like 'sniffer'). Here are the logs :-
    Code:
    [22-Jun-2026 14:45:53 UTC] PHP Fatal error: Uncaught Error: Call to undefined method sniffer::index_exists() in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php:497
    Stack trace:
    #0 /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php(249): paypalr->tableCheckup()
    #1 /admin/modules.php(187): paypalr->__construct()
    #2 /admin/index.php(16): require('...')
    #3 {main}
    thrown in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php on line 497
    
    [22-Jun-2026 14:45:53 UTC] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: 81.104.105.33
    --> PHP Fatal error: Uncaught Error: Call to undefined method sniffer::index_exists() in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php:497
    Stack trace:
    #0 /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php(249): paypalr->tableCheckup()
    #1 /admin/modules.php(187): paypalr->__construct()
    #2 /admin/index.php(16): require('...')
    #3 {main}
    thrown in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php on line 497.
    
    [22-Jun-2026 14:45:53 UTC] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: 81.104.105.33
    --> PHP Fatal error: Uncaught Error: Call to undefined method sniffer::index_exists() in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php:497
    Stack trace:
    #0 /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php(249): paypalr->tableCheckup()
    #1 /admin/modules.php(187): paypalr->__construct()
    #2 /admin/index.php(16): require('...')
    #3 {main}
    thrown in /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php on line 497.
    go here:

    /zc_plugins/PayPalRestful/v2.1.0/catalog/includes/modules/payment/paypalr.php on line 497.

    and try changing:

    PHP Code:
    //from:
    if (!$sniffer->index_exists(TABLE_PAYPAL_WEBHOOKS'idx_pprwebhook_unique')) {
    //to:
    if (!$sniffer->indexExists(TABLE_PAYPAL_WEBHOOKS'idx_pprwebhook_unique')) { 
    best.
    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. #455
    Join Date
    May 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: PayPal RESTful API Payment Module

    Thank you @carlwhat. Sniffer fix worked

  6. #456
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: PayPal RESTful API Payment Module

    v2.1.1 of PayPal RESTful (Encapsulated) is now available for download. That version corrects the "$sniffer" bug reported above.

    Please use that version instead of v2.1.0. Thanks to @cheddars for the report and @carlwhat for the correction.

 

 
Page 46 of 46 FirstFirst ... 36444546

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 191
    Last Post: 29 Jun 2026, 01:17 AM
  2. IPower & FirstData API Payment Module
    By spence in forum Addon Payment Modules
    Replies: 6
    Last Post: 7 Jul 2011, 06:33 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