Verisign Payflow-- anyone???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
oraknabo
Forum Newbie
Posts: 14
Joined: Mon Oct 07, 2002 5:48 pm

Verisign Payflow-- anyone???

Post by oraknabo »

I don't see a lot of advanced stuff here, so this may not be the right place to ask, but I'll give it a shot:


On Red Hat:
I'm trying to compile PHP with payflow. I uzpped/untarred the verisign files into /usr/local and used "--with pfpro=/usr/local/payflowpro/linux" in the PHP config options.

The configure script works fine but then I get "/usr/bin/ld: cannot find
-lpfpro" when running make.

Anyone encountered this? I wrote to Verisign and got "Payflow Pro can work with PHP. However, it is not officially supported by VeriSign."
I've searched everywhere, found all sorts of problems people have had with PfPro, but never this exact issue.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

haven't tried this module (to be honest: never heard of it at all ;) ) but....
looks like pfpro.so is not in your library path.
Maybe there's a README-file contained in the tarball with instructions what to do after unpacking the files (add path to default-library-path, etc.)

if not:
Search for that file and add the path manually to the LDFLAGS.
try (i.e.)
[find /usr/local/payflowpro -name libpfpro.so -print --> /usr/local/payflowpro/linux/lib/libpfpro.so --> ]
LDFLAGS=-L/usr/local/payflowpro/linux/lib make

edit: just checked the the manual http://www.php.net/manual/en/ref.pfpro.php[quote]Once you have downloaded the SDK you should copy the files from the lib directory of the distribution. Copy the header file pfpro.h to /usr/local/include and the library file libpfpro.so to /usr/local/lib[/quote]now that are two pathes that are both in include-path and library-path for sure and I would do it ;)
oraknabo
Forum Newbie
Posts: 14
Joined: Mon Oct 07, 2002 5:48 pm

Yes!

Post by oraknabo »

Thank you.

I tried just copying the file to the include dir and that appears to have done the trick.
Last edited by oraknabo on Tue Oct 08, 2002 12:17 am, edited 1 time in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

lucky us - it wasn't too advanced for this forum ;)
oraknabo
Forum Newbie
Posts: 14
Joined: Mon Oct 07, 2002 5:48 pm

Post by oraknabo »

It's just a rare option and most of the posts I saw in this section weren't quite on the level of compiling source code. I don't have any idea what things are like here in the long term.

I 'll tell you it's been really hard finding good documentation on this. I had checked all over usenet and google searches and I had read the PHP manual, but missed that one detail you posted. I hope VeriSign will compile a little more info on this thing for future PHP developers. The readme files have all been useless.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

never mind - I was just kidding
Post Reply