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

Need help! Verify Post Options
mikemc
#1 Posted : Tuesday, April 06, 2004 1:16:24 PM
Rank: Starting Member

Groups: Registered

Joined: 4/5/2004
Posts: 6
Location: ,
I'm in need of help here. I've gotten everthing working on my paypal payment site except for the final verify and post-back to paypal. I've spent hours combing through these postings to find something that might help and cannot. Does someone have a script that I can use to do this? My payments are posting, and the transactions are showing "Active" and "Complete", but I am getting flooded with this response in my email from paypal everytime it tries to verify: The following error message was generated while trying to acknowledge IPN: Notification could not be acknowledged due to a network or PayPal issue. PayPal will retry until it succeeds. User Information Subscriber's Username: {name} Subscriber's Email: {email} Subscription Number: (subscription#) Transaction Type: (trans type) Paypal support has been no help at all. In the words of one tech, "I've done it once, but could not tell you what I was doing or why it worked. You'll have to figure it out for yourself." I am receiving the users login and password, but nothing is being written to .htpasswd or the transaction logs on my site. I tried permissions (777) and nothing and went back to 775. Do I also need a .htgroup file? I'm not a Perl programmer and have spent a week stumbling through this. All I need is for someone to point me in the right direction with a simple .pl script. I have four levels of service I sell with four different prices, so I suspect I will need to modify this for each verify. I've already added notify_url to my button using a script I thought might work, but still nothing. The sciprt URL I am using is paypal.pl from paypal and I've set my variables correctly according to paypal and my isp. I would be indebted to anyone who can help me... mikemc
Sponsor  
 
PayPal_Paulam
#2 Posted : Tuesday, April 06, 2004 2:30:29 PM
Rank: Starting Member

Groups: Registered

Joined: 11/21/2003
Posts: 511
Location: ,
Have you check into your error log and see why is not written into the .htpassword file? Did you make sure that you have the right path for .htpassword.

I'm not sure if it is a typo error or what in your post. But, the file name should be .htpassword not .htpasswd

Paulam
PayPal Tech Support Agent
PayPal an eBay company
mikemc
#3 Posted : Wednesday, April 07, 2004 8:24:02 PM
Rank: Starting Member

Groups: Registered

Joined: 4/5/2004
Posts: 6
Location: ,
Nope, still will not create my htpassword file. I receive the paypment, I receive the notify email with the customer info, but still get error posting. Looked at server logs from testerday and does not have anything helpful. Are there other logs you had in mind?

mm

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by PayPal_Paulam
[br]Have you check into your error log and see why is not written into the .htpassword file? Did you make sure that you have the right path for .htpassword.

I'm not sure if it is a typo error or what in your post. But, the file name should be .htpassword not .htpasswd

Paulam
PayPal Tech Support Agent
PayPal an eBay company
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
PayPal_Dave
#4 Posted : Thursday, April 08, 2004 1:53:58 PM
Rank: Starting Member

Groups: Registered

Joined: 2/13/2004
Posts: 109
Location: ,
Hi mikemc,

Are you using Apache as your web server? Assuming you are, you should have at least two logs: an access log (perhaps called "access-log") and an error log (perhaps called "error-log"). On my Linux system they are under "/var/log/apache". Look for the entries in the access-log and error-log that correspond to a time when you tested the payment process; what do you see? Any complaints about the script, such as "paypal.pl: Execution of paypal.pl aborted do to compilation errors"? What other messages to you have?

Dave Burchell
PayPal Technical Support
PayPal, an eBay company
mikemc
#5 Posted : Friday, April 09, 2004 2:08:28 AM
Rank: Starting Member

Groups: Registered

Joined: 4/5/2004
Posts: 6
Location: ,
Yes, my ISP is using an Apache server.

I cheked the logs and find nothing abnormal (I think). Here is an excerpt from a recent log:

"http://www.mdmccarthy.com/toc.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
64.4.241.140 - - [07/Apr/2004:08:31:43 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:08:23:43 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:08:31:47 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:08:42:33 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:09:26:59 -0700] "POST /cgi-bin/paypal.pl HTTP/1.0" 404 211 "-" "-"
64.4.241.140 - - [07/Apr/2004:09:46:43 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:09:46:35 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:11:11:59 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:14:02:52 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:14:34:24 -0700] "POST /cgi-bin/paypalstudent.pl HTTP/1.0" 500 - "-" "-"
209.237.238.173 - - [07/Apr/2004:15:16:13 -0700] "GET /main_files/filelist.xml HTTP/1.0" 200 158 "-" "ia_archiver"
64.4.241.140 - - [07/Apr/2004:15:01:22 -0700] "POST /cgi-bin/paypalstudent.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:19:35:09 -0700] "POST /cgi-bin/paypalstudent.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:19:35:07 -0700] "POST /cgi-bin/paypalstudent.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [07/Apr/2004:22:34:58 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
68.226.102.214 - -

I'm not sure what this means, but I do not see anything that would alert me.

What do you see?

mm

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by PayPal_DiamondDave
[br]Hi mikemc,

Are you using Apache as your web server? Assuming you are, you should have at least two logs: an access log (perhaps called "access-log") and an error log (perhaps called "error-log"). On my Linux system they are under "/var/log/apache". Look for the entries in the access-log and error-log that correspond to a time when you tested the payment process; what do you see? Any complaints about the script, such as "paypal.pl: Execution of paypal.pl aborted do to compilation errors"? What other messages to you have?

Dave Burchell
PayPal Technical Support
PayPal, an eBay company
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
PayPal_Dave
#6 Posted : Friday, April 09, 2004 5:47:57 PM
Rank: Starting Member

Groups: Registered

Joined: 2/13/2004
Posts: 109
Location: ,
Hi mikemc,

Each line of the access-log file includes the return code. In your snipit of log, most of the lines contain the code "500", which usually means you have a problem with your script. One line says "404"; that means that a request was made of the server for a file it could not find.

Here's an example from a problem script on my system. From the access-log file:

64.4.241.140 - - [09/Apr/2004:14:01:18 -0400] "POST /cgi-bin/Steve/paypal.pl HTTP/1.0" 500 532 "-" "-"

The "500" tells me there is a problem, and sure enough, when I look at the error-log:

[Fri Apr 9 14:01:18 2004] paypal.pl: syntax error at paypal.pl line 73, near "my "
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 73.
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 157.
[Fri Apr 9 14:01:18 2004] paypal.pl: Execution of paypal.pl aborted due to compilation errors.
[Fri Apr 9 14:01:18 2004] [error] [client 64.4.241.140] Premature end of script headers: /home/ppadmin0/paypaltech-www/cgi-bin/Steve/paypal.pl

In this case, Perl is complaining about not being able to compile this script, meaning it is not even being executed. But with your script things may be different.

Grab the lines of your error-log file that correspond to the appropriate time, such as 07/Apr/2004:14:02:52 -0700], and share them with us.

Dave Burchell
PayPal Technical Support
PayPal, an eBay company
mikemc
#7 Posted : Friday, April 09, 2004 8:34:53 PM
Rank: Starting Member

Groups: Registered

Joined: 4/5/2004
Posts: 6
Location: ,
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by PayPal_DiamondDave
[br]Hi mikemc,

Each line of the access-log file includes the return code. In your snipit of log, most of the lines contain the code "500", which usually means you have a problem with your script. One line says "404"; that means that a request was made of the server for a file it could not find.

Here's an example from a problem script on my system. From the access-log file:

64.4.241.140 - - [09/Apr/2004:14:01:18 -0400] "POST /cgi-bin/Steve/paypal.pl HTTP/1.0" 500 532 "-" "-"

The "500" tells me there is a problem, and sure enough, when I look at the error-log:

[Fri Apr 9 14:01:18 2004] paypal.pl: syntax error at paypal.pl line 73, near "my "
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 73.
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 157.
[Fri Apr 9 14:01:18 2004] paypal.pl: Execution of paypal.pl aborted due to compilation errors.
[Fri Apr 9 14:01:18 2004] [error] [client 64.4.241.140] Premature end of script headers: /home/ppadmin0/paypaltech-www/cgi-bin/Steve/paypal.pl

In this case, Perl is complaining about not being able to compile this script, meaning it is not even being executed. But with your script things may be different.

Grab the lines of your error-log file that correspond to the appropriate time, such as 07/Apr/2004:14:02:52 -0700], and share them with us.

Dave Burchell
PayPal Technical Support
PayPal, an eBay company
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
mikemc
#8 Posted : Saturday, April 10, 2004 5:46:23 PM
Rank: Starting Member

Groups: Registered

Joined: 4/5/2004
Posts: 6
Location: ,
My ISP does not send me error logs, only access logs. I now know what 500 means (thanks), but still do not know where along the line the problem lies. I'll check with my ISP. Maybe they have error logs they can send me.

Mike :(

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by mikemc
[br]<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by PayPal_DiamondDave
[br]Hi mikemc,

Each line of the access-log file includes the return code. In your snipit of log, most of the lines contain the code "500", which usually means you have a problem with your script. One line says "404"; that means that a request was made of the server for a file it could not find.

Here's an example from a problem script on my system. From the access-log file:

64.4.241.140 - - [09/Apr/2004:14:01:18 -0400] "POST /cgi-bin/Steve/paypal.pl HTTP/1.0" 500 532 "-" "-"

The "500" tells me there is a problem, and sure enough, when I look at the error-log:

[Fri Apr 9 14:01:18 2004] paypal.pl: syntax error at paypal.pl line 73, near "my "
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 73.
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 157.
[Fri Apr 9 14:01:18 2004] paypal.pl: Execution of paypal.pl aborted due to compilation errors.
[Fri Apr 9 14:01:18 2004] [error] [client 64.4.241.140] Premature end of script headers: /home/ppadmin0/paypaltech-www/cgi-bin/Steve/paypal.pl

In this case, Perl is complaining about not being able to compile this script, meaning it is not even being executed. But with your script things may be different.

Grab the lines of your error-log file that correspond to the appropriate time, such as 07/Apr/2004:14:02:52 -0700], and share them with us.

Dave Burchell
PayPal Technical Support
PayPal, an eBay company
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
mikemc
#9 Posted : Sunday, April 11, 2004 2:36:51 PM
Rank: Starting Member

Groups: Registered

Joined: 4/5/2004
Posts: 6
Location: ,
Using paypal.pl to verify and post. WHen I test I get an email:

The following error message was generated while trying to acknowledge IPN:
Notification could not be acknowledged due to a network or PayPal issue. PayPal will retry until it succeeds.


User Information
Subscriber's Username: (paypal assigned user name)
Subscriber's Email: (email)
Subscription Number: (sub#)
Transaction Type: subscr_signup

My ISP does not send me error logs, but this shows up in my access logs:

[10/Apr/2004:13:21:20 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:21:21 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:23:46 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:21:06 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:21:06 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:26:33 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:31:50 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:23:51 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:13:21:45 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:14:04:00 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:14:46:42 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
64.4.241.140 - - [10/Apr/2004:14:46:37 -0700] "POST /cgi-bin/paypalho.pl HTTP/1.0" 500 - "-" "-"
68.226.102.214

WHen I attach to my site via ftp, I am continually getting these messages posted over and over:

REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
| (garbage character???)
500 '|': command not understood.
PWD




<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by mikemc
[br]My ISP does not send me error logs, only access logs. I now know what 500 means (thanks), but still do not know where along the line the problem lies. I'll check with my ISP. Maybe they have error logs they can send me.

Mike :(

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by mikemc
[br]<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by PayPal_DiamondDave
[br]Hi mikemc,

Each line of the access-log file includes the return code. In your snipit of log, most of the lines contain the code "500", which usually means you have a problem with your script. One line says "404"; that means that a request was made of the server for a file it could not find.

Here's an example from a problem script on my system. From the access-log file:

64.4.241.140 - - [09/Apr/2004:14:01:18 -0400] "POST /cgi-bin/Steve/paypal.pl HTTP/1.0" 500 532 "-" "-"

The "500" tells me there is a problem, and sure enough, when I look at the error-log:

[Fri Apr 9 14:01:18 2004] paypal.pl: syntax error at paypal.pl line 73, near "my "
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 73.
[Fri Apr 9 14:01:18 2004] paypal.pl: Global symbol "@PAYMENT_EMAILS" requires explicit package name at paypal.pl line 157.
[Fri Apr 9 14:01:18 2004] paypal.pl: Execution of paypal.pl aborted due to compilation errors.
[Fri Apr 9 14:01:18 2004] [error] [client 64.4.241.140] Premature end of script headers: /home/ppadmin0/paypaltech-www/cgi-bin/Steve/paypal.pl

In this case, Perl is complaining about not being able to compile this script, meaning it is not even being executed. But with your script things may be different.

Grab the lines of your error-log file that correspond to the appropriate time, such as 07/Apr/2004:14:02:52 -0700], and share them with us.

Dave Burchell
PayPal Technical Support
PayPal, an eBay company
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
perry1
#10 Posted : Tuesday, December 20, 2005 3:57:30 AM
Rank: Starting Member

Groups: Registered

Joined: 12/19/2005
Posts: 11
Location: ,
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by PayPal_Paulam
[br]Have you check into your error log and see why is not written into the .htpassword file? Did you make sure that you have the right path for .htpassword.

I'm not sure if it is a typo error or what in your post. But, the file name should be .htpassword not .htpasswd

Paulam
PayPal Tech Support Agent
PayPal an eBay company
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Does it really matter what you call the file?

perry1
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.376 seconds.