PayMate

From PhpCOIN Documentation

Jump to: navigation, search

PayMate is a similar solution to PayPal, but is Australian. Using PayMate as a payment method is a simple process:

  1. Goto http://www.paymate.com.au and set yourself up with an account
  2. Log into phpCOIN on your website as an admin
  3. Add the vendor
  4. Add paylinks


Admin -> Vendors

If PayMate 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 PayMate 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:  	PayMate (for the drop-down lists)
Buy Return Param Name:  	buy
Buy Return Param Value:  	1
URL / Website:  	http://www.paymate.com.au
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 "PayMate")
Product ID:  	(From the drop-down, choose the product that this
                paylink applies to)
Description:  	PayMate Product x (for listing)
Order Link:  	This is for the "paylink" html provided by
               PayMate, for example:
 <form method="post"
action="https://www.paymate.com.au/PayMate/ExpressPayment?mid=rhino">
 <input type="hidden" name="ref" value="ID-0001">
 <input type="hidden" name="amt" value="<total_amt>">
 <input type="hidden" name="return" value="http://my.phpcoin.com/mod.php?mod=orders&mode=return&order_id=<order_id>&buy=1">
 <input type="submit">
 </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 PayMate as a payment method.

Personal tools

Inscrita el Registro Mercantil de Mallorca Tomo 2140, Hoja No. PM-51034, Folio 135
This website owned and operated by: Technology Services RPVW S.L. CIF# B57345084
Avda Constitucion 48 Bajos Alaro 07340 Baleares SPAIN
Tel:+34 971518362    Fax: +34 971518368    eMail: support@phpcoin.com