Zen Cart Logo
Forums / Addon Payment Modules / Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Locked

Views: 5,649

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
19 Mar 2009, 11:43 PM
#1
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Hi Zenners,

I'm trying to install the Pay Pal Payflow Pro payments system onto my V1.3.7 Cart and i am hitting a dead end once i get to the "confirm payment" step i get a blank white page with the some Warning messages.

Now i have searched and searched through these forums but the only threads i have found which relate to my issue i cannot open. :frusty:

After reading numerous Payflow threads i noticed someone said to try different versions of the module so i have uninstalled and re-installed each release for the module that was on the website.

The warning messages vary from release to release but the smallest warning message was from V1.4 which is:

With V1.4

Warning: exec() has been disabled for security reasons in /home/...../public_html/includes/modules/payment/payflowpro.php on line 407

Catchable fatal error: Object of class payflowpro could not be converted to string in /home/...../public_html/includes/modules/payment/payflowpro.php on line 423

Also versions 1.3c2 and 1.3c were smaller than the other releases including:

Warning: exec() has been disabled for security reasons in /home/...../public_html/includes/modules/payment/payflowpro.php on line 383

Catchable fatal error: Object of class payflowpro could not be converted to string in /home/...../public_html/includes/modules/payment/payflowpro.php on line 399

Anyone got any suggestions or help to offer me...? :blush:

Regards
Liam

20 Mar 2009, 12:12 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

TBSM:

Warning: exec() has been disabled for security reasons in /home/...../public_html/includes/modules/payment/payflowpro.php on line 407

Since the payflowpro module for v1.3.7 and earlier requires access to the command-line functions of the server, it must be allowed to use the exec() function of PHP.
If your server is preventing that, then you cannot use that module on that server.
You could try a different server/hosting-company, or a newer version (ie: 1.3.8a) of Zen Cart that works with the newer version of the payflowpro addon (built specific to v1.3.8a). http://www.zen-cart.com/forum/showthread.php?p=481988#post481988

20 Mar 2009, 12:34 AM
#3
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Thanks DrByte, i have a dedicated server so i will try and see if i can allow that php access myself. :smile:

Thanks again.

Liam

20 Mar 2009, 12:43 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Look in your server's php.ini file for disable_functions

20 Mar 2009, 2:32 AM
#5
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Thank you once again.

That's working better now, only getting the last error message

Catchable fatal error: Object of class payflowpro could not be converted to string in /home/...../public_html/includes/modules/payment/payflowpro.php on line 399

Although this error only came up before on certain modules, will try the other releases though.

Liam.

20 Mar 2009, 2:54 AM
#6
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Okay newest module now works (sort of).

Not getting a blank screen with errors anymore, rather it sends me back to the payment page and i get the warning messages:

Warning Result code: 139:
Error There has been an error processing your credit card, please try again.

:frusty:

20 Mar 2009, 3:13 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

I've no idea what causes the 139 error code.

Keep in mind that the Payflow system is changing in August 2009 and the module made for v1.3.7 and older will no longer work.
You'll have to use the mod I posted above for v1.3.8, but it only works for v1.3.8.

20 Mar 2009, 3:25 AM
#8
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Hmmm,

Looks like i might have to upgrade to 1.3.8 . I'm guessing that a similar module will be created for Z.Cart v2 to work with the changing payflow system? Just don't want to go to the trouble of upgrading to allow me to use the payflow then find out i can't use payflow eventually on v2...

20 Mar 2009, 4:52 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

There will be a mad dash to update the modules that have the most demand when 2.0 comes out.

23 Mar 2009, 11:14 PM
#10
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Hmmm, Just installed 1.3.8a onto a new test site and i am getting the same code.

However, i'm not sure if i am using the right payflow module (can only find ones for 1.3.7....). Anyone care to point me in the right direction?

Thank you :blush:

24 Mar 2009, 4:02 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

See my post #2 earlier.

24 Mar 2009, 5:39 AM
#12
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Thank you!! :bigups:

Just installed it and it is working in sandbox (test mode i'm guessing) but cannot see it coming through in my paypal manager console thingo. Yet to go through and double check passwords and logins, that can be a job for tonight!

Thanks again
Liam

29 Apr 2009, 6:56 AM
#13
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

:mellow:

After having success with the test account and then signing up with Paypal and setting up a Internet Merchant Account i have run into a wall :frusty:

After checking (and double checking) the account information entered into the Payflow admin area and the information entered into Zen cart i have had no luck in putting through my own live test sale ($1 product just to make sure live transactions come through). I get the error message up the top; "We were not able to process your order. Please select an alternate payment method, or contact the store owner for assistance. (1)"

Is anyone able to point me in the right direction to where this error could be coming from? Paypal side, Merchant side or website/server side?

Any help would be great :clap:

Thanks
Liam

29 Apr 2009, 7:13 AM
#14
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Payflow Pro Error Code (1) means that you've supplied invalid authentication credentials.
Check to be sure that you've supplied the proper details for User/Vendor/Partner/Password for your live account, and that you've got the module set to live mode.

Also, if you've set any "Allowed IP Address" options inside your Payflow account profile, make sure that list includes the webserver you're using. Or turn the feature off.

29 Apr 2009, 7:51 AM
#15
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Hmm checked all of the vendor details and the others and still same error. I will have to call up pay pal to make sure i have the right details on record.

Tried allowing the site's IP but it didn't change anything. Couldn't find the option to disable it though....

30 Apr 2009, 6:16 AM
#16
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Called up PayPal (after a 20 minute phone conversation//waiting time :dontgetit ) and managed to get them to disable the IP security measure and it is now working as it should!

WOO :flex::hug:

30 Apr 2009, 7:27 AM
#17
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Glad they sorted out their problem :)

14 May 2009, 5:00 AM
#18
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

All up and running :smile:

Just a quick question to anyone also using this module..

What is an error 23?

Just got this when a customer was trying to make an order over $1000 got this message in an email;

Transaction Response Details: Array
(
[RESULT] => 23
[PNREF] => VRFR3E0670D8
[RESPMSG] => Invalid account number

I have tried my own live transactions and we have had a few customers in the last hour and i have got a few successful payments through which was weird...

Regards
Liam

14 May 2009, 5:13 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

TBSM:

What is an error 23?

Transaction Response Details:
(
[RESULT] => 23
[PNREF] => VRFR3E0670D8
[RESPMSG] => Invalid account number
According to the Payflow Pro documentation:
23 Invalid account number. Check credit card number and try again.

Maybe your Payflow Pro account profile is set to not allow the kind of card you were submitting?

14 May 2009, 5:41 AM
#20
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

Re: Payflow Pro Error: Warning:exec() has been disabled for secutity reasons.......

Thanks Dr. Byte.

That could be a possibility. I will double check it now. :smile:

Where can i find the Payflow documentation? I have had a look around on paypal's site but can't seem to find it.

Regards
Liam