Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help - PayFlow Pro Issue


seCret steVe

Recommended Posts

Hello gang,

 

I currently have a customer whom is using PayFlow Pro (please refer to http://ecommerce.frontdoorfoods.com for the test site ). I have plugged in all the payflow modules properly and i go and test them and i get a credit card error. I think im doing something wrong...but it doesnt even go the payflow pro verisign page. So im not sure what is going on or what the issue is. If someone who is using Verisign PayFlow Pro (not Verisign PayFlow Pro Link) could you please provide me with some helpfull hints on how to finish this site off so that it can go live in a few days.

 

I thank you for all your help and energy towards my question.

 

And i will be handing out more after we get Mambo to a stable version.

 

Thanks again

Link to comment
Share on other sites

If it is correctly calling the pfpro binary (you installed the SDK from VeriSign, right?), then it will print a message after the credit card error. If it is only printing credit card error then it is not calling the binary properly. Have you tried using the the test.sh or test.bat file from the command line?

 

What do you mean by "the payflow pro verisign page?" When the module is working, it operates entirely behind the scenes. You click continue on checkout_payment.php, the server runs checkout_process.php which calls the PayFlow module and gets a response. The next page the customer sees is checkout_success.php on success or checkout_payment.php on failure.

 

Hth,

Matt

Link to comment
Share on other sites

iiinetworks,

 

this isnt my server. I just uploaded the content of the sdk file to the server and pointed the approiote lines to those files.

 

Is there something else that i have to do? Do i have to contact the admin to install something on the linux box.

 

Thanks for your help

 

i thought verisign was kinda like some of the other pay sites...but i guess not....good that it works behind the scenes.

Link to comment
Share on other sites

The one time I used it, I used Alonso's version from here. It seemed to work well once I got the pathing issues worked out. For whatever reason, it seemed to like relative paths over absolute paths.

 

Hth,

Matt

Link to comment
Share on other sites

okies im about to kill my self here....but what paths do i use to get payflow pro api to work proper:

 

 

define(PFPRO_EXE_PATH, '/home/httpd/vhosts/ecommerce.frontdoorfoods.com/cgi-bin/lib/libpfpro.so');
define(PFPRO_CERT_PATH_ENV, '/home/httpd/vhosts/ecommerce.frontdoorfoods.com/cgi-bin/cert/');
define(LD_LIBRARY_PATH_ENV, '/home/httpd/vhosts/ecommerce.frontdoorfoods.com/cgi-bin/lib/');

 

define(PFPRO_EXE_PATH, 'http://ecommerce.frontdoorfoods.com/cgi-bin/lib/libpfpro.so');
define(PFPRO_CERT_PATH_ENV, 'http://ecommerce.frontdoorfoods.com/cgi-bin/cert/');
define(LD_LIBRARY_PATH_ENV, 'http://ecommerce.frontdoorfoods.com/cgi-bin/lib/');

Link to comment
Share on other sites

Ask our webhost to recompile PHP with --with-pfpro[=DIR] options to make Payflow Pro work, if they haven't already done so.

 

You might have to upload the SDK to your server for them to use it.

 

Then simply copy the /certs directory in your /catalog (and some other directory, I don't remember... but if you get an error, it'll show you the Current Working Directory: /path/to/the/cwd - just add it in that directory).

 

Please post here if that works out for you.

 

Good luck.

Link to comment
Share on other sites

Ahh - let me modify the above message a little:

 

Ask your webhost to recompile PHP with --with-pfpro[=DIR] options to make Payflow Pro work, if they haven't already done so.

 

You might have to upload the SDK to your server for them to use it.

 

Then simply copy the /certs directory in your /catalog (and some other directory, I don't remember... but if you get an error, it'll show you the Current Working Directory: /path/to/the/cwd - just add it in that directory).

 

Please post here if that works out for you.

 

Good luck.

Link to comment
Share on other sites

define(PFPRO_EXE_PATH, '/home/httpd/vhosts/ecommerce.frontdoorfoods.com/cgi-bin/bin/pfpro');
define(PFPRO_CERT_PATH_ENV, '/home/httpd/vhosts/ecommerce.frontdoorfoods.com/cgi-bin/cert/');
define(LD_LIBRARY_PATH_ENV, '/home/httpd/vhosts/ecommerce.frontdoorfoods.com/cgi-bin/lib/');

It's looking for file system paths like these. However, I found it to like relative paths better than absolute paths, i.e.

define(PFPRO_EXE_PATH, '../cgi-bin/bin/pfpro');
define(PFPRO_CERT_PATH_ENV, '../cgi-bin/cert/');
define(LD_LIBRARY_PATH_ENV, '../cgi-bin/lib/');

Also note that in the first define, you want bin/pfpro, not lib/libpfpro.so

 

Hth,

Matt

Link to comment
Share on other sites

i am includeing it with the following code:

 

correct me if it is incorrect:

 

	define(PFPRO_EXE_PATH, '/usr/local/bin/pfpro');
define(PFPRO_CERT_PATH_ENV, '/usr/local/cert/');
define(LD_LIBRARY_PATH_ENV, '/usr/local/lib/');

 

 

does php have to compiled with payflow pro??? because if so then this wont work on the server because the admin already said if this has to be done he wont do it because it will take down 1000 of other sites since it is on a shared server.

 

Any help ASP would be great....thanks much

Link to comment
Share on other sites

  • 1 month later...
does php have to compiled with payflow pro???

 

Unfortunately, PHP does need to be recompiled with the Payflow Pro options.

 

Here's what it says at http://www.php.net/manual/en/ref.pfpro.php:

 

These functions are only available if PHP has been compiled with the --with-pfpro[=DIR] option.

 

because if so then this wont work on the server because the admin already said if this has to be done he wont do it because it will take down 1000 of other sites since it is on a shared server.

 

Any help ASP would be great....thanks much

 

That sucks. We're hosted by a company with more than 1000 customers, and they happily recompiled PHP for us. And we're on a shared server as well! There must be a way around it...

 

Talk to other hosts/friends who have managed servers, and ask what it takes to recompile PHP. I don't know much about it, but if my host agreed to do it, and did it without any trouble... there must be something your host doesn't know. Find him a solution and see if he's willing to do it for you.

 

Good luck, hope you get it to work.

 

B)

Link to comment
Share on other sites

  • 3 months later...

hi.

 

for someone still trying to work with PayFlowPro and get PayFlowPro to work, here is what i did.

 

1) download sdk from verisign

2) install sdk, run test.sh to test connection

 

- i put the cert in my /usr/local/ssl/certs dir

- the pfpro exe in my /usr/bin

- and the libpfpro.so in my /usr/lib

 

3) download the fix_1.1 payflowpro module fix_1.1

 

- i know it says for milestone 1, just use this one. the others i've tried and the labeling is just wrong.

 

4) copy files from contrib

 

5) install payment module in admin

6) set PFP variables.

 

- location of pfpro exe 4 me is /usr/bin/pfpro (exactly)

- location of cert is /usr/local/ssl/certs/ (yes with trailing slash)

- location of libpfpro.so is /usr/lib/ (yes, again, with trailing slash)

 

now enter the following when making a purchase with the test server still using:

 

cc: 4111111111111111

 

- good luck,

 

BlueBalance

Link to comment
Share on other sites

  • 2 weeks later...

glad it could help you.. :) the doc's for some of these contrib's are seriously lacking... but no one's complaining... better than writting from scratch (although even this is questionable).

 

- BlueBalance

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...