We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04320ce commit 41c1438Copy full SHA for 41c1438
1 file changed
README.md
@@ -26,13 +26,13 @@ After that, setup the API config with your parameters like this :
26
\PayTech\Config::setApiSecret('your_api_secret');
27
28
/*
29
- * you can set one of this two following parameters
30
- * Notice : LiveMode === Production mode
31
- * !!! By default LiveMode is enable (true) !!!
+ * you can set one of this two environment TEST or PROD
+ * you can just set the env mode via \PayTech\Enums\Env::TEST or \PayTech\Enums\Env::PROD
+ * Like the following example
32
+ * !!! By default env is PROD !!!
33
*/
34
- \PayTech\Config::setTestMode(true);
35
- \PayTech\Config::setLiveMode(false);
+ \PayTech\Config::setEnv(\PayTech\Enums\Env::PROD);
36
37
38
* The PayTech\Enums\Currency class defined authorized currencies
0 commit comments