[ic] express checkout sales tax display and calculation

havoc havoc at havoc.org
Thu Oct 5 07:54:05 EDT 2006

Still not working, but I've found some more stuff out.
1) The option to the country_select widget is "state_extra", not "state-extra" 
as stated in the CVS commit log.
2) The CVS code looks like the value of state_extra is not added to the 
<select> anyway, but I may just not understand it.

Maybe I'm just not understanding the way things function, but I don't see how 
it's possible for sales tax to ever be properly calculated in express 
checkout without a user account with the current codebase.

On Thursday 05 October 2006 05:22, havoc wrote:
> It does not work.  I had also tried extra='onChange="this.form.submit();"',
> and several other variants.
> I also tried upgrading code/Widget/country_select.widget from CVS ( see:
> http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/code/Widget/country_se
>lect.widget ) and using the state-extra attribute of the country_select
> widget but it didn't work at all and I had to revert back to the original
> from 5.4.1
> On Thursday 05 October 2006 00:25, David wrote:
> > > refresh the displayed sales tax in the shopping cart portion when the
> > > state is changed and prior to final order placement?
> >
> > I am not sure if it is still valid but previous versions used:
> > onChange="this.form.submit()"
> >
> > So the following might work ...
> > [display name=state type=state_select onChange="this.form.submit()"
> > value="[value state]"]


   - havoc

More information about the interchange-users mailing list