Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Will Paypal IPN contrib solve this ?


itsgraham

Recommended Posts

Hi

I have Oscommerce set up with STS and fest easy Checkout but am having problems with Paypal getting back into the database. When I make a trial order and get to paypal everything is fine until I click to return to site then I get this error

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /homepages/44/d104865128/htdocs/shopname.co.uk/catalog/includes/functions/database.php:13) in /homepages/44/d104865128/htdocs/shopname.co.uk/catalog/includes/functions/database.php on line 13

 

and obviously the order doesnt show up in admin and the emails dont get sent.

 

If the Paypal IPN contrib removes the need for the customer to click the return to site button at paypal then it would also solve this problem..... Yes ?

 

Thanks for any help

regards

Graham

Edited by itsgraham
Link to comment
Share on other sites

The problem is because either a function is placed in two files or a file had been included twice.

So You need to look into this as a PHP issue.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

The problem is because either a function is placed in two files or a file had been included twice.

So You need to look into this as a PHP issue.

 

Satish

 

Satish ..... thanks for that, I was afraid that might be the answer. Being almost a total plank when it comes to PHP could you elaborate a little ?

 

regards

Graham

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
Hi

I have Oscommerce set up with STS and fest easy Checkout but am having problems with Paypal getting back into the database. When I make a trial order and get to paypal everything is fine until I click to return to site then I get this error

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /homepages/44/d104865128/htdocs/shopname.co.uk/catalog/includes/functions/database.php:13) in /homepages/44/d104865128/htdocs/shopname.co.uk/catalog/includes/functions/database.php on line 13

 

and obviously the order doesnt show up in admin and the emails dont get sent.

 

If the Paypal IPN contrib removes the need for the customer to click the return to site button at paypal then it would also solve this problem..... Yes ?

 

Thanks for any help

regards

Graham

 

 

Graham,

 

I am running into this same issue. Did you ever get this problem fixed?

 

Thanks for your time.

 

Stephen Allen.

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...