uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
I need tech support to reply to my post

Knowledge Base Lobby : uShop Support Conference : General Questions
Oct-17-17 11:02 AM EST
Original Message
I need tech support to reply to my post
Author Sommay on 07-31-2003 at 21:41 (EST)
I need tech support to reply to my post at the following link:
http://www.uburst.com/dcforum/ushp_general_purpose/360.html
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  Tech Support RE: IP Address Microburst Support, 2003-08-04 09:57:23 (1)
            Step by Step please. Sommay, 2003-08-05 18:22:22 (2)
                 step by step Microburst Support Team, 2003-08-06 09:48:39 (3)
                      Step by Step please. Sommay, 2003-08-06 14:26:35 (4)
                           RE: Step by Step please. Bill Weiner, 2003-08-08 06:41:10 (5)

Messages In This Discussion
         1. Tech Support RE: IP Address
        Author Microburst Support on 08-04-2003 at 09:57 (EST)
The REMOTE_ADDR is the IP address of the remote host making the request. Typically, this will be user's browser making the request, so the REMOTE_ADDR will be set to the IP address of the user... or rather the IP address of the user's connection through his/her Internet Service Provider. In cases where the request comes from another CGI script/application that redirects or POSTs the request, then the REMOTE_ADDR would be set to that of the other CGI script/application (This is often the case of external payment processing systems redirecting or POSTing their approved/denied response back to the uShop CGI script.)
What may have to be done in order to get the customer's $REMOTE_ADDR is to obtain and save the customer's $REMOTE_ADDR before the credit card transaction script is run.
1) Obtain the customer's REMOTE_ADDR before transferring to your credit card transaction script. The REMOTE_ADDR can be obtained with the following line of Perl code:
$REMOTE_ADDR = $ENV{'REMOTE_ADDR'};
2) Save the $REMOTE_ADDR in a temporary file or, if the credit card transaction script will pass variables through for you, pass it as a parameter to your credit card transaction script.
3) In uShop's "complete_order" subroutine, re-obtain the $REMOTE_ADDR from whatever method use used to save it in step 2 above.
TABLE OF CONTENTS
                 2. Step by Step please.
                Author Sommay on 08-05-2003 at 18:22 (EST)
Thank you for your reply but can you please provide me a detail step by step on how to integrate your step 1,2 and 3.

I understand what you're saying but I'm not sure where to start

TABLE OF CONTENTS
                         3. step by step
                        Author Microburst Support Team on 08-06-2003 at 09:48 (EST)
As this is not a simple coding effort, it involves customization work which you can purchase from Microburst Technologies.

Send a request for a customization quote to support@uburst.com along with your change requirements.

TABLE OF CONTENTS
                                 4. Step by Step please.
                                Author Sommay on 08-06-2003 at 14:26 (EST)
If you look at my post http://www.uburst.com/dcforum/ushp_general_purpose/360.html you would see I have done alot of customization already. Get me start somewhere here! I shouldn't have to purchase it!

Is Bill Weiner around?
TABLE OF CONTENTS
                                         5. RE: Step by Step please.
                                        Author Bill Weiner on 08-08-2003 at 06:41 (EST)
Since you are using the uShop - Authorize.Net SIM interface, I can say that uShop already obtains the customer's IP address (using $ENV{'REMOTE_ADDR'}) and passes it to Authorize.Net (via Authorize.Net's x_customer_ip) parameter. So you might want to first check on Authorize.Net's side of things that the Customer's IP is being recorded there in the first place. (ie. look at the details of the transaction and see what is says the customer's IP address is.) If it looks ok at that point, then we can see about adding a line like this to your ushop.pl script:

$receipt_text .= $form_text{'x_customer_ip'};

But if it does not look ok, then the problem could just be that your server is not obtaining/setting the REMOTE_ADDR environment variable and/or your server doing some sort of RELAY that is causing the REMOTE_ADDR to always be set to the same value.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.