Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Business-PayPal-API CPAN distribution.

Report information
The Basics
Id: 19756
Status: rejected
Priority: 0/
Queue: Business-PayPal-API

People
Owner: Nobody in particular
Requestors: JHUCKABY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.30
Fixed in: (no value)



Subject: PayPal API does not work with SOAP::Constants::DO_NOT_USE_XML_PARSER
SOAP::Lite by default loads the XML::Parser module, but you can disable it by setting this constant: $SOAP::Constants::DO_NOT_USE_XML_PARSER = 1; This is described in the POD docs for SOAP::Lite. However, if you set the constant above Business::Paypal::API fails to work entirely. It reports this error: 404 Not Found at /ipix/perl/lib/site_perl/5.8.7/Business/PayPal/API.pm line 142 This is highly desirable for people who don't have XML::Parser installed, or are using Apache/ mod_perl. SOAP::Lite will cause segmentation faults in Apache because XML::Parser links to "expat" which Apache already has loaded. perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.6.11-1.1369_fc4smp, archname=i686-linux uname='linux tester01.eng.admission.net 2.6.11-1.1369_fc4smp #1 smp thu jun 2 23:08:39 edt 2005 i686 athlon i386 gnulinux ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.0.1 20050727 (Red Hat 4.0.1-5)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Sep 28 2005 12:05:14 @INC: /ipix/perl/lib/5.8.7/i686-linux /ipix/perl/lib/5.8.7 /ipix/perl/lib/site_perl/5.8.7/i686-linux /ipix/perl/lib/site_perl/5.8.7 /ipix/perl/lib/site_perl . uname -a Linux dev01.eng.admission.net 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686 i686 i386 GNU/Linux
From: Scott Wiersdorf
The original filer changed the status to 'resolved' and I don't know how to duplicate the bug. I'll gladly look at it if it's still a problem and you can show me a simple way to duplicate the error (I've tried setting the DO_NOT_USE_XML_PARSER in a BEGIN block, for example).
Subject: Re: [rt.cpan.org #19756] PayPal API does not work with SOAP::Constants::DO_NOT_USE_XML_PARSER
Date: Thu, 8 Jun 2006 13:15:00 -0700
To: bug-Business-PayPal-API [...] rt.cpan.org
From: "Joseph Huckaby" <jhuckaby [...] gmail.com>
Sorry about that, this was ENTIRELY my fault. I was troubleshooting the problem and went in your API.pm and changed all "https://" to "http://" because I orignally thought the problem was related to Crypt::SSLeay. I then completely forgot to turn them back, and PayPal's Web Services calls require SSL, they return a "404" error for non-secure mode I believe, hence the error I was getting. Sorry for the bug -- total mistake on my part. - Joe On 6/8/06, via RT <bug-Business-PayPal-API@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=19756 > > > The original filer changed the status to 'resolved' and I don't know how > to duplicate the bug. I'll gladly look at it if it's still a problem and > you can show me a simple way to duplicate the error (I've tried setting > the DO_NOT_USE_XML_PARSER in a BEGIN block, for example). > >