Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Auto Return from Paypal not working....


emcg

Recommended Posts

Posted

I would appreciate any help!

 

My orders do go through, it looks like there is just a problem with the auto return.

 

I am receiving an error when using Paypal to checkout. I can get all the way through the Paypal process & I get the confirmation screen that reads...

 

Your payment for $8.52 USD has been completed.

 

You are now being redirected to The Scrapbook Site

 

If you are not redirected within 10 seconds click here.

 

However, instead of being redirected, I just get the following error:

 

Fatal error: Cannot redeclare class order_total in

/home/xxxxx/xxxxxx/xxxxxx/includes/classes/order_total.php on line 14

 

where the xxxx was site specific file paths for the store - I removed when I copied here.

 

In Paypal, I have made the following changes...

 

 

Under Profile, Web Payment Preferences, I changed:

Auto Return for Website Payments to ON

 

then set the Return URL to

https://mydomainname/store/checkout_process.php

 

(where I did have actual domain name typed in - just changed it here)

 

I also tried checkout_success.php and got the same result.

 

Anyone know what I am missing....what is causing this? Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...