mirror of
https://github.com/invite-frey/is-woo-payment-fps.git
synced 2025-04-07 23:00:43 +00:00
Bugfix
This commit is contained in:
parent
2c589eda57
commit
544529348a
@ -59,6 +59,8 @@ function its_wpf_add_class( $methods ){
|
|||||||
|
|
||||||
add_action( 'init', 'its_wpf_qrcode_catch', 0 );
|
add_action( 'init', 'its_wpf_qrcode_catch', 0 );
|
||||||
function its_wpf_qrcode_catch()
|
function its_wpf_qrcode_catch()
|
||||||
|
{
|
||||||
|
if(isset($_REQUEST['generate_fps_qrcode']) && isset($_REQUEST['_wpnonce']))
|
||||||
{
|
{
|
||||||
$qrcode_string = $_REQUEST['generate_fps_qrcode'];
|
$qrcode_string = $_REQUEST['generate_fps_qrcode'];
|
||||||
$nonce = $_REQUEST['_wpnonce'];
|
$nonce = $_REQUEST['_wpnonce'];
|
||||||
@ -71,6 +73,7 @@ function its_wpf_qrcode_catch()
|
|||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Change text on the Pay order button.
|
* Change text on the Pay order button.
|
||||||
|
Loading…
Reference in New Issue
Block a user