Difficulty in integrating Verisign Payflow Pro with PHP

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
goutam
Forum Newbie
Posts: 2
Joined: Sat Nov 30, 2002 7:50 am

Difficulty in integrating Verisign Payflow Pro with PHP

Post by goutam »

Hello,
I am trying to integrate the payflow pro software of verisign with PHP. I am using RH 8.0, Apache 2.0.43, PHP 4.2.3 and I have compiled the PHP with pfpro support. The compilation process has gone through well. But when I am trying to access any pfpro functions I am getting an error like "invalid/unknown function call". Even simple functions like pfpro_version() returning the same error. Any help please. I am in urgent need of your support.
With regards,
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Do a phpinfo and see what the config line says.

Cheers,
BDKR
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

never used payflow 'til now but it might be a shared module. If so php must load the module either by a extension=module_name directive in php.ini or by dl()

http://www.php.net/manual/en/function.dl.php
goutam
Forum Newbie
Posts: 2
Joined: Sat Nov 30, 2002 7:50 am

The phpinfo data

Post by goutam »

Dear BDKR,
Thanks for responding to my query. I am giving below the ./configure portion of the phpinfo command. Please guide us :

./configure'
'--with-apxs2=/usr/bin/apache/bin/apxs'
'--with-pfpro=shared,/usr/verisign/payflowpro/linux/lib'
'--enable-versioning' '--enable-trach-vars=yes'
'--enable-url-includes' '--enable-trans-sid'
'--enable-sysvshm=yes' '--enable-sysvsem=yes'
'--enable-ftp' '--with-config-file-path=/etc'

With regards,
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Hey,

It's getting tough now. I apologize as I should've also asked if you saw an configuration or compilation errors. Did you? The configuration line may be correct for the most part, but you may not see an error until the compilation stage.

Cheers,
BDKR
User avatar
BigE
Site Admin
Posts: 139
Joined: Fri Apr 19, 2002 9:49 am
Location: Missouri, USA
Contact:

Post by BigE »

Someone might be able to help you with that, however, I am going to tell you to downgrade Apache. PHP's support for Apache 2 is not stable yet due to the Apache 2 API that is still changing constantly. Until Apache 2 is finished, PHP won't be fully compatable with Apache 2. Yes, some versions do work with Apache 2, but there are still bugs and errors and that is why Apache 2 shouldn't be used yet. I belive the latest stable version is Apache 1.3.27. I suggest you download that and use it instead.
Post Reply