To make uc_payment.js work with Lighttpd:

Joined: 02/01/2008
Juice: 28

To enable credit card processing with Lighttpd (a.k.a lighty), in sites/all/modules/ubercart/payment/uc_payment/uc_payment.js:

Comment out 107, add 108.

106  // Post the line item data to a URL and get it back formatted for display.
107  // $.post(Drupal.settings.basePath + '?q=cart/checkout/line_items', li_info,
108 $.post('https://chahec.org/?q=cart/checkout/line_items', li_info,

Comment out 157, add 158

156// Make the post to get the details for the chosen payment method.
157  //$.post(Drupal.settings.basePath + '?q=' + path, data,
158  $.post('https://chahec.org/' + path, data,

If you experience other "lighty" issues, let's open up a thread for them.

-Bram

NEW Authorize.net Customer Information Manager By: xerbutter (92 replies) Wed, 11/21/2007 - 11:50