YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

PERL/CGI/IPN Questions Options
dharvey
#1 Posted : Friday, March 18, 2005 5:20:55 PM
Rank: Starting Member

Groups: Registered

Joined: 3/18/2005
Posts: 2
Location: ,
Hello, Here are some pretty lame questions I have. My knowledge of CGI/PERL is pretty limited, which my questions might reflect. Here goes... I want to write a PERL/CGI script to support IPN. I have found some really nice examples on this forum - thanks to all for providing them. I tailored one to meet my needs and I uploaded it to my ISP (Earthlink). It didn't work, which I find completely shocking given this is the first time I tried it ;-). Anyway... Question 1: My Earthlink Host is a Unix box (or so I am told by EL). I was wondering if the format of Unix files matters for running PERL scripts. In particular, I edited my PERL script using Microsoft's Visual Studio .NET. Since this is on Windows, I'm wondering if thereis a CR/LF incompatibility. Does anyone know if this is a problem to llok out for? Question 2: Since my script didn't work first time - HUMPF! - I guess it's time to start debugging. Bummer. Does anyone have any tips for debugging? I have read about the paypal sandbox and about the eliteweaver ipntest URL. Considering I don't have access to the earthlink server, can someone suggest how to approach this debugging challenge? I tried "faith-healing", but that didn't work. Regards, Duke Harvey www.widgety.com
Sponsor  
 
Andrew Chang
#2 Posted : Friday, March 18, 2005 10:59:53 PM
Rank: Starting Member

Groups: Registered

Joined: 1/10/2003
Posts: 738
Location: ,
You may want to download komodo free trial it has a perl debugger. Make sure you set the permissions properly and upload in ascii format. Also make sure your host allows CGI scripts to be run on their servers,



Andrew Chang
Script to sell downloads: http://itemseller.scorpionsystems.net
Web Design & Scripting: http://scorpionsystems.net
Web & Image Hosting includes global SSL: http://scorpionwebhosting.com
Photographer Gallery Software: http://Photo-Seller.com
Become an affiliate and make money http://worldannouncements.com/affiliates http://scorpionwebhosting.com/affiliate
Free Web Traffic: http://www.trafficswarm.com/go.cgi?169137 , http://www.ts25.com/index.jsp?ref=ScorpionSystems
dharvey
#3 Posted : Friday, March 18, 2005 11:09:46 PM
Rank: Starting Member

Groups: Registered

Joined: 3/18/2005
Posts: 2
Location: ,
Andrew,

Thanks for the reply/info. I'll check it out. I've managed to debug all of my CGI subroutines in isolation - by not executing then within the IPN context. This has been effective since it vaildates these subroutines as being correct. Unfortunately, when I put it altogether in the IPN context, something is failing. It has also been useful to run tests using my private paypal account with my merchant account (by refunding each transaction). But I am also trying to limit the number of these tests since my private account is funded by a credit card. Some credit card companies will shut off the card if they see too many repetitive transactions like refunds. Again, thanks!

Duke Harvey
www.widgety.com
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.202 seconds.