View Single Post
  #1 (permalink)  
Old 07-17-2005, 09:51 PM
newmarket newmarket is offline
WebProWorld Member
 
Join Date: Apr 2004
Location: Australia
Posts: 28
newmarket RepRank 0
Default Posting form data from a script

I have been trying to figure this out for a while and would appreciate any help.

I use Worldpay to process payments for my site. All of the processing is handled on their server, so I have no idea what happens if the shopper clicks the "buy now" (form submit) button.

I would really like to find someway to log that the form was submitted and the shopper sent to Worldpay. I want to use this to help me track where the shopping cart is being abandoned.

I have tried calling a php script as the action on the form, from which I could log any data I need.

The problem is that I can't get the POST data to Worldpay in any way that they like. I've tried using header(), cURL, fsockopen (my host doesn't have openssl installed).

I would appreciate any help pointing me in the right direction (an example would be fantastic). I am happy to use something other than PHP -- can perl help.

Thanks in advance for your help.
Reply With Quote