Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    204
    Plugin Contributions
    3

    Default Undefined constant ipn_main_handler

    version Zencart 1.5.6C PHP 7.3 Using Bootstrap Template
    Can someone tell me how to correct this sort of error undefined constant, thanks

    Request URI: /ipn_main_handler.php,
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALWPP_REFUNDED_STATUS_ID - assumed 'MODULE_PAYMENT_PAYPALWPP_REFUNDED_STATUS_ID' (this will throw an Error in a future version of PHP) in /var/www/vhosts/domain/httpdocs/ipn_main_handler.php on line 446.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,218
    Plugin Contributions
    72

    bug Re: Undefined constant ipn_main_handler

    Yes, that's a bug. This thread should be moved to the Bug Reports.

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,415
    Plugin Contributions
    2

    Default Re: Undefined constant ipn_main_handler

    Quote Originally Posted by lat9 View Post
    Yes, that's a bug. This thread should be moved to the Bug Reports.
    includes/modules/payment/paypalwpp.php:679:

    has the install of this constant into the configuration table.

    how would that be a bug?

    does your configuration table have a row with the configuration_key equal to MODULE_PAYMENT_PAYPALWPP_REFUNDED_STATUS_ID?
    no good deed goes unpunished. help out with the green....

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,218
    Plugin Contributions
    72

    Default Re: Undefined constant ipn_main_handler

    Quote Originally Posted by carlwhat View Post
    includes/modules/payment/paypalwpp.php:679:

    has the install of this constant into the configuration table.

    how would that be a bug?

    does your configuration table have a row with the configuration_key equal to MODULE_PAYMENT_PAYPALWPP_REFUNDED_STATUS_ID?
    Good point, @carlwhat. Perhaps @ianhg could identify the history of the site and which payment methods are currently installed.

 

 

Similar Threads

  1. v156 Undefined Constant Errors
    By shrimp-gumbo-mmmhhh in forum Bug Reports
    Replies: 3
    Last Post: 25 Apr 2019, 06:30 PM
  2. v156 Undefined constant MODULE_PAYMENT_AUTHORIZENET_AIM_CURRENCY
    By PanZC2020 in forum Bug Reports
    Replies: 1
    Last Post: 27 Feb 2019, 09:01 PM
  3. Undefined Notice: Use of undefined constant
    By TheOracle in forum Bug Reports
    Replies: 0
    Last Post: 6 May 2007, 06:33 PM

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