wip prof check page now handle the success message on paiement
This commit is contained in:
@@ -21,31 +21,6 @@ include_once(PLGNTLS_class::get_path() . '/php/paypal/routes.php');
|
||||
|
||||
|
||||
|
||||
/*
|
||||
function check_paypal_request()
|
||||
{
|
||||
error_log("----");
|
||||
if (is_page('test_paypal_payment'))
|
||||
error_log("on test_paypal_payment");
|
||||
else if (is_page('test_paypal_ok'))
|
||||
error_log("on test_paypal_ok");
|
||||
else if (is_page('test_paypal_infos'))
|
||||
error_log("on test_paypal_infos");
|
||||
else
|
||||
return;
|
||||
error_log("_GET");
|
||||
error_log(json_encode($_GET));
|
||||
error_log("_POST");
|
||||
error_log(json_encode($_POST));
|
||||
// error_log("_COOKIE");
|
||||
// error_log(json_encode($_COOKIE));
|
||||
}
|
||||
add_action('template_redirect', 'check_paypal_request');
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user