Guest Posted July 16, 2003 Share Posted July 16, 2003 hello, when ever i use payflow pro on the last screen where i conferm it i get a red box at the top that says credit card error. can someone please help me. THANKS! ~Will Quote Link to comment Share on other sites More sharing options...
corvidean Posted July 18, 2003 Share Posted July 18, 2003 I was getting the same thing. I made the following change in includes/modules/payment/payflowpro.php. near line 227, where it checks for errors after pfpro_process, I did this: if (!$response||$response['RESULT']!=0) { $error_msg = 'error_message=' . urlencode(MODULE_PAYMENT_PAYFLOWPRO_TEXT_ERROR); foreach($response as $val1=>$val2) $error_msg .= urlencode('<br>' . $val1 . ' = ' . $val2); tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT,$error_msg, 'SSL', true, false)); } I can only guess that the host we are using has compiled the Payflow Pro functions into PHP, so the include of php_pfpro.php was removed. That solved the "cannot redeclare php_init()" problem. I then made the change above to get better error reporting. In my case, I found that pfpro could not locate my certificate, so it had to be moved. That got it working for me. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2003 Share Posted July 18, 2003 i got it. ~Will Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.