Jump to content


Photo

LWP/USER agent unable to be added to my host


  • This topic is locked This topic is locked
1 reply to this topic

#1 Guest1

Guest1

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 07 March 2003 - 10:22 PM

i have contacted my host and they cant allow me to add this LWP/ perl module or install it for me.
id read a post about the script being able to be edit to skip this step. can anybody tell me the EXACT editing that needs to be done to the perl to make it work ?
thanks in advance.

#2 DSD_David

DSD_David

    Junior Member

  • Members
  • 125 posts

Posted 08 March 2003 - 05:00 PM

I'm sorry for not being able to add the 'EXACT' steps for editing, but I can say REMOVE:

# post back to PayPal system to validate
use LWP::UserAgent;
$ua = new LWP::UserAgent;
$req = new HTTP::Request 'POST','https://www.paypal.com/cgi-bin/webscr';
$req->content_type('application/x-www-form-urlencoded');
$req->content($query);
$res = $ua->request($req);

But yo would need to record each TXN number so that when PayPal keeps sending you the IPN, you don't proccess it each time.

I think this is houw it could be done!
-David




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users