Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello all,

 

I added the IP Recording contribution, and it works great, for everything but Paypal IPN transactions, which is, of course, 98% of my transactions!!

 

I think it is because the transaction is recorded in advance from the paypal_ipn.php.confirmation() function

and does not run the code in checkout_process.php which inserts the ip addresses into the table.

 

I have tried to rerun the "get ip addy" code in the paypal_ipn.php.confirmation() function, but it errors out.

I tried adding the fields to the insert array, but they remain blank (not passed or global)

 

So, I'm wondering how to pass this infomation to paypal_ipn.php.confirmation(), so I add the info to the sql insert.....

 

I thought the easiest way would be to declare $ip adn $isp as global values and setting them, so they'll be available, but that may cause problems during a busy time.. overwriting, etc.

 

I'd like to be able to store the ip and isp for each order.. Does anyone have suggestion???

 

Thanks

-Nancy

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...