On This Page
Decimals and Strings
CyberSource uses decimal points in all amount and tax
rate fields; CyberSource does not use implied decimal points.
For example, if the amount of the product being purchased
is 29.95, set that field to
29.95
.For tax rates used with Level III transactions, you must include
a decimal point in the value. For example, if a tax rate is 1%,
set that field to
0.01
.For many of the fields described in this document, Visa and Mastercard
permit different lengths for alphanumeric (string) input. CyberSource
accepts any length you provide. If the value you provide is longer
than the payment card company permits, CyberSource truncates the
value, keeping the left-most portion of the value. If the value you
provide is shorter than the payment card company requires, CyberSource
pads the field before sending it to the processor.