|
|
|
VIRTUEMART API SETUP
REQUIREMENTS: Need a secure server (SSL certificate) on your web site
Mambo Installation
- First you will need to download the LinkPoint PEM certificate.
You can download the PEM file from LinkPoint Central.
- After you login, click on Support at the top, then click on Download Center.
- Click on Download next to PEM and make sure to save the file to the desktop.
- Download a copy of VirtueMart
- Extract the files
- Log into the administration for Mambo, here is an example URL:
http://www.yourwebsite.com/mambo/administrator

- Click on Sites then select "Global Configuration"
- For "Use New Account Activation" select NO. This will eliminate the customer from having to check their email and click on a link to activate their login.
- Click the Save button on the upper right corner
- Click on Components then select Install/Uninstall
- Click on the Choose File button and select the file named com_virtuemart_x.xx.tar.gz from the VirtueMart directory.
- Click on Upload File & Install

- Click on Modules then select Install/Uninstall
- Click on the Choose File button and select the file named mod_virtuemart_x.xx.tar.gz from the VirtueMart directory.
- Click on Upload File & Install

- Click on Modules then select Site Modules
- Click the check box for VirtueMart then click the Edit button at the top

- Make the appropriate changes
- Click the Save button on the upper right corner
- Click the check box for VirtueMart then click the Publish button at the top
- Click on Components and select VirtueMart

- On the VirtueMart menu click on Admin and select Configuration
- If you don't want your customers to have to check their email first before they can place an order then remove the checkmark for this option

- Click the Save button on the upper right corner
- On the VirtueMart menu click on Store and select "Add Payment Method"
- Click the checkbox for Active
- Under Payment Method Name type in "LinkPoint"
- Under Code type in "LP"
- Under Paymnent class name type in "ps_linkpoint"
- Click the Save button on the upper right corner

- Upload the LinkPoint PEM file from your desktop onto your web site. The file can be placed in any folder. We suggest placing it in the following directory:
mambo/administrator/components/com_virtuemart/classes/payment
- On the Payment Method list click on LinkPoint
- Click on the Configuration tab
- Under LinkPoint Store ID enter your 6 or 7 digit store number (for YourPay accounts it will be 10 digits)
- Location of Public Keyfile: (PEM file)
On a UNIX server the path for the PEM file should look something like this:
/home/htdocs/www/linkpoint/123456.pem
On a WINDOWS server the path should look like this:
c:\\inetpub\\wwwroot\\linkpoint\\123456.pem
- Change Recurring Billings to No
- Click the Save button on the upper right corner

If you receive the following error you need to check 2 things.
- Make sure you uploaded the PEM file and entered the correct path.
- Contact your web host and make sure port 1129 is not being blocked.
Error: <
Error: Failure in Processing the Payment (ps_linkpoint)
|