Plugin Directory

Changeset 1281429


Ignore:
Timestamp:
11/06/2015 11:32:25 PM (10 years ago)
Author:
dimitrov.adrian
Message:

Debug log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-epaybg/trunk/includes/class-wc-gateway-epaybg.php

    r1281318 r1281429  
    396396  public function epaybg_ipn_response() {
    397397
    398     if (
    399       (!$this->disable_plugin_ipn_key_check && (empty($_GET['hash']) || $_GET['hash'] != $this->ipn_key))
    400       || empty($_POST['encoded'])
    401     ) {
    402       $this->log('ERROR: IPN response incorrect hash');
     398    if (!$this->disable_plugin_ipn_key_check && (empty($_GET['hash']) || $_GET['hash'] != $this->ipn_key)) {
     399      $this->log('ERROR: IPN response incorrect hash: ' . (empty($_GET['hash']) ? 'empty' : '"' . $_GET['hash'] . '"'));
    403400      return 0;
    404401    }
Note: See TracChangeset for help on using the changeset viewer.