Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Managing Customers and Orders / Problem with checkout

Problem with checkout

Locked

Started by rkeppert on 4 Sep 2006, 10:37 PM · Views: 4,826

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
4 Sep 2006, 10:37 PM
#1
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Problem with checkout

I am confused with my current issue. When I run through the checkout, the system goes through the shipping page just fine, then on the payment page I get the following display:

Sub total: $64.99
Shipping: $ 5.67
Insurance: $ 0.00
Tax: $ 3.90
0: $ 0.00
Total: $74.56

My question is about the 0: $ 0.00 entry. I did a view code, and this is what it is showing:

<fieldset id="checkoutOrderTotals"> <legend id="checkoutPaymentHeadingTotal">Your Total</legend> <div id="otsubtotal"> <div class="totalBox larger forward">$64.99</div> <div class="lineTitle larger forward">Sub-Total:</div> </div> <br class="clearBoth" /> <div id="otshipping"> <div class="totalBox larger forward">$5.67</div> <div class="lineTitle larger forward">DHL/Airborne (1 x 4.00lbs) (Ground):</div> </div> <br class="clearBoth" /> <div id="otinsurance"> <div class="totalBox larger forward">$0.00</div> <div class="lineTitle larger forward">Shipping Insurance:</div> </div> <br class="clearBoth" /> <div id="ottax"> <div class="totalBox larger forward">$3.90</div> <div class="lineTitle larger forward">PA TAX 6.0%:</div> </div> <br class="clearBoth" /> <div id="ottax"> <div class="totalBox larger forward">$0.00</div> <div class="lineTitle larger forward">0:</div> </div> <br class="clearBoth" /> <div id="ottotal"> <div class="totalBox larger forward">$74.56</div> <div class="lineTitle larger forward">Total:</div> </div> <br class="clearBoth" /> </fieldset>

If i am seeing things correctly, there is a duplocate ottax. Why is this and what can I do to correct it?

4 Sep 2006, 10:52 PM
#2
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

I was testing the shipping insurance module, and brought the order total over $100, and now i am getting another error... here is the code i am getting now:

<fieldset id="checkoutOrderTotals"> <legend id="checkoutPaymentHeadingTotal">Your Total</legend> <div id="otsubtotal"> <div class="totalBox larger forward">$202.96</div> <div class="lineTitle larger forward">Sub-Total:</div> </div> <br class="clearBoth" /> <div id="otshipping"> <div class="totalBox larger forward">$7.22</div> <div class="lineTitle larger forward">DHL/Airborne (1 x 9.00lbs) (Ground):</div> </div> <br class="clearBoth" /> <div id="otinsurance"> <div class="totalBox larger forward">$1.40</div> <div class="lineTitle larger forward">Shipping Insurance:</div> </div> <br class="clearBoth" /> <div id="ottax"> <div class="totalBox larger forward">$3.90</div> <div class="lineTitle larger forward">PA TAX 6.0%:</div> </div> <br class="clearBoth" /> <div id="ottax"> <div class="totalBox larger forward">$0.00</div> <div class="lineTitle larger forward">Sales Tax:</div> </div> <br class="clearBoth" /> <div id="ottax"> <div class="totalBox larger forward">$0.00</div> <div class="lineTitle larger forward">0:</div> </div> <br class="clearBoth" /> <div id="ottotal"> <div class="totalBox larger forward">$215.48</div> <div class="lineTitle larger forward">Total:</div> </div> <br class="clearBoth" /> </fieldset>

what in the world is going on?

4 Sep 2006, 11:34 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with checkout

Looks like the insurance module is running twice ...

Go to the Modules ... Order Totals ...

Make sure that all sort orders are unique ...

Make sure you only have installed modules you are actually using ...

Check the directory /includes/modules/order_total and that there are no extra files or duplicates in there ...

Try copying the settings of the Insurance Module then Remove/Install and reconfigure ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Sep 2006, 3:23 AM
#4
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

Ok, this is what I have set up.

COD Fee ot_cod_fee 950
Discount Coupon ot_coupon 280
Group Discount ot_group_pricing 290
Gift Certificates ot_gv 310
Shipping Insurance ot_insurance 300
Quantity Discount ot_quantity_discount
Shipping ot_shipping 200
Sub-Total ot_subtotal 100
Tax ot_tax 350
Tax Exempt ot_tax_exempt 375
Total ot_total 999

From what I can tell by looking at the code, somewhere the system is duplicating the 'ottax' as example in the code pasted below... I don't know if it is doing it because of a setting that I changed or another reason. I do not have the ot_local_tax module installed, so that rules that out... I've gone through all the configurable settings that I can think of, and I don't see anywhere that the tax option would be affected...

<br class="clearBoth" /> <div id="ottax"> <div class="totalBox larger forward">$3.90</div> <div class="lineTitle larger forward">PA TAX 6.0%:</div> </div> <br class="clearBoth" /> <div id="ottax"> <div class="totalBox larger forward">$0.00</div> <div class="lineTitle larger forward">0:</div> </div>
5 Sep 2006, 3:41 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with checkout

Here is a hard concept ... but let's try it anyway ...

These two conflict ...

Tax ot_tax 350
Tax Exempt ot_tax_exempt 375

Their names are "like" names and the code is getting confused ...

If you were to write down the the settings for ot_tax and uninstall ... it would probably display right for ot_tax_exempt ...

Then reinstall that ...

Write the settings for ot_tax_exempt and uninstall ... it would now probably display right for ot_tax

Because ot_tax_exempt contains the same ot_tax this conflict makes the code confused and it substitutes values for one another ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Sep 2006, 4:53 AM
#6
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

Ok lemme try that... brb

5 Sep 2006, 4:54 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Problem with checkout

oops....

<<--edit-->>

... Ajeh's got a better handle on this than I ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Sep 2006, 5:03 AM
#8
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

Nope, that didn't work...

5 Sep 2006, 5:05 AM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with checkout

What do you have configured on the tax rate specifically?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Sep 2006, 7:02 AM
#10
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

I have:

Tax rate, PA. 6%

and that's it...

5 Sep 2006, 1:36 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with checkout

So you see the 6.00 on the tax_rates.php in the Admin ...

And you have on the geo_zone.php defined PA ...

And you specifically selected the zone United States Pay on the details?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Sep 2006, 1:36 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with checkout

NOTE: make sure Priority is set to 1 on Taxable Goods ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Sep 2006, 9:04 PM
#13
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

Everything you stated I just checked, and all found correct.

10 Sep 2006, 2:17 AM
#14
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

However, I still have the problem with the duplicate 'ottax" showing up.

10 Sep 2006, 4:38 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem with checkout

When you removed the ot_tax_exmption ... did the duplicate ot_tax stop?

What if you open a new browser in IE and try it again? Now does the duplicate ot_tax stop?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Sep 2006, 5:41 PM
#16
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Problem with checkout

negative on both. :( :frusty: :censored: :cry:

26 Sep 2006, 2:36 PM
#17
krizzle avatar

krizzle

New Zenner

Join Date:
Aug 2006
Location:
Boston MA
Posts:
19
Plugin Contributions:
0

Re: Problem with checkout

If anyone can help me with this issue, that would be great. We are hoping to launch this site tomorrow night. I'm sure there is a simple answer. Basically, the gross (price) in the product listing is over-estimating the product's price with tax (or so it seems). :( In addition, at checkout, I am getting a series of "+" signs in the order total with the number "6". Have I set up the tax rates incorrectly?

Thanks again.