We have had several people ask whether they could add a custom payment method, such as "call to order" and similar to the "check or money order" method. This is a complicated process, and should only be attempted by someone skilled in PHP coding.
1. Make a Backup
Backup your Squirrelcart files and your database records
2. In the admin section, click "Payment > Methods"

3. Click "Add New Payment Method"
4. Enter a name in the "Name" field, that explains the method.
5. Select "Other" for "Type"
6. Click ![]()
7. Create File
Now, go to the "squirrelcart/payment_gateways" folder using your HTML editor, and create a new file. Give it a name that corresponds to your payment method's name.
8. Paste the contents of "squirrelcart/payment_gateways/check.php" into your new file.
This file will be included when the person check out and chooses the new method you are setting up. You may want to change the wording in the file according to the method you are trying to create.
9. Open place_order.func.php
Open the file "squirrelcart/functions/place_order.func.php" in your HTML editor, and locate line 106. The code starting at that line should look like this:
// ---------- Check or Money Order section --------------------------------------------------------------------//
if ($SESSION[order][pay_info][method] == "Check or Money Order") {
include $SESSION[payment_module_path]."/check.php";
}
10. Add another "if" statement similar to the one in step 9, directly below it
Copy the section of code in step 9 and past it directly after the section that is already there.
11. Replace the text "Check or Money Order" with the name you entered for your new method
12. Replace the text "check.php" to match the name of the file you created
For example, let's assume that you named the method "Phone to Order" and the file you created "phone_order.php". Your code would then look like this:
// ---------- Phone to Order section --------------------------------------------------------------------//
if ($SESSION[order][pay_info][method] == "Phone to Order") {
include $SESSION[payment_module_path]."/phone_order.php";
}