[freeside-users] Successful PayPal Integration

Tom Greene tgreene at providenttech.com
Wed Mar 21 07:01:21 PDT 2007

I'm trying to get PayPal BOP module to work properly with very little luck. Just seeing if anyone has gotten through this yet.

I'm running Ubuntu 6.06 LTS, Freeside 1.7.2 Stable, Perl 5.8.7, Apache 2, HTML::Mason,  Postgresql 8.1. 

I setup a sandbox account with PayPal and when I did the BOP::PayPal API   WPP_TEST=auth.txt make test it returned errors but did actually make deposits, credits and voids on the sandbox account. 
I did check to make sure that the SOAP::Lite and Crypt::SSLeay were up to date.

I set up the freeside server and in the "business-onlinepayments" section I put in the following information (I'm using the 3 token method)

tgreene..... (api name)
xxxxx    ..... (password
         .... (blank line)
xxxxx ..... (signature)

With that it spits this error when attempting to do a payment from an account:

error:  Can't locate auto/Business/OnlinePayment/PayPal/a.wqvyc9ow-po0at6zsamy9i.vcgake88phd.al in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at /usr/local/share/perl/5.8.7/FS/cust_main.pm line 2618
98: # whether they should generate a full stack trace (confess() and cluck())
99: # or simply report the caller's package (croak() and carp()), respectively.
100: # confess() and croak() die, carp() and cluck() warn.
102: sub croak { die shortmess @_ }
103: sub confess { die longmess @_ }
104: sub carp { warn shortmess @_ }
105: sub cluck { warn longmess @_ }

code stack:  /usr/share/perl/5.8/Carp.pm:102

There is no error in Apache's log file (except for the eidiot deprecation error :)) If I take the blank line and signature out I get an error page that says PayPal error and the Apache log says this:

500 SSL negotiation failed:  at /usr/local/share/perl/5.8.7/Business/PayPal/API$


Any idea? This is driving me nuts!

Tom Greene
Solutions Architect

Work: 920.458.5540
Fax: 920.458.5603
-------------- next part --------------
Skipped content of type multipart/related

More information about the freeside-users mailing list