CyberCash SmartElement Reference
221
Order is Important
There are two requirements for proper ordering. First, the contracts must be
applied in the proper order, with the battery of 'Set' contracts being applied before
the 'submit' contract, which in turn have to be applied before the contracts to
respond to transaction results. This mimics the order requirements of processing a
transaction: gathering required data, submitting data to CyberCash, and getting
the response back.
Second, the order of basement SmartElements is important. The 'set' contracts get
data from a recordset or shopping cart element and set the property of the
CyberCash element. As such, the CyberCash element must come after the
interacting recordsets and/or shopping cart in the basement.
Shipping Calculations
The eStore Shipping contracts allow you to calculate and display shipping costs
for orders using a variety of methods. These include:
Simple flat rate shipping charges per item
Setting up your own shipping lookup tables
Incorporating shipping rate tables from various shipping carriers
Obtaining cost calculations from UPS
The strategy for managing shipping costs (as well as sales tax) has changed since
the original eStore release to overcome some problems noted by users.
The Shopping Cart has been extended to include shipping and sales tax properties
to hold those respective values. The contracts to calculate shipping costs involve
setting the shipping parameter of the Shopping Cart. Display of the shipping,
sales tax and grand total is accomplished by accessing the respective Shopping
Cart properties using several "replace token" contracts. This eliminates the need
for contracts in the previous release and makes it more convenient to display these
values in text elements (i.e. read only) as well as hidden form elements for
inserting into the order record.
DrumNote_510 provides examples of new methods available in eStore V2 for
calculating and capturing shipping costs. DrumNote_500, which was made
available between the two releases of eStore, demonstrates yet another approach
for shipping.
Known issues associated with using the UPS Shipping contrats are described at
the end of this document.
Summary of Contents for DRUMBEAT 2000 ECOMMERCE EDITION
Page 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Page 6: ...Contents 6 ...
Page 12: ...Introduction 12 ...
Page 90: ...Chapter 2 90 ...
Page 110: ...Chapter 3 110 ...
Page 124: ...Chapter 5 124 ...
Page 142: ...Chapter 7 142 ...
Page 152: ...Chapter 8 152 ...
Page 236: ...Chapter 10 236 ...