OSCOMMERCE LINKPOINT CONNECT SETUP
API MODULE

OsCommerce is a free open source shopping cart.

REQUIREMENTS: Need a secure server (SSL certificate) on your web site

This module consists of 2 files that have the same filename: linkpointconnect.php
  1. First you will need to download and install the LinkPoint Connect Module
    NOTE: If you do not have a secure server then you should download the LinkPoint Secure module
  2. If your web host does not have a web interface to upload files then you will need to use a FTP program.
  3. Upload the linkpointconnect.php file from the modules folder into the following directory on your web site:
    catalog/includes/modules/payment

  4. Next upload the linkpointconnect.php from the languages folder into the following directory on your web site:
    catalog/includes/languages/english/modules/payment

  5. After you upload the files for the LinkPoint module you will need to make a change to the checkout_payment.php file on your web site in order to remove the session id from the URL.
    https://www.domain.com/catalog/checkout_confirmation.php?osCid=a1b4r2d2c123dd4g213e4

    Do a search for "FILENAME_CHECKOUT_CONFIRMATION" and look for the following code:
    CODE
    <!-- body_text //-->
    <td width="100%" valign="top">
    <?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post', 'onsubmit="return check_form();"'); ?>


    You will need to add the word false to the following line of code:
    CODE
    <?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL', false), 'post', 'onsubmit="return check_form();"'); ?>


    You may also need to add an additional line of code towards the end.
    CODE
    <?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL', false), 'post', 'onsubmit="return check_form();"');
    echo tep_hide_session_id(); ?>


  6. Access the administration for OsCommerce, the following is an example URL address:
    http://www.website.com/catalog/admin/modules.php


  7. Click on Modules
  8. Click on LinkPoint Connect and click on the Install button.
  9. Click on the Edit button.
  10. Make sure you enter your 6 digit store number. If you are using Yourpay you will need to enter your 10 digit store number.
  11. Make sure Payment Zone is set to none.
  12. Scroll to the bottom and click on the Update button.
  13. Next you will need to log into LinkPoint Central and enter the URL address for OsCommerce
  14. After you log into LinkPoint Central, click on Customization at the top
  15. Click on "Configure LinkPoint Connect Settings"


  16. Look for the field "Order submission form URL"
    Here is an example of what you will enter:
    https://www.website.com/catalog/checkout_confirmation.php

  17. Look for the following fields, "Confirmation URL" and "Failure URL"
    Here is an example of what you would enter for both fields:
    https://www.website.com/catalog/checkout_process.php

  18. Also make sure you enable (turn on) the following options:
    -URL is a CGI script
    -Automatically display specified URL after the LinkPoint HTML receipt page.
  19. Finally scroll down and click on the submit button.
If LinkPoint Connect does not appear as an option during checkout you forgot to set the payment zone to "none."