0

On an osCommerce install with the discount code it sends the discount to PayPal fine, but when a user enters their credit card information or logs into their PayPal account to finalize the purchase, the checkout_confirmation.php page loads this error:

Fatal error: Cannot redeclare class ot_discount in /home/content/36/7880936/html/twopecans/includes/modules/order_total/ot_discount.php on line 16

I've read about loading the class twice and followed some instructions to fix it but all I've gotten is a new line # or error.

random
  • 9,774
  • 10
  • 66
  • 83
ambservices
  • 43
  • 1
  • 3

1 Answers1

2

since error say redeclare it means you declare two times to get data from the new module, check your checkout_process file or any paypal_process file to get rid of the error

Fabio
  • 23,183
  • 12
  • 55
  • 64