# Test Environment

Test mode is a tool which allows you to simulate the actual payment process as if you were using it as live payment gateway.

{% hint style="info" %}
Please note that test mode is only for development and testing purposes do not use it on a production site.
{% endhint %}

In order to activate the test Mode, first, follow the below-given steps for generating test mode credentials.

* [Log In](https://app.paykun.com/login) to your PayKun Dashboard
* ‘Go to’ the Merchant Account under the ‘Payment Gateway’ section (If you are first-time-login then you will see the ‘Become a Merchant’ option.)
* After the merchant account login, click on your profile picture.
* Select ‘Test mode’.
* And click on “Generate Sandbox Account.”(by default it is inactive)

![](https://3452474187-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lu72eVCu_tPCGSWyyd7%2F-MDtLLme7rW2Px9333rc%2F-MDtNEB3zi5mFHp5MRmY%2Ftestmode_1.png?alt=media\&token=a6ff7e08-4aba-4fb5-b1ed-f7f3fb8c01c7)

* Copy your password from the generated credential
* Click on the sandbox login.
* And then you will be redirected to the Sandbox Mode, then after you may log in with your generated credentials and log in as it is in live mode.

![](https://3452474187-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lu72eVCu_tPCGSWyyd7%2F-MDtLLme7rW2Px9333rc%2F-MDtNK6KvcGmOVQ-R2IZ%2Flogin.PNG?alt=media\&token=44d75afb-4e1c-4266-8a44-d0b20fb09798)

**If already the test mode credentials are generated:**

* [Log In](https://app.paykun.com/login) to your PayKun Dashboard
* ‘Go to’ the Merchant Account under the ‘Payment Gateway’ section (If you are first-time-login then you will see the ‘Become a Merchant’ option.)
* After the merchant account login, click on your profile picture.
* Select ‘Test mode’.
* Fill user credentials like username and password for your sandbox account and click on the sandbox login.

{% hint style="info" %}
If you have already active sandbox account and you have forgotten the password, then you can change your password by clicking on update password button.
{% endhint %}
