some more little codes for restrictions and registrations

This commit is contained in:
asus
2024-03-02 21:43:43 +01:00
parent 7738ad1863
commit 8862bab1bd
16 changed files with 312 additions and 131 deletions

View File

@@ -1,8 +1,5 @@
<?php
include_once(PLGNTLS_class::get_path() . '/php/paypal/route_api_utils.php');
include_once(PLGNTLS_class::get_path() . '/php/paypal/update_user_payment.php');
/**
* it means someone outside wp is accessing the file, in this case kill it.
*/
@@ -11,6 +8,9 @@ if (!defined('ABSPATH')) {
}
include_once(PLGNTLS_class::get_path() . '/php/paypal/route_api_utils.php');
include_once(PLGNTLS_class::get_path() . '/php/paypal/update_user_payment.php');
/**
* @see https://developer.paypal.com/docs/checkout/standard/integrate/#link-integratebackend

View File

@@ -1,8 +1,5 @@
<?php
include_once(PLGNTLS_class::get_path() . '/php/paypal/route_api_utils.php');
include_once(PLGNTLS_class::get_path() . '/php/paypal/update_user_payment.php');
/**
* it means someone outside wp is accessing the file, in this case kill it.
*/
@@ -10,6 +7,10 @@ if (!defined('ABSPATH')) {
die('You can not access this file!');
}
include_once(PLGNTLS_class::get_path() . '/php/paypal/route_api_utils.php');
include_once(PLGNTLS_class::get_path() . '/php/paypal/update_user_payment.php');
function fipf_handle_orders_capture_request($request) {
$order_id = $request['orderID'];