CyberCash SmartElement Reference
235
Replace [token] in [target] with sales tax from [TaxRS] using
[ShoppingCart] total and state from [CustomerRS]
Note:
This contract was initially developed between the version 1 and version 2 releases of
eStore and is deprecated in favor of the version 2 contract "Set sales tax in [ShoppingCart] to
tax value from [TaxRS] using state from [CustomerRS]"
This contract replaces a token in an edit box with the sales tax for the customers
billing state. If the customer's billing state is in a state in which you are responsible
for sales tax, the tax will be calculated from the shopping cart total based on that
state's sales tax rate, otherwise, "0.00" will be displayed.
Because this is a server event, you can't get the value of the state directly from a
form element on the page, so you have to get the value from the recordset that
contains the customer's billing state.
The "MyStates" parameter represents the list of states in which you do business
and for which you are responsible for paying sales tax. This is a comma separated
list of state abbreviations. For example, if you have business locations in
California and Nevada, you would enter "CA, NV" for this parameter.
Note:
These calculations only assume the base state tax rates specified for 1999 at http://
www.taxadmin.com/fta/rate/sales.html. They do not take into account additional locality
sales taxes or sales taxes based for special items (such as food). You will have to update your
database to reflect changes in the rates.
Содержание DRUMBEAT 2000 ECOMMERCE EDITION
Страница 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Страница 6: ...Contents 6 ...
Страница 12: ...Introduction 12 ...
Страница 90: ...Chapter 2 90 ...
Страница 110: ...Chapter 3 110 ...
Страница 124: ...Chapter 5 124 ...
Страница 142: ...Chapter 7 142 ...
Страница 152: ...Chapter 8 152 ...
Страница 236: ...Chapter 10 236 ...