Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

payflow pro error


Guest

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...