Skip to content

Commit

Permalink
Add sandbox constant
Browse files Browse the repository at this point in the history
  • Loading branch information
zadarma-github committed Jun 7, 2019
1 parent 8a22caa commit 229fac1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

require_once __DIR__.DIRECTORY_SEPARATOR.'include.php';

$api = new Api(KEY, SECRET, true);
define('USE_SANDBOX', true);
$api = new Api(KEY, SECRET, USE_SANDBOX);

// TODO: enter your values
$sourceNumber = ''; // in international format
Expand Down

0 comments on commit 229fac1

Please sign in to comment.