How to debug the Dinpay API?

Upon downloading the Dinpay API data and successfully configuring the Dinpay API codes, the merchant should debug following these steps:
Steps 
Step 1: Merely configure the API but do not integrate with the website yet. Debug the API for payment and return on your computer;
Step 2: After Step 1, if there is no problem, debug on the server for payment, return and notification;
Step 3: Sync and integrate the debugged API with the order process flow on the website;
Step 4: Debug the API integrated on the website for payment and return;
Step 5: If there is no problem, debug again on the server for payment, return and notification.