Skip to content

Commit 41c1438

Browse files
committed
update README
1 parent 04320ce commit 41c1438

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ After that, setup the API config with your parameters like this :
2626
\PayTech\Config::setApiSecret('your_api_secret');
2727

2828
/*
29-
* you can set one of this two following parameters
30-
* Notice : LiveMode === Production mode
31-
* !!! By default LiveMode is enable (true) !!!
29+
* you can set one of this two environment TEST or PROD
30+
* you can just set the env mode via \PayTech\Enums\Env::TEST or \PayTech\Enums\Env::PROD
31+
* Like the following example
32+
* !!! By default env is PROD !!!
3233
*/
3334

34-
\PayTech\Config::setTestMode(true);
35-
\PayTech\Config::setLiveMode(false);
35+
\PayTech\Config::setEnv(\PayTech\Enums\Env::PROD);
3636

3737
/*
3838
* The PayTech\Enums\Currency class defined authorized currencies

0 commit comments

Comments
 (0)