Changeset 3212585
- Timestamp:
- 12/24/2024 11:38:16 AM (15 months ago)
- Location:
- mylivecart
- Files:
-
- 4 edited
-
tags/1.0.3/includes/class-ztcbl-api.php (modified) (2 diffs)
-
tags/1.0.3/mylivecart.php (modified) (1 diff)
-
trunk/includes/class-ztcbl-api.php (modified) (2 diffs)
-
trunk/mylivecart.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mylivecart/tags/1.0.3/includes/class-ztcbl-api.php
r3160724 r3212585 435 435 $secret_key = get_option(sanitize_key('ztcbl-auth-key')); 436 436 $api_url = ZTCBL_API_URL . $status . '/event/list'; 437 $cons_sec_key = get_option( sanitize_key( 'ztbcl_consumer_secret_key' ) ); 438 $consumer_secret_key = isset( $cons_sec_key ) ? $cons_sec_key : ''; 439 437 440 $query_params = array( 438 441 'page' => $page, … … 445 448 'secret-key' => $secret_key, 446 449 'api-type' => 1, 450 'consumer-secret' => $consumer_secret_key, 447 451 ), 448 452 -
mylivecart/tags/1.0.3/mylivecart.php
r3160726 r3212585 22 22 defined('ZTCBL_UI_FRONT_DIR') ? '' : define('ZTCBL_UI_FRONT_DIR', ZTCBL_PLUGIN_DIR . 'ui-front/'); 23 23 defined('ZTCBL_UI_ADMIN_DIR') ? '' : define('ZTCBL_UI_ADMIN_DIR', ZTCBL_PLUGIN_DIR . 'ui-admin/'); 24 defined('ZTCBL_API_URL') ? '' : define('ZTCBL_API_URL', 'https:// crystal-tenant.mylivecart.com/api/v1/wp/');25 defined('ZTCBL_INF_API_URL') ? '' : define('ZTCBL_INF_API_URL', 'https:// crystal-admin.mylivecart.com/api/v1/');26 defined('ZTCBL_SOCKET_URL') ? '' : define('ZTCBL_SOCKET_URL', 'https:// websocket.mylivecart.com:3003/app');24 defined('ZTCBL_API_URL') ? '' : define('ZTCBL_API_URL', 'https://tenant-api.mylivecart.com/api/v1/wp/'); 25 defined('ZTCBL_INF_API_URL') ? '' : define('ZTCBL_INF_API_URL', 'https://admin-api.mylivecart.com/api/v1/wp/'); 26 defined('ZTCBL_SOCKET_URL') ? '' : define('ZTCBL_SOCKET_URL', 'https://prod-srs.mylivecart.com:3003/app'); 27 27 defined('ZTCBL_WEB_APP_URL') ? '' : define('ZTCBL_WEB_APP_URL', 'https://web.mylivecart.com'); 28 29 28 /** 30 29 * Create Event List and Event details page on plugin activation -
mylivecart/trunk/includes/class-ztcbl-api.php
r3160718 r3212585 435 435 $secret_key = get_option(sanitize_key('ztcbl-auth-key')); 436 436 $api_url = ZTCBL_API_URL . $status . '/event/list'; 437 $cons_sec_key = get_option( sanitize_key( 'ztbcl_consumer_secret_key' ) ); 438 $consumer_secret_key = isset( $cons_sec_key ) ? $cons_sec_key : ''; 439 437 440 $query_params = array( 438 441 'page' => $page, … … 445 448 'secret-key' => $secret_key, 446 449 'api-type' => 1, 450 'consumer-secret' => $consumer_secret_key, 447 451 ), 448 452 -
mylivecart/trunk/mylivecart.php
r3160725 r3212585 22 22 defined('ZTCBL_UI_FRONT_DIR') ? '' : define('ZTCBL_UI_FRONT_DIR', ZTCBL_PLUGIN_DIR . 'ui-front/'); 23 23 defined('ZTCBL_UI_ADMIN_DIR') ? '' : define('ZTCBL_UI_ADMIN_DIR', ZTCBL_PLUGIN_DIR . 'ui-admin/'); 24 defined('ZTCBL_API_URL') ? '' : define('ZTCBL_API_URL', 'https:// crystal-tenant.mylivecart.com/api/v1/wp/');25 defined('ZTCBL_INF_API_URL') ? '' : define('ZTCBL_INF_API_URL', 'https:// crystal-admin.mylivecart.com/api/v1/');26 defined('ZTCBL_SOCKET_URL') ? '' : define('ZTCBL_SOCKET_URL', 'https:// websocket.mylivecart.com:3003/app');24 defined('ZTCBL_API_URL') ? '' : define('ZTCBL_API_URL', 'https://tenant-api.mylivecart.com/api/v1/wp/'); 25 defined('ZTCBL_INF_API_URL') ? '' : define('ZTCBL_INF_API_URL', 'https://admin-api.mylivecart.com/api/v1/wp/'); 26 defined('ZTCBL_SOCKET_URL') ? '' : define('ZTCBL_SOCKET_URL', 'https://prod-srs.mylivecart.com:3003/app'); 27 27 defined('ZTCBL_WEB_APP_URL') ? '' : define('ZTCBL_WEB_APP_URL', 'https://web.mylivecart.com'); 28 28 29 29 30 /**
Note: See TracChangeset
for help on using the changeset viewer.