Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Help needed with the heartland payment module

    ok so I post this info to the url

    Code:
        [ClientSessionID] => q1lcu0gmqfdiq72h9csnj96vn1
        [CustomerID] => 187
        [CustomerName] => AndySutton
        [UserName] => changed
        [Amount] => 8.08
        [ReturnURL] => http://mywebsiteurl/store/index.php?main_page=checkout_process
        [BackButtonCaption] => false
        [PromptCancel] => true
        [PageTitle] => Order confirmation Page
        [CustomerFirstName] => Andy
        [CustomerLastName] => Sutton
        [CustomerStreet2] => 919 western ave chicago
        [CustomerStreet3] =>  
        [CustomerEmail] => Andy
        [CustomerDayPhone] => 4257897858
        [CustomerNightPhone] => 4257897858
        [CustomerMobile] => Sutton
        [CustomerFax] => 
        [CustomerProvince] => 
        [CustomerCountryID] => 
        [Date] => January 16, 2009, 12:28 am
        [IP] => 216.43.193.242
        [Session] => q1lcu0gmqfdiq72h9csnj96vn1
        [url] => https://hps.webportal.test.secureexchange.net";
    Now I use

    $this->authorize = curl_exec($ch);
    $this->commError = curl_error($ch);
    $this->commErrNo = curl_errno($ch);

    $this->commInfo = @curl_getinfo($ch);
    curl_close ($ch);

    as in the file and when I try to print the $response

    $stringToParse = $this->authorize;
    echo "Here goes the response";
    echo $stringToParse;
    exit();

    All I get is empty string
    Can someone pls tel me whats going on wrong here?
    Thanks
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Help needed with the heartland payment module

    ok I realized I had a " in the end of the url which seems to have corrected things
    But now i get this as response

    Code:
    Here goes the response---<script type='text/javascript'>window.onload = function(){document.getElementById('ProcessBody').src='AccountList.aspx';}</script><script type='text/javascript'>window.onload = function(){document.getElementById('ProcessBody').src='AccountList.aspx';}</script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1"><meta http-equiv="Expires" content="0" /><meta http-equiv="Cache-Control" content="no-cache" /><meta http-equiv="Pragma" content="no-cache" /><title>
    	Payment
    </title>
        <link href="Resources/CSS/TransPort.css" rel="stylesheet"/>
    </head>
    <body leftmargin="0" topmargin="0" bottommargin="0" rightmargin="0" class="bodyBackGround">
        <div>
            <table cellpadding="0" cellspacing="0" style="width:100%; height:100%">
    	        <tr style='display:none'>
    		        <td colspan="3" style="border-bottom:1px solid black;">
                        </td>
    	        </tr>
    	        <tr>
    		        <td style="border-right:1px solid black; height:100%;vertical-align:top; text-align:right;display:none">
    		            </td>
    		        <td style="height:100%; vertical-align:top; text-align:left; width:100%">
    		            <table style="height:100%; width:100%; vertical-align:top; text-align:left">
    		                <tr style='display:none'>
    		                    <td style="border-bottom:1px solid black;">
    		                        </td>
    		                </tr>
    		                <tr>
    		                    <td style=" width:100%; height:100%; vertical-align:top; text-align:left">
    		                        <div id="PageHeader" >
                                        <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#f0f1f1" border="0">
                                            <tbody>
                                                <tr>
                                                    <td align="left"><img id="imgHeader" src="Resources/Picture/Header.png" border="0" /></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                        <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#cccccc" border="0">
                                            <tbody>
                                                <tr>
                                                    <td bgcolor="black" colspan="4">
                                                        <img src="Resources/Picture/spacer.gif"/></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div>
                                        <table cellspacing="0" cellpadding="0" width="100%">
                                            <tr>
                                                <td style="width: 100%;">
                                                    <form name="FormMain" method="post" action="AccountMain.aspx" id="FormMain" autocomplete="off">
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTExMzM1MDAyNjIPZBYEAgQPDxYCHghJbWFnZVVybAUcUmVzb3VyY2VzL1BpY3R1cmUvSGVhZGVyLnBuZ2RkAgUPZBYCAgEPDxYCHgRUZXh0BRdPcmRlciBjb25maXJtYXRpb24gUGFnZWRkZCdsEnmxRjeNs45XD1ahX/gymlQq" />
    
                                                        <div id="PageBody">
                                                            <table cellspacing="0" cellpadding="0" width="100%" align="left" valign="top">
                                                                <tr>
                                                                    <td valign="top" align="left">
                                                                        <table width="100%" align="left">
                                                                            <tr>
                                                                                <td>
                                                                                    <nobr><div style="margin-left:10px"><span id="lbBodyTitle" class="pageTitle">Order confirmation Page</span>
                                                                                    <span id="lbBodyTitleVerfy" class="pageTitle" style="display:none">Verify Information</span></div></nobr>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 100%; background-color: Silver; background-image: 'Resources/Picture/spacer.gif'"></td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                    <iframe allowTransparency="true" id="ProcessBody" src="src.htm" frameborder="0" width="100%" height="400px"></iframe>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                    <a href="javascript:popupVerisign('https://seal.verisign.com/splash?form_file=fdf/splash.fdf&amp;dn=webportal.secureexchange.net&amp;lang=en')"><img alt="" src="Resources/Picture/seal_s_en.gif" style="margin-left : 180px; margin-top : 0px;" border="0" /></a>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                        <input type="hidden" name="hidPageTime" id="hidPageTime" />
                                                    
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWAgKi8LvoAwKDnrHWBgsgo9FGPG6HqcQef6kNU2synB2y" /></form>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
    		                    </td>
    		                </tr>
    		                <tr style='display:none'>
    		                    <td style="border-top:1px solid black;">
    		                        </td>
    		                </tr>
    		            </table>
    		        </td>
    		        <td style="border-left:1px solid black; height:100%;vertical-align:top; text-align:left; display:none">
    		            </td>
    	        </tr>
    	        <tr style='display:none'>
    		        <td colspan="3" style="border-top:1px solid black; width:100%;">
    		            </td>
    	        </tr>
            </table>
        </div>
        <script type="text/javascript">        
          function PageTimeOut()
          {
              document.getElementById('hidPageTime').value="TimeOut";
              document.FormMain.submit();
          }
        
          function popupVerisign(URL) 
          {
              sealWin = window.open(URL, 'win', 'toolbar=0,location=0,directories=0,scrollbars=1,status=1,menubar=1,resizable=1,width=600,height=450');
              self.name = "mainWin";
          }
          
          function AddNewHidden(tagName,tagValue)
          {
              var tagHidden;
              try
              {
                 tagHidden = document.createElement("<INPUT type=hidden name=\""+tagName+"\"></INPUT>");
              }
              catch(e)
              {
                 tagHidden = document.createElement('INPUT');
                 tagHidden.type = "hidden";
                 tagHidden.name = tagName;
              }
              tagHidden.value = tagValue;
              document.FormMain.appendChild(tagHidden);
          }
        </script>
    </body>
    </html>
    
    ---Parsed string ends
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    Nov 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: Help needed with the heartland payment module

    I'm sorry, I can't help, but I was wondering where you got the Heartland payment module.

    Sorry, I know this is thread hijacking so I'll stop and create my own. Of course this is an existing thread here:
    http://www.zen-cart.com/forum/showth...ight=heartland

    That has yet to be answered....

    But hope springs eternal!

 

 

Similar Threads

  1. Help needed with getting Paygate payment module to work
    By LeneZone in forum Addon Payment Modules
    Replies: 5
    Last Post: 4 Nov 2009, 11:43 AM
  2. Heartland Payment Systems - any news on a module?
    By cath_miller in forum Addon Payment Modules
    Replies: 4
    Last Post: 26 Oct 2009, 04:51 PM
  3. Urgent Help needed with Secure Hosting Payment module
    By snellc in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 May 2009, 04:32 PM
  4. Help needed with custom payment module
    By etrader in forum General Questions
    Replies: 1
    Last Post: 2 Dec 2008, 03:51 AM
  5. Usight payment module help needed!
    By rafirtech in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Nov 2006, 02:17 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
  •  
disjunctive-egg