boxbilling/BoxBilling — Issue #90: Error in price/promo calculation
Author: Samih
Created: 2012-03-07 21:34:12+00:00
State: open

I've been going through an issue rregarding way boxbilling calculates the price with a promo code applied.

To understand the issue, I'm making a promo on domain name registration/transfers.
So, for a 2 years registration/transfer, the customer pays only for one year ( using percentage 50% off ) this issue shows also with the absolute amount option by the way.

You'll find 4 screenshots with the description below

The customer selects 2 years registration
http://public.40963.ikeepincloud.com/1.jpg

2 The price on the left shows the yearly pricing while the duration selected is 2 years, total is correct since 36.27x2 = 72.54
http://public.40963.ikeepincloud.com/2.jpg

3 When the promo code is applied boxbilling takes the 50% OFF the yearly pricing ONLY, not off the total pricing, the total here is messed up, it should be 40.62
http://public.40963.ikeepincloud.com/3.jpg

4 On the next step only, boxbilling gets it right and shows the correct price with the promo applied.
http://public.40963.ikeepincloud.com/4.jpg

On step 3, customer gets confused regarding the total pricing and might get a little scared.