Originally posted by KipperM
View Post
Announcement
Collapse
No announcement yet.
Anybody else experiencing a problem with PayPal
Collapse
X
-
Originally posted by prsweeney View PostIf your host upgraded a Perl module on you, you need to be bugging your host, not Sellerdeck.
Are you suggesting we never upgrade to the latest build and remain on outdated pearl modules?
If Sellerdeck scripts dont work with the latest stable builds of pearl modules then whose problem do you think it is?
Comment
-
Bugging Sellerdeck
Originally posted by prsweeney View PostIf your host upgraded a Perl module on you, you need to be bugging your host, not Sellerdeck.
Comment
-
kraken17: Well, yeah, an update from CPAN is even more of a pipedream than waiting on a quick fix from Sellerdeck, you're 100% correct with that. Sellerdeck has to do testing, etc.
All I'm saying is that to everyone is to get your store back online, roll back for the time being so your store will at least work until Sellerdeck does release an update. No one is saying to stick with the outdated version....it's certainly not ideal but at least you get your store running.
Comment
-
Asking CPAN Developer
I have asked this question of the Crypt:SSLeay developer. Hopefully I will get a response.
A change has been made between 0.58 and 0.60 that stops Actinic / SellerDeck from talking to paypal. This is a confirmed problem as the upgrade on my server broke the actinic transfer to paypal, and downgrading it to 0.58 made it work again.
I can also confirm 0.60_01 does not fix the problem either.
Can you tell me if anyone else has reported this fault, and whether you can fix it please?
Comment
-
Contacting CPAN developer
This is the reply from the CPAN developer. I will submit a bug report and see if he can sort it out.
I will keep all followers of this thread updated.
Hello Tim:
I would love to fix it, but I need information on how to diagnose it.
Could you please open a ticket at
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Crypt-SSLeay and provide me
with some more information. I would especially love to see any related
log entries to be able to figure out if the problem is due to LWP
actually checking certificates or due to my changes in the read/write
routines.
And, no, I haven't received any other reports so far, so your report
is the only thing I have to go on.
Thank you.
-- Sinan
Comment
-
I have a solution that does not involve downgrading the perl modules.
Edit Actinic.pm in the site folder using a text editor such as Notepad
Search for 'sub HTTPS_SendAndReceive'
Now search for 'ssl_socket->read'
you should see
Code:while ($ssl_socket->read($buf, 1024)) { $sResponse .= $buf; }
Code:my ($nBuf) = 1024; while ($nBuf == 1024) { $nBuf = $ssl_socket->read($buf, 1024); $sResponse .= $buf; }
Update site
The fix is supplied as-is without any warranty i.e. I just wrote it and tested once and it seems to be okay.
Tech comment: It would appear that the perl module no longer reports zero buffer length at end of read loop. There is a possible problem with the way it now works, if the last block of data is 1024 bytes then the same problem may occur unless the perl module still accepts an extra read and returns zero. The code has worked the same way for as long as I can remember (at least 10 years). No idea why it should be changed now.
Gordon Camley
3rd Line Support
SellerDeck.
Comment
-
Further information
For information. Further information from CPAN developer.
Thank you. Don't worry about the environment variable right now, as
this seems to be related to the read routines. However, for future
reference, see http://stackoverflow.com/questions/3...able-in-apache
I'll try to figure this out as soon as I can, and give you a heads up.
-- Sinan
It is in the CPAN bug reporting area now, and I will be kept upto date about future improvements.
Comment
-
Originally posted by gcamley View PostThere is a possible problem with the way it now works, if the last block of data is 1024 bytes then the same problem may occur unless the perl module still accepts an extra read and returns zero.
My fix works so long as the response is not 1024 characters. In testing the response was 288 characters so well below the limit.
Gordon Camley
3rd Line Support
SellerDeck.
Comment
Comment