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: 33987
Status: rejected
Worked: 2 min
Priority: 0/
Queue: Business-PayPal-API

People
Owner: Nobody in particular
Requestors: adambengur [...] yahoo.com
Cc:
AdminCc:

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



Subject: Low priority bug
Date: Tue, 11 Mar 2008 03:14:51 -0700 (PDT)
To: bug-Business-PayPal-API [...] rt.cpan.org
From: Adam Ben-Gur <adambengur [...] yahoo.com>
Worth to mention (took me few hours to overcome). Distribution: Business-PayPal-API-0.52 Perl version 5.8.8 Running on Debian 4 In the apache error logs I see: 500 Internal Server Error at /usr/local/share/perl/5.8.8/Business/PayPal/API.pm line 143 The reason for this bug was that ReturnURL and CancelURL where not enconded: Not working: ReturnURL => 'http://site.tld/index.pl?param1=something&param2=something_else' Not working: ReturnURL => 'http://site.tld/index.pl?param1=something\&param2=something_else' To resolve: ReturnURL => 'http://site.tld/index.pl?param1=something&amp;param2=something_else' By the way thanks for this great interface to PayPal! Adam Ben-Gur. Show quoted text
____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Yes, this is addressed in the documentation under "PayPal Munging URLs." It's a problem with how PayPal returns URLs that have an ampersand (or other characters like '<' that would need to be escaped). Use semicolons if you can, otherwise wrap your URLs in CDATA tags. Scott On Tue Mar 11 06:15:22 2008, adambengur@yahoo.com wrote: Show quoted text
> Worth to mention (took me few hours to overcome). > > Distribution: Business-PayPal-API-0.52 > Perl version 5.8.8 > Running on Debian 4 > > In the apache error logs I see: > 500 Internal Server Error at > /usr/local/share/perl/5.8.8/Business/PayPal/API.pm line 143 > > The reason for this bug was that ReturnURL and CancelURL where not > enconded: > Not working: ReturnURL => > 'http://site.tld/index.pl?param1=something&param2=something_else' > Not working: ReturnURL => > 'http://site.tld/index.pl?param1=something\&param2=something_else' > > To resolve: ReturnURL => > 'http://site.tld/index.pl?param1=something&amp;param2=something_else' > > By the way thanks for this great interface to PayPal! > > Adam Ben-Gur. > > >
Show quoted text
____________________________________________________________________________________
> Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping