Once you have created your account with USAepay the first thing you will need to do is download the file usaepayphp.zip from our downloads page. The zip file contains two files, customppsend.php and customppreturn.php. These contain all the information you need for the ePayment Form integration for Ecommerce Templates. Unzip the download and place the two files in your vsadmin/inc/ folder, overwriting the existing files - agree to overwrite if prompted.
Make sure you have uploaded these two files to your server and open your Ecommerce Templates admin payment providers page. Locate the payment provider listed as "Custom" and click on the Modify button. Fill in the details as shown below:
In the box Data1 you will need to place your USAepay Key and in Data2 the Pin Number you generate. For testing, check the Demo Mode box so no credit card details are taken. You can test the system with the test cards provided by USAepay. Once you are happy with the results, uncheck the demo mode box and you should be ready to go.
Make sure you complete the Payment Form Settings under Settings > Source Keys > Edit. Under Transaction Results, choose Option 3, Display and POST to URL. You will find this option in the USAepay admin page.
For testing, put the store in demo mode through the Ecommerce Template payment providers page for USAepay. Don't use the demo mode offered by USAepay or you will probably receive a "transaction auth failed" message on checkout.
Please do read our guide here on credit card fraud.
That's all there is to it really - any comments on the set up can be posted on our Support Forum.