Bank Transfer
From PhpCOIN Documentation
Using "Bank Transfer" as a payment method is a simple process:
- Log into phpCOIN on your website as an admin
- Add the vendor
- Add paylinks
Admin -> Vendors
If "Bank Transfer" exists in the list of available vendors, you can simply edit the existing record. If it does not exist, then click [Add New] to add "Bank Transfer" as a payment method that you will accept. The info should look like the following:
Vendor ID: (will be auto-completed by phpCOIN)
Status: On (Off to disable this payment method)
Vendor Name: Bank Transfer (for the drop-down lists)
Buy Return Param Name: transfer
Buy Return Param Value: 1
URL / Website: http://my.phpcoin.com/mod.php?mod=orders&mode=return
Use IPN: YES (we do NOT want phpCOIN to mark the invoice
as paid when the user clicks the button)
Notes:
Admin -> PayLinks
Select the PayLink you want to edit, or click [Create New] to create a new one. Paste the following code into the order link, changing the parameters shown in bold:
Vendor Product Id: (Auto-created by phpCOIN)
Vendor ID: (From the drop-down, choose "Bank Transfer")
Product ID: (From the drop-down, choose the product that this
paylink applies to)
Description: Bank Transfer Product x (for listing)
Order Link: Use something like the following:
To pay by bank transfer, please........... (enter remainder of
your instructions to the client here)
In the above link, the <> tells phpCOIN that it should replace the tag name with the actual value at run-time. For example, leaving <return_link_buy> means that phpCOIN will enter the actual return URL when it displays an order paylink. It also means that you could move your site to another URL entirely but would not need to adjust your paylinks.
Notice that there is NO button for them to click. At this point in time, their info and order is already in the database, so you are good to go. If you wish to have "confirm" and "cancel" buttons for them to click, add the following to the "Order Link" field
<form method="POST" action="mod.php"> <input type="hidden" name="mod" value="orders"> <input type="hidden" name="mode" value="return"> <input type="hidden" name="transfer" value="1"> <input type="hidden" name="item_name" value="<prod_desc>"> <input type="hidden" name="item_number" value="<prod_id>"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="amount" value="<total_amt>"> <input type="submit" value="confirm" name="confirm"> </form> <form method="POST" action="mod.php"> <input type="hidden" name="mod" value="orders"> <input type="hidden" name="mode" value="return"> <input type="hidden" name="transfer" value="0"> <input type="submit" value="Cancel" name="cancel"> </form>
Lather, Rinse, Repeat
Repeat the above steps as many times as necessary, so that you end up with one PayLink for each product or service that will allow Bank Transfer as a payment method.

