If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Payment Modules / Payflow Pro in 1.3.6?

Payflow Pro in 1.3.6?

Locked

Started by llamagod on 22 Dec 2006, 3:34 PM · Views: 3,685

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
22 Dec 2006, 3:34 PM
#1
llamagod avatar

llamagod

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Payflow Pro in 1.3.6?

has anyone gotten payflow pro working in a fresh install of zencart v1.3.6?

i've upgraded two stores (one from v1.3.5 and one from v1.3.2) who were using the payflow pro payment module and they're working just fine.

i've created a third store starting with v1.3.6 and i cannot get the payment processing to go through - i'm getting the oh so descriptive: "There has been an error processing your credit card, please try again." with a result code of 126.

all three stores are using the same cert folder (that was a problem i ran into before), so that eliminates the folder permissions issue.

i've compared the three stores and all of the settings are the same (aside from store name and whatnot). can anyone point me in a direction to fix this? thanks.

22 Dec 2006, 4:44 PM
#2
llamagod avatar

llamagod

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

i've found the answer... and i actually had this one figured out in a previous post, but didn't listen to myself.

the permissions were not set on the pfpro executable in the includes/modules/payment/bin/ directory - even though i was pointing to a /bin/ directory elsewhere on the server, this mod looks for the pfpro exe in the /payment/bin/ directory.

22 Dec 2006, 10:04 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,747
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

Thanks for posting the solution!

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

22 Dec 2006, 10:11 PM
#4
llamagod avatar

llamagod

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

no problem, that's what makes this forum and the open source community great!

22 Mar 2007, 11:44 PM
#5
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

After a clean install of 1.3.7 I am getting this error. I have already changed the permissions on the /bin folder and its files. Anyone familiar with a solution?

23 Mar 2007, 8:35 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

Which specific errorcode is it giving you ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Mar 2007, 2:19 PM
#7
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

"There has been an error processing your credit card, please try again." with a result code of 126.

23 Mar 2007, 7:58 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

Has your host disabled the Exec() function within PHP ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Mar 2007, 8:00 PM
#9
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

I'm the host. This is a new Mac OS X server so I don't know if the exec function is enabled. How do I check?

23 Mar 2007, 8:35 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

Go to Admin->Tools->Server Info.
Look in the large PHPinfo section. Does it tell you about disabled functions?

also, please confirm again that the permissions on the files in the includes/modules/payment/bin/ folder are set to world-executable.

Some server configurations like to automatically change file permissions based on a set of rules, thus removing the world-executable setting unexpectedly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Mar 2007, 5:18 PM
#11
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

exec function is enables and I double checked the permissions on the files in the bin folder and they are set to 777.

PHP was not built with gd and openssl support. Could this be the problem?

29 Mar 2007, 7:53 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

jrennaker:

PHP was not built with gd and openssl support. Could this be the problem?

Possibly, but the binary should handle its communications to payflow directly, and doesn't talk to PHP in the process.
While I'd recommend having PHP compiled with openSSL support, I don't think it's the cause of your present problem.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Mar 2007, 9:11 PM
#13
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

When I attempt to check out, I receive a failure email with this infomation in the body. Can anyone shed some light on what this may mean?

valueA: sh: line 1: /.../includes/modules/payment/bin/pfpro: cannot execute binary file
valueB:
RetVal: 126
0 => sh: line 1: /.../includes/modules/payment/bin/pfpro: cannot execute binary file

30 Mar 2007, 11:59 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

Apparently error 126 means "cannot execute binary file"
This would usually suggest that the file doesn't have acceptable permission masks set on it.
But you said you already marked it as executable.

That leaves the idea that maybe it can't find the file (although I would have expected a different error code for that).

This is a little puzzling though: the ... could be just a friendly thing to make the reported information more readable, or it could be a real problem, ie: an invalid path.

/.../includes/modules/payment/bin/pfpro

What is your DIR_FS_CATALOG setting in your /includes/configure.php file ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Mar 2007, 4:01 PM
#15
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

define('DIR_FS_CATALOG', '/Library/WebServer/Documents/jadedistributing/');

I added the /.../ for posting purposes because the path was so long. Sorry to confuse you on this.

30 Mar 2007, 4:23 PM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

No problem ... just making sure that wasn't the cause of the problem.

Perhaps you can engage your hosting company for assistance.

You need to find out why running this binary is giving errors:
/Library/WebServer/Documents/jadedistributing/includes/modules/payment/bin/pfpro

If you have shell access you might be able to test it yourself.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Mar 2007, 4:41 PM
#17
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

I am my own host. I am not sure how to test. Can you give me some guidance? Thanks

30 Mar 2007, 4:43 PM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

open a shell prompt (aka "telnet") and run that command.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Mar 2007, 4:44 PM
#19
jrennaker avatar

jrennaker

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Payflow Pro in 1.3.6?

Sorry to sound like a total idiot, I guess this is how we learn, but I don't know what command I should run.

30 Mar 2007, 4:47 PM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Payflow Pro in 1.3.6?

/Library/WebServer/Documents/jadedistributing/includes/modules/payment/bin/pfpro

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.