Give the gift of Drupal. All merchandise is 50% off through 2016.
I'm writing a wrapper for the UC Ajax Cart module so the dynamic shopping cart can be used with Authcache.
I have the basic stuff working. If I have my module do nothing but return a hardcoded value, all is good and Authcache will populate the block with that value.
However, if I call the uc_price function within my code, even if I ignore what uc_price is returning and return the exact same hardcoded value as before ('test'), nothing gets updated in the page. What's odd is the uc_price function appears to work fine, and returns the correct value, and I can step through all of the code all the way up through the JSON encoded response being printed. What is not happening though, is the "success" method of the jquery ajax object is not getting called. Does this mean that PHP is returning some kind of an error response even through I can't see it and the code appears to execute cleanly?
Is there any way I can get more information about what's going on? I have debugging turned on in Authcache settings but it doesn't seem to include any information about Authcache contrib modules (including the Authcache example module).