forked from mercadolibre/php-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigApp.php
More file actions
29 lines (17 loc) · 783 Bytes
/
configApp.php
File metadata and controls
29 lines (17 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/* Go to My Apps dashboard: https://developers.mercadolibre.com.ar/apps/home, and get the information you need in order to the following enviroment variables */
/* Your Application Id */
$appId = getenv('App_ID');
/* Your Secret Key */
$secretKey = getenv('Secret_Key');
/* The Redirect url */
$redirectURI = getenv('Redirect_URI');
/* The site id of the country where your application will work.
If you don't know your site_id go to our sites resources: https://api.mercadolibre.com/sites */
$siteId = 'MLB';
//////////////////////////////////////////////////////////////////////////////////////////////////////
//If you don't use Heroku use the next config
// $appId = 'App_ID';
// $secretKey = 'Secret_Key';
// $redirectURI = 'Redirect_URI';
// $siteId = 'MLB';