Pre - setup: Get, buy and set a SSL for the store domain, Install it and test it before anything! this is very important!
(Some items listed from Post : http://forum.virtuemart.net/index.php?topic=17559.0
) Thanks a lot user: coalese. for the clues to solve this conundrum.
Steps to get it:1 )
Download the 'lphp.php' file from LinkPoint, which is packed in the API zip. (http://www.linkpoint.com/viewcart/down_index.htm
) and install it in the /administrator/components/com_virtuemart/classes/payment/ dir next to ps_linkpoint.php (I beth that most of us just need the LinkPoint API for PHP)2 )
Obtained pem file from linkpoint (https://www.linkpointcentral.com/
) :To address security concerns, you must now login to LinkPoint.com with your customer logon and download the PEM file. Click the Support link and then click the Download link. You will need to answer one of the following questions:
a. TaxID (Federal Tax ID of your customer)
The resulting 'pem" file will be the store ID ending with pem, example: 123456.pem 3)
Modify Settings in VM back end management -> "Store" -> "List Payment Method" and select "configuration" tab to set in " Location Of Public Key file" and set path for the "*.pem" file.4 )
"pem" file location is crucial and depend of the individual hosting plan (Full server, Virtual or collocation) you must locate the "temp" or "tmp" of your local domain account other that the public publishing folder, create a folder and copy the file there, to avoid confission just name it "linkpoint". in my case was /home/*user*/tmp/linkpoint/123456.pem and you must set the full path VERY IMPORTANT! 5 )
Open Database and create an additional table added to the database called (mos or) jos_vm_linkpoint with two fields
* Id type int()
* Last Attempt type varchar(11)
* Then add 1 record to the table, with an Id of 1, and Last Attempt of WEB-xxx (where xxx is your last good order number)6 )
Setup new payment module using ps_linkpoint.php; add a new payment, added the code "LP" and "ps_linkpoint" for my payment class.
Payment Method Name: Credit Card
Payment class name: ps_linkpoint
Payment method type: Use Payment Processor
Accepted Credit Card Types: Visa, MC, etc.
Then in Configuration:
Linkpoint Store ID: ###### (your store id #)
Location Of Public Keyfile: READ ITEM 6 (the full path of your LinkPoint Keyfile)
Request/Capture Credit Card Code Value: YES
Recurring Billings? NO
Pre Auth for Recurring Billing? NO
Payment Extra Info: EMPTY (no form code needed)7 )
SMALL FILE MODIFICATION
(From Post : http://forum.virtuemart.net/index.php?topic=13808.msg37053#msg37053
By James McMillan, the author of the ps_linkpoint.php code and he kindly replied with the FIX for my Error: Failure in Processing the Payment (ps_linkpoint). So now it works as advertised
On line 345 (latest build) of ps_linkpoint.php please change the following:
if ($result["r_approved"] != "SUBMITTED")
if ($result["r_approved"] != "APPROVED")8 )
After following all this steps and without using the "staging.linkpt.net" I just created a test product with a value of .80 cents, then and I used my own credit card; Go to the www.linkpointcentral.com
logon (Where you got the "pem" file and not the other portal provided for Card Services Intl. customers www.mymerchantoffice.com
because is not real time, It may apply to other LinkPoint resellers)in there I was able to verify in real time the transaction, if you have everything correct the Email confirmation will be gorgeous and full of info. Remember that you must use either your admin account or create a customer for this task.
I hope the guys of VM think more on the American side of the shopping cart business and get more volunteer developers that understand the companies involved here in the other side of the pond. Remember the prestige of the development team is what really counts on the Open Source arena.
I can't tell you how long I have followed small hints/tips from other people, trying to piece together several people's success to make my own.
None of that ever worked, but I followed your very detailed steps, and IT WORKS!!! I just submitted an order and received confirmation that it was taken from my card and placed into the gateway.
So, again, much thanks..