MoneyBookers
From PhpCOIN Documentation
Using MoneyBookers as a payment method is a simple process:
- Goto http://www.moneybookers.com and set yourself up with an account
- Log into phpCOIN on your website as an admin
- Add the vendor
- Add paylinks
Admin -> Vendors
If MoneyBookers 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 MoneyBookers 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: MoneyBookers (for the drop-down lists) Buy Return Param Name: moneybookers Buy Return Param Value: 1 URL / Website: http://www.moneybookers.com Use IPN: No 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 "MoneyBookers")
Product ID: (From the drop-down, choose the product that this
paylink applies to)
Description: MoneyBookers Product x (for listing)
Order Link: (This is for the "paylink" html provided by
MoneyBookers, such as:
<form action="https://www.moneybookers.com/app/payment.pl" target="_blank">
<input type="hidden" name="pay_to_email"
value="email@your-domain.com">
<input type="hidden" name="transaction_id" value="<order_id>">
<input type="hidden" name="return_url" value="<return_link_buy>">
<input type="hidden" name="cancel_url" value="<return_link_cancel>">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="pay_from_email" value="<ord_email>">
<input type="hidden" name="amount" value="<ord_unit_cost>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="firstname" value="<ord_name_first>">
<input type="hidden" name="lastname" value="<ord_name_last>">
<input type="hidden" name="address"
value="<ord_addr_01>, <ord_addr_02>">
<input type="hidden" name="postal_code" value="<ord_zip_code>">
<input type="hidden" name="city" value="<ord_city>">
<input type="hidden" name="country" value="<ord_country>">
<input type="hidden" name="detail1_description"
value="Product ID:">
<input type="hidden" name="detail1_text" value="<prod_id>">
<input type="hidden" name="detail2_description"
value="Product Name:">
<input type="hidden" name="detail2_text" value="<prod_name>">
<input type="hidden" name="detail3_description"
value="Description:">
<input type="hidden" name="detail3_text" value="<prod_desc>">
<input type="hidden" name="confirmation_note"
value="Thank you for ordering your hosting service
from YOUR COMPANY">
<input type="image" border="0" name="pay" value="Pay"
src="http://www.moneybookers.com/images/banners/88_en_paynow.gif"
width="88" height="31">
</form>
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.
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 MoneyBookers as a payment method.

