[freeside-users] Successful PayPal Integration

Tom Greene tgreene at providenttech.com
Tue Mar 27 11:26:45 PDT 2007


Anyone? Buehler? :)


Tom Greene
Solutions Architect

Work: 920.458.5540
Fax: 920.458.5603
http://www.providenttech.com


>>> "Tom Greene" <tgreene at providenttech.com> 3/21/2007 9:01 AM >>>

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)

PayPal
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
context:  
... 
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.
101: 
102: sub croak { die shortmess @_ }
103: sub confess { die longmess @_ }
104: sub carp { warn shortmess @_ }
105: sub cluck { warn longmess @_ }
106: 
... 

code stack:  /usr/share/perl/5.8/Carp.pm:102
/usr/share/perl/5.8/AutoLoader.pm:112
/usr/local/share/perl/5.8.7/Business/OnlinePayment.pm:55
/usr/local/share/perl/5.8.7/FS/cust_main.pm:2618
/var/www/freeside/misc/process/payment.cgi:100
/var/www/freeside/autohandler:1

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$

Stack:
  [/usr/share/perl/5.8/Carp.pm:102]
  [/usr/local/share/perl/5.8.7/SOAP/Lite.pm:3240]
  [/usr/local/share/perl/5.8.7/SOAP/Lite.pm:3412]
  [/usr/local/share/perl/5.8.7/Business/PayPal/API.pm:140]
  [/usr/local/share/perl/5.8.7/Business/PayPal/API/DirectPayments.pm:105]
  [/usr/local/share/perl/5.8.7/Business/OnlinePayment/PayPal.pm:431]
  [/usr/local/share/perl/5.8.7/FS/cust_main.pm:2649]
  [/var/www/freeside/misc/process/payment.cgi:100]
  [/var/www/freeside/autohandler:1]

Any idea? This is driving me nuts!

 

Tom Greene
Solutions Architect

Work: 920.458.5540
Fax: 920.458.5603
http://www.providenttech.com
-------------- next part --------------
Skipped content of type multipart/related


More information about the freeside-users mailing list