Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

user1515

Pioneers
  • Posts

    21
  • Joined

  • Last visited

Profile Information

user1515's Achievements

  1. I don't know where the problem originates, but I do know the solution. In the module options (Admin -> Modules -> Payment, edit your PayPal module), pass the cart total as AGGREGATE instead of per-product. When it passes per-product, it only passes the product prices (including tax) and shipping, and does not account for any other discount/handling credit/charges. Now, if someone could only figure out how to pass the aggregate on to moneris . . .
  2. The problem lies specifically in this file: includes/modules/order_total/ot_cat_qvb_discount.php THIS is the file that calculates the total, subtotal, tax, and discount - in that order. So basically, this file needs to be change to caluculate in order of total, discount, subtotal, tax. The original order total file (no modifactions) is ot_total.php. These two functions do the work: function ot_total() { $this->code = 'ot_total'; $this->title = MODULE_ORDER_TOTAL_TOTAL_TITLE; $this->description = MODULE_ORDER_TOTAL_TOTAL_DESCRIPTION; $this->enabled = ((MODULE_ORDER_TOTAL_TOTAL_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_TOTAL_SORT_ORDER; $this->output = array(); } function process() { global $order, $currencies; $this->output[] = array('title' => $this->title . ':', 'text' => '<b>' . $currencies->format($order->info['total'], true, $order->info['currency'], $order->info['currency_value']) . '</b>', 'value' => $order->info['total']); } ... Sorry, but I tried and failed many times trying to modify includes/modules/order_total/ot_cat_qvb_discount.php. Maybe someone else can figure it out! ETA: Regarding the "Sort Order" - that's just the display order, not the calculation order. The file above does the actual calculations.
  3. ooohhh... http://www.oscommerce.com/community/contributions,2373/ I should read more before posting silly things.
  4. I installed this version yesterday: http://www.oscommerce.com/community/contributions,1446 I didn't go through all that mambo-jambo stuff with disabling FTP and MySQL that you did. Just replaced the two files in the contribution with my existing two files. (Even edited the language file a bit). Worked right away. You just have to put in the right values for each option.
  5. Hello- I've got the UPS XML module installed, put in the Auth. code, username, password, and selected the necessary options. Then I went ahead and assigned real weights to all of the products. So, it works great... I think? It gives lots of options and prices for each. The prices and expected delivery dates all seem to be correct. My client (the website owner) seems to think that it's supposed to integrate with his UPS account... so that when somebody places an order, a shipping label is automatically created for them at UPS.com. We've tested this quite a bit, and I've putzed around in his online UPS account, but don't see any notice that it recoginzes a shopping cart somewhere is working with their ups.com account. What, exactly, is this module supposed to do? Just spit out accurate quotes on shipping? Does it somehow integrate with your UPS.com account? If so... are there instructions for setting up that part? Thanks!!
  6. QVB VERSION AND TAX QUESTION: I'm having a heck of a time making the tax work correctly. (Same issue as was discussed before - the tax is calculated BEFORE the discount is taken off). I know that I need to edit includes/modules/order_total/ot_cat_qvb_discount.php, specifically the function process() (See Foxtel's Post here. - #195). But it seems that the QTY version is different, and I can't quite make it work. Has anyone been able to modify ot_cat_qvb_discount.php to make the tax calculate correctly? If so, would you be willing to post your code? Thanks a bunch!!
  7. Foxtel, Can you tell us how you fixed your tax issue? I am not using "Easy Discount," but the the tax is still calculated BEFORE the discount is taken off, regardeless of which order I set them in. EXAMPLE Product 1: $10 Product 2: $10 ------------------ Subtotal: $20 2Gether DISC: -$5 (New Subtotal): $15 Tax 7%: $1.40 Note: tax on $20, not on the $15 it should be! Total: $16.40 I didn't see a fix for this posted here anywhere... thanks for any help!
  8. Well- I guess the real question is this, then: I am setting up a website for a customer who is planning to use their in-store credit card machine for web orders. When orders go through, they will receive an e-mail with the order and some how receive the credit card information. This customer will NOT have access to the ADMIN area of OSCommerce, as they are not comfortable/familiar with things like this, and I don't want them poking around and messing up their product listings or other things. They will be sending me updated products when they need them, but obviously I don't need to be involved in the receiving/processing orders part. Does that make sense?
  9. This works well, but is there a way to update the Credit Card module so that it also sends the expiration date via e-mail?
×
×
  • Create New...