Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    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
    12,475
    Plugin Contributions
    88

    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
    2,685
    Plugin Contributions
    9

    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?
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    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.

  5. #5
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Undefined constant ipn_main_handler

    Quote Originally Posted by lat9 View Post
    Good point, @carlwhat. Perhaps @ianhg could identify the history of the site and which payment methods are currently installed.
    configuration table does not have MODULE_PAYMENT_PAYPALWPP_REFUNDED_STATUS_ID it does have MODULE_PAYMENT_PAYPAL_REFUNDED_ORDER_STATUS_ID
    The option for payment is PayPal Website Payment Standard.
    Continues to throw this error when ever a refund is given on an order.
    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Undefined constant ipn_main_handler

    Fixed in upcoming v1.5.7a like this: https://github.com/zencart/zencart/c...5a76af886eb2e6
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Undefined constant ipn_main_handler

    Quote Originally Posted by DrByte View Post
    Fixed in upcoming v1.5.7a like this: https://github.com/zencart/zencart/c...5a76af886eb2e6
    Thank you Dr Byte

 

 

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