I tried to turn on this module and got this error. Even after reloading the page, the module was not enabled.

Fatal error: Cannot redeclare commerce_payflow_pro_server_url() (previously declared in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/profiles/commerce_kickstart/modules/contrib/commerce_paypal/modules/payflow/commerce_payflow.module:1344) in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/sites/all/modules/commerce_payflow_pro/commerce_payflow_pro.module on line 427

Comments

ericshell’s picture

Upon my third attempt of enabling it, it did not give me an error message but it seems like it processed. The configuration for Payflow Pro does not show up in admin/commerce/config/payment-methods

I went back to disable the module and it said that it actually wasn't enabled. I did not receive a confirmation message, after enabling it. I just get sent to a product node. Uninstalling, reinstalling and enabling it again did not solve the issue. I will continue troubleshooting to see if I can provide more helpful details.

ericshell’s picture

I disabled all of the custom modules we have created and that still did not allow me to turn on the module.

markie’s picture

I am wondering if it's not having issues with the commerce_payflow module.

ericshell’s picture

I tried enabling it again just now and got the same error. PayPal Paylink is enabled but not turned on in the payment methods, that wouldn't cause an issue would it?

Here is the error message I received again:
Fatal error: Cannot redeclare commerce_payflow_pro_server_url() (previously declared in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/profiles/commerce_kickstart/modules/contrib/commerce_paypal/modules/payflow/commerce_payflow.module:1344) in /nfs/c06/h06/mnt/93760/domains/accuairtest.com/html/sites/all/modules/commerce_payflow_pro/commerce_payflow_pro.module on line 427

ericshell’s picture

@markie I am working off of Commerce Kickstart 2.0. I don't know if that may be part of the issue, but the commerce_payflow module has been untouched through the development of this site. I am not quite sure what my next step to figure this out is at this point.

ericshell’s picture

ANSWER: PayPal Payflow causes the error. That needs to be disabled before you can enable this module.