Plugin Directory

Changeset 2018130


Ignore:
Timestamp:
01/24/2019 06:55:57 AM (7 years ago)
Author:
alloykenya
Message:

Fixes on ipn

Location:
thebunch-ke-pesapal-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • thebunch-ke-pesapal-woocommerce/trunk/readme.txt

    r2013493 r2018130  
    55Requires at least: 4.0
    66Tested up to: 5.1
    7 Stable tag: 1.1.9.1
     7Stable tag: 1.1.9.2
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3131
    3232== Changelog ==
     33
     34= 1.1.9.2 =
     35Improvement : Remove unused code
     36Fix : PesaPal IPN method
    3337
    3438= 1.1.9.1 =
  • thebunch-ke-pesapal-woocommerce/trunk/thebunchke_pesapal_woocommerce.php

    r2013495 r2018130  
    33Plugin Name: TheBunch KE Pesapal Woocommerce
    44Description: Add PesaPal payment gateway to your Woocommerce plugin
    5 Version: 1.1.9.1
     5Version: 1.1.9.2
    66Author: rixeo
    77Author URI: http://thebunch.co.ke/
     
    120120                   
    121121                    add_action('woocommerce_receipt_'.$this->id, array(&$this, 'payment_page'));
    122                     add_action('woocommerce_api_wc_'.$this->id.'_gateway', array( $this, 'ipn_response' ) );
    123                     add_action($this->id.'_process_valid_ipn_request', array($this, 'process_valid_ipn_request'));
     122                   
     123                    add_action( 'woocommerce_api_callback', array($this, 'ipn_response') );
    124124                   
    125125                }
     
    532532                        echo $resp;
    533533                        ob_flush();
    534                         exit;
    535                     }     
     534                       
     535                    }
     536                    exit();                 
    536537                }
    537538            }
Note: See TracChangeset for help on using the changeset viewer.