Results 1 to 4 of 4

Thread: InternetSecure payment module

  1. #1
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default InternetSecure payment module

    The InternetSecure payment module is here.

    What is it? Merchant account holders using InternetSecure (IS) can now accept credit card payments via this module. Users are directed to enter their personal details and are then sent to IS to complete the transaction using the MerchantLink system. The great advantage to using this system is that the site owner does not have to accept live payments which means no need for an SSL certificate or submit to Payment Card Industry testing or certification.

    This mod can be downloaded from A-V Tronics - Winnipeg Web Design And Hosting. Instructions are included in the zip file and below for your convenience.

    Sorry, there is no demo for this product as it is running on a live site.

    Please try to keep replies to this thread so they can be tracked.
    Last edited by Bruceper; 06-13-2007 at 12:44 AM.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    IndexU InternetSecure Payment Module


    This is the readme file for the IndexU InternetSecure Payment Module written by Bruce Peresky.

    Current Version 1.00 released for IndexU 5.40. The IndexU InternetSecure Payment Module should work with any 5.x version of IndexU but it has not been tested on any other version not stated here.

    This addon will allow users to pay for upgrading their link via the InternetSecure MerchantLink. This link upgrade can be done after a link is added to the directory or at the time of adding a new link. In the case of adding a new link the link will be suspended until such point in time as payment is received. Then the admin will validate the link and unsuspend it.

    Since this payment method uses the MerchantLink system it does not require you to add products to the InternetSecure site. This module simply sends a product code of 999 as default and will work will any dollar amount set in your IndexU. If you are a large merchant and you happen to have a product that uses 999 already then change 999 to any arbitrary number that you are not using (perhaps 999999).

    The only files you need to edit are upgrade_form.html (part of IndexU) and internetsecure.include.php (included within this archive).

    In upgrade_form.html find the matching text below

    <tr class="tbl_normal">
    <td valign="top">Payment Gateway</td>
    <td><%$available_payment_systems%></td>
    </tr>
    <tr class="tbl_caption">
    <td colspan="2">
    <center>
    <input type="submit" name="submit" value="Submit" />

    Add the following right after the last line

    <input type="hidden" name="title" value="<%$title%>" />
    <input type="hidden" name="url" value="<%$url%>" />
    <input type="hidden" name="name" value="<%$contact_name%>" />
    <input type="hidden" name="linkid" value="<%$link_id%>" />

    Before you upload any files, you will need to edit internetsecure.include.php in a text editor. Below are the settings used and a description of each line.

    Settings
    $domain = "yourdomain.com"; // your domain without the http://www
    $company = "Company Name"; // your company name
    $returnurl = "http://www.yourdomain.com/thankyou.html"; // where the customer will be sent upon successful payment
    $merchantnumber = "xxxx"; // your InternetSecure merchant ID
    $note = "Thank you for your business. By pressing submit you will be taken to a secure payment server to complete this transaction."; // Space to enter a note about the payment process or whatever you want

    Blank values will simply return blank entries. For example if you do not enter in a Company Name then none will be shown.

    Uploading
    After internetsecure.include.php has been edited upload the three files into to payment directory.

    CHMOD
    After uploading, CHMOD internetsecure.inc.php to 666

    Enable/Disable
    In the IndexU control panel go to InternetSecure and Configure. Note that under the Available Payment Systems you will see "internetsecure" is now enabled.

    To disable this payment method click on Configure and change $enable = "1"; to $enable = "0";

    Notes
    Remember your requirements for accpeting InternetSecure payments. The required images will need to be placed onto the appropriate pages.

    Test Mode Approved
    By default this module is set to "test mode approved" so you can test the payments before going live or so the people at InternetSecure can test your site before approving you.

    Live Mode
    The payment module is set by default to be in "test mode approved". Once you have installed the module and tested it successfully you can change line 39 of internetsecure.php to the following

    echo "<input type='hidden' name='Products' value='$price::1::999::$level ad on $domain for LinkID $linkid'>";

    or by removing ::{TEST} from line 39 of internetsecure.php

    License/Cost
    Provided free of charge within the limits of the included license file

    Troubleshooting/Problems
    Please leave me a message at the Nicecoder forum. Note that I will not respond to private messages unless there is a security issue with the provided script.

    Credits
    InternetSecure Payment Module written by Bruce Peresky (http://www.avtronics.net)

  3. #3
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    very nice.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Thanks. I'm not the greatest coder in the world, far from it. But it's functional and working and I suppose that's what really matters

Similar Threads

  1. InternetSecure payments
    By Bruceper in forum Tutorials, Hints & Tips
    Replies: 2
    Last Post: 11-02-2007, 09:32 AM
  2. PHP module Curl is Not Installed
    By Shnier in forum v5.x
    Replies: 1
    Last Post: 01-25-2006, 03:15 AM
  3. IndexU as a PostNuke Module
    By Soultrape in forum Pre-Sales Questions
    Replies: 19
    Last Post: 12-25-2003, 01:43 AM
  4. IndexU as a PostNuke Module
    By Soultrape in forum v5.x
    Replies: 2
    Last Post: 11-15-2001, 02:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •