Skip to content

Commit

Permalink
Fix check result
Browse files Browse the repository at this point in the history
  • Loading branch information
Mofsy authored and Mofsy committed Feb 9, 2016
1 parent 424e5de commit 5e16c3a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions class-wc-webmoney.php
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ public function check_ipn()
/**
* Order not found
*/
if($order === false)
if($order === false && $_GET['action'] !== '')
{
/**
* Logger notice
Expand Down Expand Up @@ -1254,7 +1254,7 @@ public function check_ipn()
/**
* Die :)
*/
die('IPN Request Failure');
wp_die(__('IPN Request Failure.', 'wc-webmoney'), 'Result success', array('response' => '200'));
}
}

Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ New settings save

== Changelog ==

= 0.4.2.1 =
* Fix check result

= 0.4.1.2 =
* Fix readme

Expand Down
2 changes: 1 addition & 1 deletion wc-webmoney.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: WooCommerce - Webmoney Payment Gateway
Plugin URI: https://mofsy.ru/portfolio/woocommerce-webmoney-payment-gateway.html
Description: Allows you to use Webmoney payment gateway with the WooCommerce plugin.
Version: 0.4.1.2
Version: 0.4.2.1
Author: Mofsy
Author URI: https://mofsy.ru
Text Domain: wc-webmoney
Expand Down

0 comments on commit 5e16c3a

Please sign in to comment.