Just like it says. The script used to work. Now it don't. When I echo $amount. I get $0.00 yet the cart shows the correct total. Should be fast work for anyone good with Javascript.
You cant get information stored in Javascript using PHP. Your most likely pushing it into a HTML form during process at some point, or use cookies
Your absolutely right. You can send it trough GET or POST using Ajax. But considering how the OP stated that he cant use `echo $amount` then i assumed no Ajax was involved
The issue has been resolved. The cart was built using simpleCart.js The price used to get stored as a PHP variable $amount at checkout before going to authorize.net. some reason it stopped working. The guy fixed it under 10 minutes. My issue was I hired someone a year ago to code it. I think he used jQuery. I don't know jQuery. Some of it makes sense to me but I couldn't figure out how it was being done.